Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JSP Form Action to SELF

843838Aug 2 2005 — edited Aug 3 2005
I have a login form that I call on several pages. Most of which require a login before you can view the contents, but the page is still rendered with an "Please Login Message".

With that I want the login form to submit the login information to itself. So if someone attempts to login on the index.jsp page, the form will submit itself to index.jsp.

This can be done in php with: <form action='<? echo $_SERVER["PHP_SELF"]?>'>

Is there a JSP/JSTL equivalent? Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 31 2005
Added on Aug 2 2005
3 comments
698 views