2012/2/8 sanu <write2s...@gmail.com>:
> 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.
>
>(...)


I would guess that you have not created nor mapped the DefaultServlet
instance in your context.

(In standalone Tomcat that mapping is done by conf/web.xml file that
is implicitly combined with every webapp's web.xml file.)

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

Reply via email to