Virtual hosting with tomcat

J

Jayant patil

i want to host two websites using Tomcat 5.5.7
one website will serve static web pages while other will use Java and
Jsp.
I wish static webpages website will server through port 80 while other
will be using
url like "http://jspsite.com (Virtual Hosting)
How can i do the Virtual hosting with Tomcat 5.5.7. I donot wish to
use Apache or IIS either , only Tomcat.
Regards
 
R

Rhino

Jayant patil said:
i want to host two websites using Tomcat 5.5.7
one website will serve static web pages while other will use Java and
Jsp.
I wish static webpages website will server through port 80 while other
will be using
url like "http://jspsite.com (Virtual Hosting)
How can i do the Virtual hosting with Tomcat 5.5.7. I donot wish to
use Apache or IIS either , only Tomcat.

This is not really a Java question, it is a Tomcat question. Have you
considered posting this question on the Tomcat mailing list? You can
subscribe here: http://jakarta.apache.org/site/mail2.html#Tomcat

Rhino
 
G

ge0rge

Jayant patil said:
i want to host two websites using Tomcat 5.5.7
one website will serve static web pages while other will use Java and
Jsp.
I wish static webpages website will server through port 80 while other
will be using
url like "http://jspsite.com (Virtual Hosting)
How can i do the Virtual hosting with Tomcat 5.5.7. I donot wish to
use Apache or IIS either , only Tomcat.


Why?? Apache is THE http server and you prefer a JSP/Servlet engine to serve
http ?!
You are throwing performance, scalability, security, full http compliance out of
the window in one decision and if Tomcat does virtual hosting, it would be a
kludge - nowhere near what you could achieve much more easily with Apache.
 
J

Jayant patil

Yes I know that the combination of Tomcat with Apache or IIS will
yield better result.. but this i want to do the evaluataion of
performance in different web hosting conditions.( for Study/project
report purpose).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,019
Latest member
RoxannaSta

Latest Threads

Top