RE: Action handler problem.
Sorry Kedar, I have to agree with James. The developers list is for furthering the development of Struts itself (enhancement/bug discussions, etc.), the users list is for getting help to build your individual application. That being said, it sounds as if your mapping isn't being invoked correctly. For example, if your web-app is test and your mapping is /myAction then your form tag should be FORM ACTION=/test/myAction.do (this also assumes you've put the servlet mapping in your web.xml for *.do to map to the Struts ActionServlet). One of the best ways to test whether your perform method is invoked is to do a println statement first thing. If this does not solve the issue, please search the user list archives or post your question there. --- [EMAIL PROTECTED] wrote: I am sorry James, but I have to disagree with you here. I think this is a development problem since its nothing to do with any setup or configuration files but it is about developing an application in strusts. warm regards -- Kedar -Original Message- From: Struts Developers List [EMAIL PROTECTED] at Internet Sent: Friday, July 05, 2002 2:43 PM To: Struts Developers List [EMAIL PROTECTED] at Internet Subject: RE: Action handler problem. Kedar-- These types of question are best asked on the Struts Users mailing list. [EMAIL PROTECTED] -james [EMAIL PROTECTED] http://www.jamesholmes.com/struts/ --- Kedar Upadhye [EMAIL PROTECTED] wrote: Hello All, One simple question about the action handler class. I have a form here (.JSP file ) with one submit button. I have the action mapping in the Strust-config.xml file so that this JSP is connected to one action handler class. However when the project runs and the button is pressed , the action handler class's perform method is not called. What else I need to do to achieve this ? Is there any other setting ? My action class is derived from the Action class. Let me know if I am missing anything. warm regards -- Kedar -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Action handler problem.
I am sorry James, but I have to disagree with you here. I think this is a development problem since its nothing to do with any setup or configuration files but it is about developing an application in strusts. warm regards -- Kedar -Original Message- From: Struts Developers List [EMAIL PROTECTED] at Internet Sent: Friday, July 05, 2002 2:43 PM To: Struts Developers List [EMAIL PROTECTED] at Internet Subject: RE: Action handler problem. Kedar-- These types of question are best asked on the Struts Users mailing list. [EMAIL PROTECTED] -james [EMAIL PROTECTED] http://www.jamesholmes.com/struts/ --- Kedar Upadhye [EMAIL PROTECTED] wrote: Hello All, One simple question about the action handler class. I have a form here (.JSP file ) with one submit button. I have the action mapping in the Strust-config.xml file so that this JSP is connected to one action handler class. However when the project runs and the button is pressed , the action handler class's perform method is not called. What else I need to do to achieve this ? Is there any other setting ? My action class is derived from the Action class. Let me know if I am missing anything. warm regards -- Kedar -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Action handler problem.
On Mon, 8 Jul 2002 [EMAIL PROTECTED] wrote: Date: Mon, 8 Jul 2002 10:30:00 -0700 From: [EMAIL PROTECTED] Reply-To: Struts Developers List [EMAIL PROTECTED] To: Struts Developers List [EMAIL PROTECTED] Subject: RE: Action handler problem. I am sorry James, but I have to disagree with you here. I think this is a development problem since its nothing to do with any setup or configuration files but it is about developing an application in strusts. Kedar, This list is the place to participate in discussions about the development of the Struts framework itself. Questions such as yours, about *using* Struts, are off topic here, but are relevant on STRUTS-USER. Please see the background information on Jakarta mailing lists for more information about the purpose of each list: http://jakarta.apache.org/site/mail.html warm regards -- Kedar Craig McClanahan -Original Message- From: Struts Developers List [EMAIL PROTECTED] at Internet Sent: Friday, July 05, 2002 2:43 PM To: Struts Developers List [EMAIL PROTECTED] at Internet Subject: RE: Action handler problem. Kedar-- These types of question are best asked on the Struts Users mailing list. [EMAIL PROTECTED] -james [EMAIL PROTECTED] http://www.jamesholmes.com/struts/ --- Kedar Upadhye [EMAIL PROTECTED] wrote: Hello All, One simple question about the action handler class. I have a form here (.JSP file ) with one submit button. I have the action mapping in the Strust-config.xml file so that this JSP is connected to one action handler class. However when the project runs and the button is pressed , the action handler class's perform method is not called. What else I need to do to achieve this ? Is there any other setting ? My action class is derived from the Action class. Let me know if I am missing anything. warm regards -- Kedar -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Action handler problem.
You have to direct your form to the action, not to the jsp. The action then returns a forward to the jsp. Chris Book -Original Message- From: Kedar Upadhye [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 04, 2002 11:19 PM To: Struts developer list Subject: Action handler problem. Hello All, One simple question about the action handler class. I have a form here (.JSP file ) with one submit button. I have the action mapping in the Strust-config.xml file so that this JSP is connected to one action handler class. However when the project runs and the button is pressed , the action handler class's perform method is not called. What else I need to do to achieve this ? Is there any other setting ? My action class is derived from the Action class. Let me know if I am missing anything. warm regards -- Kedar -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Action handler problem.
Kedar-- These types of question are best asked on the Struts Users mailing list. [EMAIL PROTECTED] -james [EMAIL PROTECTED] http://www.jamesholmes.com/struts/ --- Kedar Upadhye [EMAIL PROTECTED] wrote: Hello All, One simple question about the action handler class. I have a form here (.JSP file ) with one submit button. I have the action mapping in the Strust-config.xml file so that this JSP is connected to one action handler class. However when the project runs and the button is pressed , the action handler class's perform method is not called. What else I need to do to achieve this ? Is there any other setting ? My action class is derived from the Action class. Let me know if I am missing anything. warm regards -- Kedar -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]