File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes struts very important question to me? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts very important question to me?" Watch "struts very important question to me?" New topic
Author

struts very important question to me?

sam dims
Greenhorn

Joined: Dec 01, 2008
Posts: 20
hi all,
as i am using struts, i have written loginactionform.java and loginaction.java
in which i have written the login mechanism but i have used loginaction extends dispatch action and written authenticate user
method to authenticate user from database.
but when i login on that page first time it validate correctly i logged with correct username and password i. but after that it take any username and password i have used request.getSession().invalidate(); method also but still it not working...
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
In order for us to help you with this, you'd need to post your code. Specifically, the JSP and Action class.


Merrill
Consultant, Sima Solutions
 
Consider Paul's rocket mass heater.
 
subject: struts very important question to me?