-
Problem with struts-config.xml (2 messages)
- Posted by: Amit Kanodia
- Posted on: November 23 2006 04:54 EST
Hi, I am new to struts, I have created a jsp page and trying to submit the data from the page to action servlet. But it is not executing the execute() method of ActionServlet. Can anyone please help me. I am providing my struts-config.xml entry. <!-- Data Sources --> <!-- Form Beans --> <!-- Global Exceptions --> <!-- Global Forwards --> <!-- <forward name="welcome" path="/Welcome.do"/> <forward name="logon" path="/Logon.do"/> --> <!-- Action Mappings --> <!-- Message Resources --> if I remove the input attribute from servlet-mapping it gives error that no input attribute defined. On giving this it remains on the same page. Thanking you in anticipation Amit KanodiaThreaded Messages (2)
- Re: Problem with struts-config.xml by umar ali on November 25 2006 01:08 EST
- Re: Problem with struts-config.xml by Amit Kanodia on November 27 2006 09:04 EST
-
Re: Problem with struts-config.xml[ Go to top ]
- Posted by: umar ali
- Posted on: November 25 2006 01:08 EST
- in response to Amit Kanodia
try changing the name of form bean to some other name. You are using the name that is same as class name -
Re: Problem with struts-config.xml[ Go to top ]
- Posted by: Amit Kanodia
- Posted on: November 27 2006 09:04 EST
- in response to umar ali
Thanks for your reply. But it is perfectly acceptable with the form-bean tag having any name to represent the bean. This is just to make the reference to the particular bean.