Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Set Response Parameters to autosubmit j_security_check  RSS feed

Krem Reid
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!