> -----Original Message-----
> From: Tom Holmes Jr. [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 09, 2004 4:33 PM
> To: Struts Users Mailing List
> Subject: Imports and Form Submits
> 
> 
> I have a webpage called 'default.jsp' and it has three 
> <c:import> tags.
> One does the header, footer, and body.  The Header and Footer 
> are fine, 
> but the middle page is a 'jsp' page with nothing but a form 
> in it ... I 
> mean it starts out like <html:form ...>
> It also has some taglibs designed, and a resource bundle.
> 
> 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.  
> The Header 
> and Footer work fine for importing HTML, but the form in the middle I 
> want to be run immediatley when the main page gets called.  
> Obviously, 
> submitting the form would called the ActionBean and that is 
> what I want 
> to happen.
> 
> I've tried having the middle import call the 'myform.do' file 
> directly, 
> but then I get a JasperException Error.

You mean something like <c:import url="/myApp/myform.do"/> ?


> 
> Is there any way to do this?  An easy way to do this?  Do I 
> need to do 
> Javascript and an 'onload' function or,
> 
> Any help would be much appreciated.   Thanks.
> 
>            Tom
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

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

Reply via email to