1.2 -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Benedict Sent: 10 September 2007 13:59 To: Struts Users Mailing List Subject: Re: Issue with c:import or jsp:include
What version of Struts? On 9/10/07, Jennie Moeller <[EMAIL PROTECTED]> wrote: > > Its definitely set on my action. > > If I just try to add any param it doesn't seem to work with > jsp:include > (jsp:param) or c:import (c:param) > > Thanks! > > -----Original Message----- > From: Ehteshamul Haque [mailto:[EMAIL PROTECTED] > Sent: 09 September 2007 10:43 > To: Struts Users Mailing List > Subject: Re: Issue with c:import or jsp:include > > > plz check > <action > path="/weather" > name="XXXXXXX" > scope="XXXXXXXX" > type="XXXXXXXXXXX" > parameter="dispatch" > validate=XXXXX"> > ...................................... > .................................................. > </action> > > Jennie Moeller <[EMAIL PROTECTED]> wrote: I have to include a > jsp page in my main jsp page. The include must first go to an action > which uses a dispatch. > > example: > > /weather.do?dispatch=display > > I can only seem to use the bean:include tag for this which we don't > want to use due to the behavior of the bean:include tag. > > I tried doing this: > > > > > > and also the same with jsp:include and jsp:param. In both cases I get > the following errors: > > Request[/weather] does not contain handler parameter named dispatch > > In my struts config I definately have a parameter defined as dispatch > (obviously since the bean:include does work for it). > > Its as if the c:param and jsp:param aren't actually putting the > dispatch=display onto the URL. > > I also tried with putting the dispatch=display on the url > (url="/weather.do?dispatch=display") and that didn't work either...I > always get the same error about missing dispatch parameters. > > Any ideas? > > Jennie > > > > This e-mail (and any attachments) is confidential and may contain > personal views which are not the views of the BBC unless specifically > stated. > If you have received it in error, please delete it from your system. > Do not use, copy or disclose the information in any way nor act in > reliance on it and notify the sender immediately. Please note that the > BBC monitors e-mails sent or received. > Further communication will signify your consent to this. > > > > --------------------------------- > Ready for the edge of your seat? Check out tonight's top picks on Yahoo! > TV. > > > This e-mail (and any attachments) is confidential and may contain > personal views which are not the views of the BBC unless specifically > stated. > If you have received it in error, please delete it from your system. > Do not use, copy or disclose the information in any way nor act in > reliance on it and notify the sender immediately. Please note that the > BBC monitors e-mails sent or received. > Further communication will signify your consent to this. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]