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 application . in my applicaton i got an error regading form bean returns null (Exception) while executing it. Actually what i did i enter user id & password in to login page it works fine & got the result .now i add one button named logout ,i got the problem here ,i wnt to login. i gave the userid & password i got the error .what i did in my application i used </html:fom> wher it call anothe action class
my jsp code <html:submit value="login">Login</html:submit>
<html:form action="/Logout" method="post">
i did not write form bean.so can you please tell me if i use general from to call action, i tried that one also but when i clicked on button no event hasnotbeen occured . can you plese guide me regarding this
<input type="submit" name="submit" value="logout" onclick=logout()>