action="" will do


"Sumeet Aggarwal , Gurgaon" wrote:

> Hi all,
>
> I want to post my JSP page back to the same page...i.e. the action part of
> the form would contain the URL of the same page in which it is used.
>
> <FORM NAME="XYZ" METHOD="POST" ACTION="self URL">
>
> Is there any attribute/ property available with in JSP which can return me
> the name of the page from which it is called, so that instead of hardcoding
> the page name we can simply use that attribute.
>
> Regards,
> Sumeet.
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to