Easy:
1. Store your download files in a folder inside of WEB-INF which is
protected from /direct/ access by the client.
2. Grab a copy of the default servlet source and refactor it to your
package modding as necessary to your needs.
3. Register the servlet in your web.xml mapping to some request path
like /downloads/*
--David
hardc0d3r wrote:
i want to have a folder that will contain files that can be downloaded/saved
only by going through a servlet.. how can i do this? are there any tutorials
or links? thanks..
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]