This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
hi
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
sami pradh
Greenhorn
Joined: May 28, 2009
Posts: 2
posted
0
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