JSP Form Action to SELF
843838Aug 2 2005 — edited Aug 3 2005I 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.