I see the logic in this, however, that is way too inflexible a way to do it, as it won't always be html files. I want this to work for xml, html, etc...
-Wil -----Original Message----- From: A mailing list for discussion about Sun Microsystem's Java Servlet API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Gardner Monte Sent: Wednesday, July 31, 2002 4:23 PM To: [EMAIL PROTECTED] Subject: Re: Action Servlet?? An easy, but perhaps less flexible way to do this, atleast for HTML files, is to write all your html files as .jsp files, and call the same method in each of those .jsp files. --Monte Glenn Gardner On Wed, 31 Jul 2002, Wil Moore III wrote: > 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. > > > -Wil > > ___________________________________________________________________________ > 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 ___________________________________________________________________________ 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