getPathInfo() http://java.sun.com/j2ee/sdk_1.2.1/techdocs/api/javax/servlet/http/HttpServl etRequest.html#getPathInfo()
getRequestURI() http://java.sun.com/j2ee/sdk_1.2.1/techdocs/api/javax/servlet/http/HttpServl etRequest.html#getRequestURI() -----Original Message----- From: Lung Chan [mailto:[EMAIL PROTECTED] Sent: Sunday, September 24, 2006 10:18 PM To: Tomcat Users List Subject: Re: ASP.NET HttpHandler in Tomcat?! You are Right tim much easier, but how do you know from which url that the request have been send? which object give you this kinda information? On 9/24/06, Tim Lucia <[EMAIL PROTECTED]> wrote: > > Or you can simply map all the file extension URLs to the servlet of your > choice. A framework is *not* required. Google for "servlet-mapping". > > Tim > > > -----Original Message----- > From: Lung Chan [mailto:[EMAIL PROTECTED] > Sent: Sunday, September 24, 2006 10:09 AM > To: Tomcat Users List > Subject: Re: ASP.NET HttpHandler in Tomcat?! > > There's a lot of framework that do just that. > > Try spring framework > www.springframework.org, there's a tutorial in the site that introduced > spring MVC > > You will be very happy after > > On 9/24/06, nubie <[EMAIL PROTECTED]> wrote: > > > > > > Hi, > > I'm sorry to bother you all, but I need to know is there a way to > setup > > an > > ASP.NET HttpHandler-like servlet or something similar on Tomcat 5.x?! > > I'd basically just like to have all of the same file extension > requests > > to > > be processed with just one servlet?! Is that at all possible!? > > I realize that must be a trivial thing to an experienced Tomcat user > > (I'm > > a n00b, sorry!? :( ) but I tried searching for "HttpHandler equivalent > on > > Tomcat" and came up with nothing concrete?! Any place with a sample to > > explain how that can easily be configured on Tomcat would greatly be > > appreciated! > > TIA > > -- > > View this message in context: > > > > http://www.nabble.com/ASP.NET-HttpHandler-in-Tomcat-%21-tf2326374.html#a6472 > 113 > > Sent from the Tomcat - User mailing list archive at Nabble.com. > > > > > > --------------------------------------------------------------------- > > To start a new topic, e-mail: [email protected] > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > --------------------------------------------------------------------- > To start a new topic, e-mail: [email protected] > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To start a new topic, e-mail: [email protected] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
