This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
i am new to struts . in my application i faced a problem . i have login page .For this i have corresponding action class & action form .after successfully it shows the desired output. in my result scrren there is one logout button where i am calling Logout Action class without any actin form .after deploying it shows error saying form bean return null value. why this??? can any one explain . in struts config for logout class i am not mentiong any form bean name
In your jsp page, if you have a <html:form>, then, even if you haven't mentioned formbean name in action class declaration, struts will still expect a form bean. If you are sure you will not be using a form bean, then remove the <html:form>...</html:form> stuff from your jsp, and things will work alright
Joined: May 28, 2009
ya right Dawn Charangat
but i want to enter to another action class . so how can i do this without using <html:form>...</html:form>
please tell me