In my opinion you have several choiches:
- map a filter / servlet ON the url that cover the folder containing the
files 
Or 
- map a struts action on that url
In the filter / action you can process the request as you want.


-----Original Message-----
From: Duncan [mailto:[EMAIL PROTECTED] 
Sent: 31 octombrie 2003 18:02
To: Tomcat Users List
Subject: Virtual Files


Don't know if this is possible with tomcat but;

I need people to be able to request virtual files in a directory of a
web application.

As in:  A user would request a file (which doesn't exist). This would
call a jsp page which would return output based on the name of the file
requested, but the user would still see the filename as the one which
they originally requested.

I thought that perhaps changing the 404 error page to my jsp file may
work, but is it possible to set the 404 error page for just one
directory? I would prefer a differant method if there is one.

Thanks for any help anyone can give.

Duncan Smith
Decker Telecom Ltd




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to