From: "Tom Holmes Jr." <[EMAIL PROTECTED]>
> What I want to happen is when this middle page is loaded, I want the
> form in the middle import <c:import url="myform.jsp"> to be
> automatically executed when the main default.jsp page loads.

Sounds like you shouldn't let them go to 'default.jsp' to begin with, you
should send them to myform.do, and have *that* forward to default.jsp.

That way, your Action code gets executed (which I assume is what you want to
happen) and then the form gets displayed.

If that doesn't help, please describe the problem you're trying to solve by
doing this, someone may have a different solution you can try.

It doesn't make sense to load a page and immediately submit the form... if
you're not going to give the user a chance to fill in the form before it
submits, you don't need to display it.

-- 
Wendy Smoak


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to