Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Performing Action after Login

Status
Not open for further replies.

rekenaar

Technical User
Feb 16, 2005
38
0
0
ZA
Hello.

I want to perform a specific action after a user logs in (I want to check if the user has logged in before, if not he needs to be directed to a page where he needs to change his password).

I am using JDBC Realm with Tomcat and FORM login.

It seems you can't make an .do action the welcome page?

When I try and make .do a welcome page (when I do it I just get a list of the files).

Is there a way to let to forward to a specific page (where an action is performed) after an user has successfully logged in?

Thanks in advance.
 
I think global-forward in struts-config can help. Use name such as "welcome" and path="/whatever-page-is-your-welcome-page.jsp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top