Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@apache.org Received: (qmail 20070 invoked from network); 10 Sep 2002 09:09:11 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 10 Sep 2002 09:09:11 -0000 Received: (qmail 9967 invoked by uid 97); 10 Sep 2002 09:09:44 -0000 Delivered-To: qmlist-jakarta-archive-struts-user@jakarta.apache.org Received: (qmail 9951 invoked by uid 97); 10 Sep 2002 09:09:43 -0000 Mailing-List: contact struts-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list struts-user@jakarta.apache.org Received: (qmail 9939 invoked by uid 98); 10 Sep 2002 09:09:43 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Reply-To: From: "Andrew Hill" To: "Struts Users Mailing List" Subject: RE: I am not able to call a method in the Action Class Date: Tue, 10 Sep 2002 17:10:04 +0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 In-Reply-To: Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi Sriram, What error message are you getting? You say you are calling the method from the onChange event, so I presume in the onChange you submit the form ,and then in a method of your action try to call this other method that doesnt work, OR is this method the one that is supposed to be invoked on submit (ie: one of your dispatch action 'execute' methods). In this case you need to ensure that the "method" parameter (the actual name of this parameter is defined in your struts-config.xml) is set correctly to the name of the method you are trying to call (by appending it to the action url or having it in a hidden form field), and that the signature of your method is the same as that of the execute method. -Andrew -----Original Message----- From: Sriram R [mailto:sriramr@sasken.com] Sent: Tuesday, September 10, 2002 16:42 To: struts-user@jakarta.apache.org Subject: I am not able to call a method in the Action Class Hi, I am not able to call a specific method in the Action class which extends DispatchAction I am geeting this problem only if i try to call the action class method using onChnage event of a dropdown. Even if i try invoking the the correct method the form values are not getting passed on to the action class. Any pointers as to how to do it. Regards Sriram R Regards Sriram -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: