This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Set Response Parameters to autosubmit j_security_check