Hi, you use the same action to render the welcome screen and Registrer.jsp.
So this means that when you display the welcome screen execute() is called and when you display the Registrer.jsp page.
Either use two separate actions or just return null in execute and have another action method (i.e. save()) which writes into the db. In the page with the submit button link to the action's save method. So execute is used for welcome and save for the registration.
Hope that helps, Joachim
Hi All, While developing an application in struts2 i am facing a strange problem with one of my action namely RegsitrationAction. i have a jsp page for user registration where there are certain fields for the user to be filled for the registration purpose. i have created a UserProfile bean class with the bean properties for all the user registration field.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]