Can you make that source available on the wiki, perhaps?

On Sun, 15 Dec 2002, Bill Lynch wrote:

> Erik,
>
> The current redirect action doesn't have anything built in for this. For my own
> project, I ended up just writing my own redirect action. It recognizes special
> tokens in the url like so:
>
> myaction.myview=redirect.action?url=something.jsp?foo={token}....
>
> You could have a token named {context-root} or something. Just make your
> redirect action implement ServletRequestAware and then you can get to the
> context root via the ServletRequest object.
>
> Regards,
> --Bill
>
> Erik Beeson wrote:
> > How would one redirect to the context root? Or any context relative
> > redirect for that matter.
> > myaction.myview=redirect.action?url=/
> > would redirect to the server root...
> >
> > --Erik
> >
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by:
> > With Great Power, Comes Great Responsibility
> > Learn to use your power at OSDN's High Performance Computing Channel
> > http://hpc.devchannel.org/
> > _______________________________________________
> > Opensymphony-webwork mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:
> With Great Power, Comes Great Responsibility
> Learn to use your power at OSDN's High Performance Computing Channel
> http://hpc.devchannel.org/
> _______________________________________________
> Opensymphony-webwork mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
>

---------------------------------------------------------
Joseph B. Ottinger                 [EMAIL PROTECTED]
http://enigmastation.com                    IT Consultant


-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to