Well, I think you should be forwarding, so as to preserve request
contents...
You may have to write a filter... (also goes into web.xml )

a.m.



2006/1/30, Dave Newton <[EMAIL PROTECTED]>:
>
> Aleksandar Matijaca wrote:
> > 2006/1/29, Sun Shine <[EMAIL PROTECTED]>:
> >
> >> I'm rewriting an existing MVC project into Struts. I
> >> have to keep the existing servlet name e.g.
> >> 'fooServlet' available for 30 days. How can I support
> >> the new 'fooServlet.do' code and also support the old
> >> MVC code 'fooServlet'? (btw, I have to keep the
> >> fooServlet name for the rewrite).
> >>
> >> In Struts, do I have to use the "*.do"??
> >>
> What about redirecting (or forwarding, depending) the old URL to the new
> Struts-ish URL?
>
> Dave
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to