You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Alex Colic <al...@pop-ware.com> on 2001/04/19 15:18:19 UTC

How to submit JSP to itself?

Hi,

How do you set-up the action property of a form tag if you want the JSP to
submit the form to itself?

When the user wants to go to the next page I have a next button that in its
onclick event I will set the forms.action property via JavaScript.

Thanks for any help.

Alex


Re: How to submit JSP to itself?

Posted by Peter Alfors <pe...@irista.com>.
Couldn't you use the full path?

/myApp/pages/myAction.do

Pete

Alex Colic wrote:

> Hi,
>
> How do you set-up the action property of a form tag if you want the JSP to
> submit the form to itself?
>
> When the user wants to go to the next page I have a next button that in its
> onclick event I will set the forms.action property via JavaScript.
>
> Thanks for any help.
>
> Alex