On Sunday 20 Nov 2005 10:36, hv @ Fashion Content wrote: > It is actually quite a common deployment strategy. > > You have Apache httpd server in front of Tomcat. The httpd server serves > several domains/hostnames. In this case 6. Each domain has a set of uri > rewrite rules that prefixes the uri with the context path and passes the > request on through the connector. So for instance on my site > > www.fashioncontent.com/Login.htm becomes /fc-portal/Login.htm when it > reaches Tomcat. > > If I deployed as root I would be forced to have 6 instances of Tomcat > running on the server.
You don't say what you are actually trying to do by getting a context path set to blank. It sounds like you want to get a URL that is not relative to the application but to the root. I went round this loop a few times, but by the time I came out the other end - I just write the thing myself. Some times I use the @Any component So <img jwcid="@Any" src="ognl:someString" />, and then implement someString in the components associated java -- Alan Chandler http://www.chandlerfamily.org.uk Open Source. It's the difference between trust and antitrust. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
