Malcolm Gorman wrote:
I've Googled on this and read the Tomcat FAQs and even JBoss FAQs on serving
static content from Tomcat. All of them say it's slow and you wouldn't
want to do it,

The Tomcat performance FAQ certainly does not say that. Try reading it again.
http://wiki.apache.org/tomcat/FAQ/Performance_and_Monitoring

The closest I've found to a technique for serving static content from
Tomcat is at:

Just put the content in the webapp - just like you would for a jsp.

So, if you have (with a default install):
$CATALINA_HOME/webapps
                /myApp
                  /dynamic.jsp
                  /static.html

You would use the following URLs:
http://localhost:8080/myApp/dynamic.jsp
http://localhost:8080/myApp/static.html

Adjust as necessary for your appBase, domain, port, appname etc.

Mark


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to