Without Struts (sometimes even with it), I'd use either of the following in a JSP:
<jsp:forward page="urlSpec"/> or <jsp:forward page="urlSpec"> <jsp:param name="name" value="value"/> ... </jsp:forward> For servlet code, I'd probably go with RequestDispatcher.forward(ServletRequest request, ServletResponse response), using ServletRequest.getRequestDispatcher(String path) to get the dispatcher. Joe Barefoot wrote: > > Thank you, I had forgotten about that tag... > > b.t.w., the non-Struts way of forwarding (and retaining the request) is: > > JspFactory.getPageContext().forward( URL ); > > peace, > Joe > > > -----Original Message----- > > From: Martin Cooper [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, September 05, 2002 1:24 PM > > To: 'Struts Users Mailing List' > > Subject: RE: Call action from JSP > > > > > > How about: > > > > <logic:equal ...> <!-- or whatever test you need --> > > <logic:forward name="forward_name"/> > > </logic:equal> > > > > -- > > Martin Cooper > > > > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > > > Sent: Thursday, September 05, 2002 10:19 AM > > > To: [EMAIL PROTECTED] > > > Subject: Call action from JSP > > > > > > > > > Could someone help me on this code: > > > > > > In *.jsp: > > > > > > <% > > > if (condition satisfied) { > > > // how to fill this line to call an action, say > > invoke.do? > > > } > > > %> > > > > > > Thanks. > > > > > > > > > -- > > > To unsubscribe, e-mail: > > > <mailto:[EMAIL PROTECTED]> > > > For additional commands, e-mail: > > > <mailto:[EMAIL PROTECTED]> > > > > > > > > > > > > -- > > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- Kris Schneider <mailto:[EMAIL PROTECTED]> D.O.Tech <http://www.dotech.com/>
smime.p7s
Description: S/MIME Cryptographic Signature