Regarding the *.do, you can provide any mapping you want.  This is configured 
in the web.xml where you declare the struts servlet.  In particular, I know you 
can have any ending you like, or you can parse the requests by path rather than 
ending, e.g. /myserver/do/myaction

Regarding the old servlet, does supporting it mean only that the URL must still 
refer to the application for 30 days?  Or you actually need that other 
application running for 30 days?  

Regarding "MVC", as far as I know MVC is just a design pattern.  Struts 
implements this design pattern, more or less.  Is there another framework 
actually named MVC ?



 --- On Sun 01/29, Sun Shine < [EMAIL PROTECTED] > wrote:
From: Sun Shine [mailto: [EMAIL PROTECTED]
To: user@struts.apache.org
Date: Sun, 29 Jan 2006 17:44:42 -0800 (PST)
Subject: question: how to support both MVC and Struts?

Hi,I'm rewriting an existing MVC project into Struts. Ihave to keep the 
existing servlet name e.g.'fooServlet' available for 30 days. How can I 
supportthe new 'fooServlet.do' code and also support the oldMVC code 
'fooServlet'? (btw, I have to keep thefooServlet name for the rewrite).In 
Struts, do I have to use the "*.do"?? Appreciate any 
help!Thanks.__________________________________________________Do You 
Yahoo!?Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
---------------------------------------------------------------------To 
unsubscribe, e-mail: [EMAIL PROTECTED] additional commands, e-mail: [EMAIL 
PROTECTED]

_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to