tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sanu <write2s...@gmail.com>
Subject Re: Serving static content using embedded tomcat 7
Date Wed, 08 Feb 2012 08:40:14 GMT
Thank you. 

I just did that. Here's what I have :

StandardContext context = (StandardContext)
                tomcat.addContext(null, "", <path to the static resource
directory");

This doesn't seem to work.



--
View this message in context: http://tomcat.10.n6.nabble.com/Serving-static-content-using-embedded-tomcat-7-tp4375155p4375268.html
Sent from the Tomcat - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message