Re: Question on conditionally changing action is html:form

2005-02-25 Thread Tim Christopher
Depending on what the two actions do it may be worth exploring the DispatchAction class. http://struts.apache.org/api/org/apache/struts/actions/DispatchAction.html Tim Christopher - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Question on conditionally changing action is html:form

2005-02-24 Thread vineesh . kumar
  try instead On Wed, 23 Feb 2005 Nandita Rajagopalan wrote : >I have the following piece of code : > > > ><% if (myform.getFlag()) { %> > > > ><% } else { %> > > > ><% } %> > > > >The above gives the error: > > > >Unterminated > > >There is a in my jsp- so not sur

Re: Question on conditionally changing action is html:form

2005-02-23 Thread João Vieira da Luz
Try to do this: action1 action2 I have the following piece of code : <% if (myform.getFlag()) { %> <% } else { %> <% } %> The above gives the error: Unterminated There is a in my jsp- so not sure what this error is about. If I remove the condition above , it works. Can anyone throw

RE: Question on conditionally changing action is html:form

2005-02-23 Thread Seyhan Basmaci
<% org.apache.struts.action.ActionMapping mapping = null; mapping = (org.apache.struts.action.ActionMapping) request.getAttribute("org.apache.struts.action.mapping.instance"); %> -Original Message- From: Nandita Rajagopalan [mailto:[EMAIL PROTECTED] Sent: Wednesday, F