Re: Mutil URL access to a struts application

2003-06-05 Thread jbaker
One approach is to create separate action mappings for /init /foo/init /foo/init2 all of which forward to the same action class, and then decode the mapping in the action to determine what to do. E.g., String path = mapping.getPath(); if (path.equals(/init.do) { } else { Joe Baker

RE: Mutil URL access to a struts application

2003-06-05 Thread Bailey, Shane C.
I looked at that the other day because I wanted to do something like: servlet-mapping servlet-nameaction/servlet-name url-pattern*.do/url-pattern /servlet-mapping servlet-mapping servlet-nameaction/servlet-name url-pattern*.jsp/url-pattern /servlet-mapping and in my controller

Re: Mutil URL access to a struts application

2003-06-05 Thread Max Cooper
Deploy three different instances of your app, one instance at each of these context paths: /APP /APP/foo /APP/foo2 -Max - Original Message - From: Laurent Garcia [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 8:03 AM Subject: Mutil URL access to a struts