RE: servlet URL

2003-02-07 Thread Ron Day
Will, How can you resist ? -Original Message- From: Steve Burrus [mailto:[EMAIL PROTECTED]] Sent: Friday, February 07, 2003 2:28 PM To: Tomcat Users List Subject: Re: servlet URL will, this has NOTHING to do with what you responded to, i.e., whatever problem some Tomcat user had, but

Re: servlet URL

2003-02-07 Thread Steve Burrus
will, this has NOTHING to do with what you responded to, i.e., whatever problem some Tomcat user had, but I was honestly wondering why you haven't seen fit to respond back to my email to u some time ago, like some 10 days to 2 weeks ago?!! Don't you respect me enough to respond back to my rath

Re: servlet URL

2003-02-07 Thread Sean Dockery
; - Original Message - > From: "Sean Dockery" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, February 07, 2003 11:05 AM > Subject: Re: servlet URL > > > > HttpServlet.getServletName() would seem like the logical choice. > &

Re: servlet URL

2003-02-07 Thread Will Hartung
> To: <[EMAIL PROTECTED]> Sent: Friday, February 07, 2003 11:05 AM Subject: Re: servlet URL > HttpServlet.getServletName() would seem like the logical choice. > -- > Sean Dockery > [EMAIL PROTECTED] > Certified Java Web Component Developer > Certified Delphi Programmer > S

Re: servlet URL

2003-02-07 Thread Sean Dockery
HttpServlet.getServletName() would seem like the logical choice. -- Sean Dockery [EMAIL PROTECTED] Certified Java Web Component Developer Certified Delphi Programmer SBD Consultants http://www.sbdconsultants.com "Felipe Schnack" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL

Re: servlet URL

2003-02-07 Thread Erik Price
Felipe Schnack wrote: Sorry, context-parameter? But then I wouldn't have (again) my servlet's URL written in two different places? This kind of thing worries me, because somebody can change in one place but not on another. You're right, this kind of data redundancy can be dangerous, and ther

Re: servlet URL

2003-02-07 Thread Will Hartung
rom: "Felipe Schnack" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Friday, February 07, 2003 11:21 AM Subject: RE: servlet URL Yes, I know it's a singleton... but you mean I should have another config file specifying my servlet's

RE: servlet URL

2003-02-07 Thread Craig R. McClanahan
On Fri, 7 Feb 2003, Felipe Schnack wrote: > Date: 07 Feb 2003 17:11:03 -0200 > From: Felipe Schnack <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: RE: servlet URL > > I&#x

Re: servlet URL

2003-02-07 Thread Felipe Schnack
Sorry, context-parameter? But then I wouldn't have (again) my servlet's URL written in two different places? This kind of thing worries me, because somebody can change in one place but not on another. I think I can understand the HttpServletRequest way of doing it... but then I could only deter

RE: servlet URL

2003-02-07 Thread Felipe Schnack
ilto:[EMAIL PROTECTED]] > Sent: Friday, February 07, 2003 11:11 AM > To: Tomcat Users List > Subject: RE: servlet URL > > > I'm writing a servlet that requires to be a Singleton (much like > Struts' servlet), and I have some other objects that need to know the > URL

Re: servlet URL

2003-02-07 Thread Erik Price
Felipe Schnack wrote: I'm writing a servlet that requires to be a Singleton (much like Struts' servlet), and I have some other objects that need to know the URL of this Servlet to make some redirects to it... so I need this servlet to have a method that return its URL, as in web.xml Presumab

RE: servlet URL

2003-02-07 Thread Filip Hanik
tance." so by default the servlet is a singleton. and for the other objects, give them the url through a config file Filip -Original Message- From: Felipe Schnack [mailto:[EMAIL PROTECTED]] Sent: Friday, February 07, 2003 11:11 AM To: Tomcat Users List Subject: RE: servlet URL I&#

RE: servlet URL

2003-02-07 Thread Felipe Schnack
I'm writing a servlet that requires to be a Singleton (much like Struts' servlet), and I have some other objects that need to know the URL of this Servlet to make some redirects to it... so I need this servlet to have a method that return its URL, as in web.xml I can get this from HttpServletRe

RE: servlet URL

2003-02-07 Thread Filip Hanik
take a look at the javax.servlet.http.HttpServletRequest API, it has a bunch of methods that you can use to retrieve all kinds of info about the request. but if you mean how do you retrieve the info that is in web.xml for your particular servlet, give us the scenario where you would like this in

Re: servlet url at init time

2002-02-01 Thread Craig R. McClanahan
On Fri, 1 Feb 2002 [EMAIL PROTECTED] wrote: > Date: Fri, 1 Feb 2002 17:13:07 +0100 > From: [EMAIL PROTECTED] > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: servlet url at init time > > > Hello all, > > I would like to know the URL of a servlet _in its init

Re: servlet url mapping problems

2000-11-21 Thread Kurt Bernhard Pruenner
Yin Tse wrote: > http://locahost/foo/servlet/myServlet will work > but http://locahost/foo/servlet/myGod won't work. Try http://localhost/foo/myGod ... I don't see no "/servlet" in your servlet-mapping -- Kurt Bernhard Pruenner --- Haendelstrasse 17 --- 4020 Linz --- Austria Music: http://