Thanks Wil. -----Original Message----- From: A mailing list for discussion about Sun Microsystem's Java Servlet API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Will Hartung Sent: Wednesday, July 31, 2002 5:16 PM To: [EMAIL PROTECTED] Subject: Re: Action Servlet??
From: "Wil Moore III" <[EMAIL PROTECTED]> Sent: Wednesday, July 31, 2002 3:49 PM Subject: Action Servlet?? > I wanted to create a web app that performs some action upon any file that is > called from the web server. > For instance: a user calls http://server/movies.htm > > Would it be possible to have a servlet take a specific action on movies.htm > instead of just having the web server display movies.htm? > > If so, how do I do this. If it is an application server or servlet container > specific thing, please let me know details on the one you know about. The proper way to do this is to use a Servlet Filter. Servlet Filters are described in the Servlet 2.3 spec, and are exactly what you are looking for. Any 2.3 compliant Servlet container will implement this. Regards, Will Hartung ([EMAIL PROTECTED]) ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html