On Thu, 11 Nov 2004 08:14:12 -0500, John Vincent
<[EMAIL PROTECTED]> wrote:
>  Need one Struts app, but must have multiple URLs.
> 
> Thus
> http://www.jv.com/company1
> http://www.jv.com/company2

Why not just configure your servlet container to treat both context
paths as the same app?  For example, in Tomcat, you can create two
<Context> elements with different paths but the same document base
directory.

> 
> actually start the same Struts app, say
> 
> http://www.jv.com/myApp
> 
> but must "pass" something into the Struts app so that it knows who, or
> rather, which URL invoked it.
> 

The request.getContextPath() method would tell your application which
way it was invoked.

Craig

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

Reply via email to