This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Struts and the fly likes Set Response Parameters to autosubmit j_security_check Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Set Response Parameters to autosubmit j_security_check" Watch "Set Response Parameters to autosubmit j_security_check" New topic
Author

Set Response Parameters to autosubmit j_security_check

Krem Reid
Greenhorn

Joined: Sep 07, 2009
Posts: 28
I'm not sure if this is the write place to post but lets seem

I have a struts2 application which is using Tomcat Realm Security model.

Normal operations work fine and security is great. The one thing I can't work out is how to automatically log a user in as they register.

I have an action called registration.action - once completed it forwards to another action.
In between this action the Realm Security pops up login.jsp
It seems it doesn't have access to the properties set in the Registration.Action.

Any idea how to pass the parameters along so I can automatically log in the user?


Backlink Service - High PageRank Backlinks to have you flying up through the SERP
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Set Response Parameters to autosubmit j_security_check