You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by henry human <he...@yahoo.de> on 2009/03/08 16:36:40 UTC
download a file inside WEB-INF use its URL on server
Hi
I am using tomcat 6. I have a XSD file in the WEB-INF/xsds directory inside my web application on tomcat.
I am trying to download a xsd file as follow:
http://myServer:5200/MyWebApplication/xsds/cusomer.xsd Unfortunatelly it dows not work!!!?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: download a file inside WEB-INF use its URL on server
Posted by André Warnier <aw...@ice-sa.com>.
henry human wrote:
> Hi
> I am using tomcat 6. I have a XSD file in the WEB-INF/xsds directory inside my web application on tomcat.
> I am trying to download a xsd file as follow:
> http://myServer:5200/MyWebApplication/xsds/cusomer.xsd Unfortunatelly it dows not work!!!?
>
It always helps when you specify *how* it does not work.
And are you sure that "cusomer.xsd" above should not be "customer.xsd" ?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: download a file inside WEB-INF use its URL on server
Posted by David Smith <dn...@cornell.edu>.
That's on purpose. Clients cannot directly access anything inside the
WEB-INF folder. Your best solution is to move the file outside it.
-- David
On Mar 8, 2009, at 11:36 AM, henry human <he...@yahoo.de> wrote:
>
> Hi
> I am using tomcat 6. I have a XSD file in the WEB-INF/xsds directory
> inside my web application on tomcat.
> I am trying to download a xsd file as follow:
> http://myServer:5200/MyWebApplication/xsds/cusomer.xsd
> Unfortunatelly it dows not work!!!?
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org