Re: getPathInfo behaviour changed in tomcat 5.x?

2003-12-19 Thread Remy Maucherat
Bill Barker wrote: I haven't profiled it, but according to Remy (who did most of the work, with a bit of help from me and Tim), yes ;-). Well, let's say the profile is hotspot free. The performance of the HTTP stack is equivalent to that of 4.1.29 (not surprising, it's now the same), but will hav

Re: getPathInfo behaviour changed in tomcat 5.x?

2003-12-17 Thread Bill Barker
tics >-Original Message- >From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker >Sent: Tuesday, December 16, 2003 11:31 PM >To: [EMAIL PROTECTED] >Subject: Re: getPathInfo behaviour changed in tomcat 5.x? > >Actually, we did completely rewrite this particular "

RE: getPathInfo behaviour changed in tomcat 5.x?

2003-12-17 Thread Shapira, Yoav
Howdy, Did we gain much performance? ;) Yoav Shapira Millennium ChemInformatics >-Original Message- >From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker >Sent: Tuesday, December 16, 2003 11:31 PM >To: [EMAIL PROTECTED] >Subject: Re: getPathInfo behaviour change

Re: getPathInfo behaviour changed in tomcat 5.x?

2003-12-16 Thread Bill Barker
December 15, 2003 8:38 AM >To: '[EMAIL PROTECTED]' >Subject: getPathInfo behaviour changed in tomcat 5.x? > > >Hi everyone, > >I have an app running in Tomcat 4.1.x which I moved over to Tomcat 5. I >noticed >that the return results I was getting when call

RE: getPathInfo behaviour changed in tomcat 5.x?

2003-12-15 Thread Shapira, Yoav
M >To: 'Tomcat Users List' >Subject: RE: getPathInfo behaviour changed in tomcat 5.x? > >No dont think so, unless I got this completely backwards of course ;) This >is from the J2EE API: > >"Returns any extra path information associated with the URL the clie

RE: getPathInfo behaviour changed in tomcat 5.x?

2003-12-15 Thread Yiannis Mavroukakis
ethod returns null if there was no extra path information." Yiannis. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: 15 December 2003 14:00 To: Tomcat Users List Subject: RE: getPathInfo behaviour changed in tomcat 5.x? Howdy, Isn't getPathInfo supposed to

RE: getPathInfo behaviour changed in tomcat 5.x?

2003-12-15 Thread Shapira, Yoav
Howdy, Isn't getPathInfo supposed to always return a string starting with /? Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Yiannis Mavroukakis [mailto:[EMAIL PROTECTED] >Sent: Monday, December 15, 2003 8:58 AM >To: 'Tomcat Users List'

RE: getPathInfo behaviour changed in tomcat 5.x?

2003-12-15 Thread Yiannis Mavroukakis
Hmm not quite but it could be related. I noticed that getPathInfo returned "/" instead of null when there where no parameters present, which is part of the issue I am facing... -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: 15 December 2003 13:45 To: Tomcat

Re: getPathInfo behaviour changed in tomcat 5.x?

2003-12-15 Thread Tim Funk
Is this it? http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25015 -Tim Yiannis Mavroukakis wrote: Hi everyone, I have an app running in Tomcat 4.1.x which I moved over to Tomcat 5. I noticed that the return results I was getting when calling getPathInfo() where different between the two server

RE: getPathInfo behaviour changed in tomcat 5.x?

2003-12-15 Thread Shapira, Yoav
MAIL PROTECTED] >Sent: Monday, December 15, 2003 8:38 AM >To: '[EMAIL PROTECTED]' >Subject: getPathInfo behaviour changed in tomcat 5.x? > > >Hi everyone, > >I have an app running in Tomcat 4.1.x which I moved over to Tomcat 5. I >noticed >that the return resu

getPathInfo behaviour changed in tomcat 5.x?

2003-12-15 Thread Yiannis Mavroukakis
Hi everyone, I have an app running in Tomcat 4.1.x which I moved over to Tomcat 5. I noticed that the return results I was getting when calling getPathInfo() where different between the two server versions. Does anyone know whether the implementation changed? Cheers, Yiannis

Re: HttpServletRequest getPathInfo() decodes incorrectly?

2003-01-20 Thread Andreas Anderson
> >Again, I'm not sure if this is the problem you're having. Good luck, >and if you get a chance I'd be curious if this worked. > > >Andreas Anderson wrote: > >>HttpServletRequest getPathInfo() decodes incorrectly? >> >>I'm trying

Re: HttpServletRequest getPathInfo() decodes incorrectly?

2003-01-20 Thread Scott Dunbar
27; know what to do with them. ISO8859-1 had a valid translation for all characters. Again, I'm not sure if this is the problem you're having. Good luck, and if you get a chance I'd be curious if this worked. Andreas Anderson wrote: HttpServletRequest getPathIn

HttpServletRequest getPathInfo() doesn't decode properly?

2003-01-20 Thread Andreas Anderson
I can't get Tomcat 4.1.18 to decode path info Correctly. This works fine with Tomcat 4.0.6. I'm running Tomcat with JDK 1.4.1 on Win2K. Here is an example: public class TestServlet extends HttpServlet { public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletExc

HttpServletRequest getPathInfo() decodes incorrectly?

2003-01-20 Thread Andreas Anderson
HttpServletRequest getPathInfo() decodes incorrectly? I'm trying out Tomcat 4.1.18. HttpServletRequest doesn't decode path info like it does with Tomcat 4.0.6. I'm running Tomcat on JDk 1.4.1 and Win2K. When I invoke the follwing servlet with http://localhost:8080/test/Test

getPathInfo

2002-11-15 Thread Luise Massimo
Hi all, i'm trying to use request.getPathInfo from a servlet but it always return null. the strange thing is this: if i use the Invoker servlet, getPathInfo return information as espected !!! my configuration is the following: tomcat 4.0.4 apache 1.3.26 i'm using mod_jk. with a m

Antw: RE: Bug in Tomcat 3.3.1 with getPathInfo() ?

2002-04-11 Thread Olaf Vetter
as '/Hit+Run' or '/Hit%2BRun'. The path would have to be '/Hit%20Run' for getPathInfo() to return '/Hit Run' on Tomcat 3.3.1. Cheers, Larry -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>

RE: Bug in Tomcat 3.3.1 with getPathInfo() ?

2002-04-10 Thread Larry Isaacs
I think if request.getPathInfo() returns '/Hit+Run', then the path info was '/Hit+Run' or '/Hit%2BRun'. The path would have to be '/Hit%20Run' for getPathInfo() to return '/Hit Run' on Tomcat 3.3.1. Cheers, Larry > -Original Mess

RE: Bug in Tomcat 3.3.1 with getPathInfo() ?

2002-04-10 Thread Olaf Vetter
OK. But now, is there any way to distinguish between a '+' that results from encoding '%2B' and a '+' that stands for ' ' ? In other words, if request.getPathInfo() returns '/Hit+Run' , this could be '/Hit+Run' or '/Hit Run' ... Olaf >>> [EMAIL PROTECTED] 10.04.2002 17:07 >>> According to RFC2

RE: Bug in Tomcat 3.3.1 with getPathInfo() ?

2002-04-10 Thread Larry Isaacs
Message- > From: Olaf Vetter [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, April 10, 2002 10:40 AM > To: [EMAIL PROTECTED] > Subject: Bug in Tomcat 3.3.1 with getPathInfo() ? > > > As far as I understand, calling request.getPathInfo() should > return an encoded string.

Bug in Tomcat 3.3.1 with getPathInfo() ?

2002-04-10 Thread Olaf Vetter
As far as I understand, calling request.getPathInfo() should return an encoded string. With Tomcat 3.3.1, it returns the plus sign instead of encoding it to a space. (Besides, it works "ok" with Tomcat 3.2X) Is this a bug or intended? Thanks in advance Olaf Vetter -- To unsubscribe:

Re: Tomcat 3.2.3. getPathInfo() escape problem

2001-08-13 Thread Ross Inglis
- Original Message - From: Craig R. McClanahan <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; Ross Inglis <[EMAIL PROTECTED]> Sent: Monday, August 13, 2001 6:03 AM Subject: Re: Tomcat 3.2.3. getPathInfo() escape problem > On Sun, 12 Aug 2001, Ross Inglis wrote: >

Re: Tomcat 3.2.3. getPathInfo() escape problem

2001-08-12 Thread Craig R. McClanahan
On Sun, 12 Aug 2001, Ross Inglis wrote: > > For the record I tried Tomcat 4.0b7. I can confirm that it does not have the > problem demonstrated by the RequestInfoExample servlet as above, but other > problems (a null pointer exception somewhere in my cookie code) stopped me > from testing it wit

RE: Tomcat 3.2.3. getPathInfo() escape problem

2001-08-10 Thread Larry Isaacs
> -Original Message- > From: Ross Inglis [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 10, 2001 1:06 PM > To: [EMAIL PROTECTED] > Subject: Tomcat 3.2.3. getPathInfo() escape problem > > > Hi All. > > I recently decided it was time to upgrade my serv

Tomcat 3.2.3. getPathInfo() escape problem

2001-08-10 Thread Ross Inglis
;file/path/file.xyz". This all worked just fine until ServletA found a file named "file/path/broken+.xyz" and generated a URL with a '+' sign in it.. ServletB calls getPathInfo() on this and gets "file/path/broken .xyz" (+ replaced by space). OK. No problem I tho

getContextPath, getServletPath, getPathInfo return values

2001-04-30 Thread Lu, Spencer
Hi, I'm running Tomcat 3.2.1 on Windows NT. In my server.xml I have defined a Context for my web app and the path is set to "/". In my web.xml my servlet maps to "/*". In my servlet I make calls to getContextPath(), getServletPath(), and getPathInfo(). When I acc

Re: getPathInfo()

2001-03-31 Thread Craig R. McClanahan
> > > TWAUTHID > /twauthid > > > so in the twauthid servlet getPathInfo() returns null. > > Do I have to do something different with the url-pattern if I want to use > getPathInfor()? > > > TIA, Keith > You will want to use a serv

RE: getPathInfo()

2001-03-28 Thread Ignacio J. Ortega
> Do I have to do something different with the url-pattern if I > want to use > getPathInfor()? > Yes this is the problem, your servlet must be mapped to "/twauthid/*" be able to use getPathInfo(), note that you need your old mapping to be able to serve request to the

getPathInfo()

2001-03-28 Thread Dalia, Keith A - TOS-DITT1
I want to use the request.getPathInfo() but am not sure how it works with tomcat's config. When you alias you servlet you specify a path ie: TWAUTHID twauthid TWAUTHID /twauthid so in the twauthid servlet getPathInfo() returns null. Do I

Re: Path args to Apache/Tomact (getPathInfo)

2001-03-14 Thread Milt Epstein
On Wed, 14 Mar 2001, Ivan E. Markovic wrote: > I have a question concerning the req.getPathInfo() functionality. > > I have a servlet that I wish to call passing in a 'path' as an > argument which I will later use as an argument. See below (where > LogonServlet is the Servlet and VLM is the ar

Path args to Apache/Tomact (getPathInfo)

2001-03-14 Thread Ivan E. Markovic
I have a question concerning the req.getPathInfo() functionality. I have a servlet that I wish to call passing in a 'path' as an argument which I will later use as an argument. See below (where LogonServlet is the Servlet and VLM is the argument) www.vlm.com/servlets/VS/servlet/LogonServlet/VL

Fwd: RE: getPathInfo() returns null

2001-03-05 Thread Karl Martino
http://localhost:8080/examples/servlet/SnoopServlet/pathinfo > > > > and > > > > http://localhost:8080/examples/snoop/pathinfo > > > > > -Original Message- > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > > > Sent: Friday, M

Re: getPathInfo() returns null

2001-03-05 Thread Vladimir Grishchenko
:8080/examples/servlet/SnoopServlet/pathinfo > > > > and > > > > http://localhost:8080/examples/snoop/pathinfo > > > > > -Original Message- > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > > > Sent: Friday, March 02, 2001

RE: getPathInfo() returns null

2001-03-05 Thread Karl Martino
gt; http://localhost:8080/examples/snoop/pathinfo > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > > Sent: Friday, March 02, 2001 6:45 PM > > To: [EMAIL PROTECTED] > > Subject: Re: getPathInfo() returns null > > > >

RE: getPathInfo() returns null

2001-03-05 Thread Marc Saegesser
March 02, 2001 6:45 PM > To: [EMAIL PROTECTED] > Subject: Re: getPathInfo() returns null > > > "Craig R. McClanahan" wrote: > > > > Vladimir Grishchenko wrote: > > > > > Hi, > > > > > > I'm new to Tomcat and servlets and need

Re: getPathInfo() returns null

2001-03-02 Thread Vladimir Grishchenko
"Craig R. McClanahan" wrote: > > Vladimir Grishchenko wrote: > > > Hi, > > > > I'm new to Tomcat and servlets and need some help. > > Would somebody clarify why getPathInfo() returns null when a servlet accessed via: > > > > http:/

Re: getPathInfo() returns null

2001-03-02 Thread Craig R. McClanahan
Vladimir Grishchenko wrote: > Hi, > > I'm new to Tomcat and servlets and need some help. > Would somebody clarify why getPathInfo() returns null when a servlet accessed via: > > http://server/context/servletalias/pathinfo > > and it returns "pathinfo" wh

getPathInfo() returns null

2001-03-01 Thread Vladimir Grishchenko
Hi, I'm new to Tomcat and servlets and need some help. Would somebody clarify why getPathInfo() returns null when a servlet accessed via: http://server/context/servletalias/pathinfo and it returns "pathinfo" when the same servlet accesses via: http://server/context/servl

getPathInfo()

2000-12-16 Thread GoldenDawn Fan
I am very sorry about forgetting to change the heading of the last post. --- GoldenDawn Fan <[EMAIL PROTECTED]> wrote: > Hi what does getPathInfo() return, the path to > exactly > what file? Similarly, what does getPathTranslated() > r

Re: getPathInfo() in 3.2

2000-12-01 Thread Craig R. McClanahan
Carles Pi-Sunyer wrote: > I'm having a problem moving an application from 3.1 to 3.2. > > My webapp is mapped to /host, > the main servlet in the webapp is handled by just /. > > In 3.1, with the following url: > > localhost:8080/host/example/Home/ > > getPa

getPathInfo() in 3.2

2000-12-01 Thread Carles Pi-Sunyer
I'm having a problem moving an application from 3.1 to 3.2. My webapp is mapped to /host, the main servlet in the webapp is handled by just /. In 3.1, with the following url: localhost:8080/host/example/Home/ getPathInfo() would return: /example/Home/ in 3.2 getPathInfo() returns