Jennie, definitely put Struts into your debugger and figure out if the parameter is attached to the request. Sometimes error messages are telling the truth -- there is no parameter really in the request.
Let me know what you find. Paul On 9/6/07, 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: > > <c:import url="/weather.do"> > <c:param name="dispatch" value="name" /> > </c:import> > > 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. >