any static file in your WAR can be accessed thru a URL

eg.   the file.png in the root directory in you site.war can be accessed
thru http://localhost:8080/site/file.png





On Fri, Jun 20, 2008 at 7:49 PM, Vinay Chilakamarri <
[EMAIL PROTECTED]> wrote:

> Hi,
> >
> > I want to send a response(which is basically a file on the disk) to a
> > specific URL pattern. While I know that we could do this using directives
> in
> > Apache HTTPD, I am not sure how to do this on Tomcat. I could see that we
> > can map Servlets to a URL pattern. Is there a way that we can map a file
> > directly like this, without having to write a servlet as such?
> >
> > Thanks.
> >
>



-- 
Regards, Youssef

Reply via email to