Use POST instead of GET. --- Wil Moore III <[EMAIL PROTECTED]> wrote: > Bsically, http://server/myservlet?file=movies.htm is going to be equivalent > to what I want to do. However, I want it to look like > http://myhost/myservlet/movies.htm > > That answers my question perfectly. > > -Wil > > -----Original Message----- > From: A mailing list for discussion about Sun Microsystem's Java Servlet > API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Paul > Copeland > Sent: Thursday, August 01, 2002 5:08 PM > To: [EMAIL PROTECTED] > Subject: Re: Action Servlet?? > > > The "Extra Path" portion of the URL is intended for this kind of > requirement. Take a look at HttpServletRequest.getPathInfo(). You just > add your file name to the end of the servlet URL like - > > http://myhost/myservlet/movies.htm > > Actually perhaps the motivation for your requirement is unclear. If you > can add "/movies.htm" to the URL as shown in your example, why not just > have > > http://server/myservlet?file=movies.htm > > Paul Copeland, JOT Object Technologies -- http://www.jotobjects.com > > > > > Date: Wed, 31 Jul 2002 15:49:37 -0700 > > From: Wil Moore III <[EMAIL PROTECTED]> > > 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. > > > > -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 >
===== Mark Zawadzki Performance Engineer/DBA/Programmer extraordinaire�[EMAIL PROTECTED] [EMAIL PROTECTED]"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to build bigger and better idiots. So far, the universe is winningRobert Cringle (columnist, author, host of "Triumph of the Nerds") __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com ___________________________________________________________________________ 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
