Is it a problem to map 2 servlet mappings to the Struts controller
servlet...

For example, I could think of a situation where someone would want to use
different naming schemes so the customers will be less lost:

For Shopping:
*/doShopping/*

For Checkout:
*/doCheckout/*

However, obviously, in reality both of these would be processed by the
Struts controller servlet.

Would this set up present a problem? (It shouldn't, but I am just want to
make sure for the future.)

Thanks,
Yaakov.

-----Original Message-----
From: David G. Friedman [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 11, 2004 10:52 PM
To: Struts Users Mailing List; Koon Yue Lam
Subject: RE: About *.do

See section 5.4.1 and 5.4.2 on the Struts site for how to map your action
path such as "/login" to be either "/login.do" or "/do/login" on
http://struts.apache.org/userGuide/configuration.html

Again, the do (/do/* or *.do) part is customizable.  Some people posted
about messing with people's heads by mapping every action to *.aspx instead
of *.do to mess with their boss' head. :)

Regards,
David

-----Original Message-----
From: Koon Yue Lam [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 11, 2004 10:42 PM
To: Struts Users Mailing List
Subject: Re: About *.do


so I need to map all actions of my webapp?
something like
/login map to /login.do ???

Regards

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