jQuery in Action, 2nd edition
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 Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts very important question to me?" Watch "struts very important question to me?" New topic

struts very important question to me?

sam dims

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.

Consultant, Sima Solutions
I agree. Here's the link: http://kickstarter.com/rocket-mass-heater
subject: struts very important question to me?