Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Once logged in using J2EE's big 4 (security)...where does it go?

 
Marcelo Ortega
Ranch Hand
Posts: 528
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm using:
<login-config>
<auth-method>FORM</auth-method>
<form-login-config>..</..>
</..>

to log the user in with the typical j_security_check and such....

But once the user has been authenticated, how can i tell the container where to go, because for now it's going to the images folder...?
 
Marcelo Ortega
Ranch Hand
Posts: 528
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Never mind, i got it. Simply put an onSubmit attribute in the form.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic