You're right. Thanks. I'll give that a try.

> 
> 
> 
> That makes sense, but how would I do that? These parameters 
> are not part of
> a form.

request.setAttribute( "page", page);

Forms have nothing to do with putting things into request, session or
application scope.


> 
> > 
> > I would like to use a tile definition in an action forward 
> > with request
> > parameters. I have an Action that takes a forward mapped in 
> the Action
> > definition and supplies it with parameters by appending it to 
> > the path and
> > then creating a new ActionForward with the supplied 
> > parameters. I can't use
> > something like this for some reason:
> > 
> > <action
> >     ...
> >     <forward name="list" path=".apps.list"/>
> > </action>
> > 
> > where .apps.list is defined in my tiles-defs.xml.
> > 
> > And then in my Action class I try to do this:
> > 
> >         forward = mapping.findForward( "list" );
> >         path = new StringBuffer( forward.getPath() );
> >         path.append( "?page=" + page );
> >         path.append( "&total=" + total );
> >         return new ActionForward( path.toString() );
> > 
> > The RequestProcessor tries to do the forward and it can't 
> > because the URL is
> > invalid. Why isn't the Tiles Action servlet catching this 
> and make the
> > correct substitution?
> 
> Because, you're not giving it a tiles definition, you're 
> giving it a url.
> Why not just put whatever you're trying to put in the path in 
> request scope?
> 
> 
> 
> ---------------------------------------------------------------------
> 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]
> 
> 

---------------------------------------------------------------------
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