Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
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


Win a copy of The Software Craftsman this week in the Agile forum!
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
 
Have you tried LearnNowOnline? http://www.learnnowonline.com/
 
subject: struts very important question to me?