On Friday 15 November 2002 22:17, Turoff, Steve wrote:
> I currently have a Tomcat (v 3.2.3) - Apache (v 1.3.19) - Red-Hat web site,
> www.siteA.com, that consists of several hundred jsp pages and several
> servlets. I want to create a second web site, www.siteB.com, that uses the
> same content, but has a different look-and-feel. 

Use <alias> inside your server.xml <host> part to point the two domains to the
same webapp.
Use request.getServerName() in your JSP files to point to a different CSS 
file.

Regards,
Cees.

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to