I have the same problem on both Orion 1.0 and 1.1.35 on Mandrake Linux 7.1

Here is the specific problem. I re-read the spec, and i'm not sure whether
it ought to work or not. host is myhost.com and the application root is myapp

<url-pattern>/test/*</url-pattern>
URL: http://myhost.com/myapp/test/some/path/info
req.getPathInfo() returns /some/path/info

<url-pattern>/*</url-pattern>
URL: http://myhost.com/myapp/some/path/info
req.getPathInfo() returns null

Initially I was using
/test and / as my url-patterns which when i re-read the spec obviously
shouldn't work, but I think this should.  Is there some reason why the
default servlet would lose the pathInfo?

-Lkb


At 10:49 PM 7/26/00 +0200, Robert Krueger wrote:
>
>the best source for this is the spec.have you verified that your 
>understanding of the spec is correct? we use both servlet mappings with 
>url-patterns and security-constraints and path info and so far it all 
>behaves very consistent although you might have a case where it doesn't.
>
>maybe a concrete example would help. which version of orion are you using? 
>there were bugs in the path-info handling but the ones we discovered have 
>been fixed a while ago.
>
>regards,
>
>robert
>
>At 13:57 26.07.00 , Kit Cragin wrote:
>>Actually I have noticed that with servlet mappings security and pathinfo
>>stuff seems to behave erratically (either that or I haven't discovered
>>exactly what the pattern is). Does anyone have a matrix of url-pattern in
>>the servlet-mapping, url-pattern in a security-constraint, servlet-name, and
>>what pathInfo() returns and how they all interact? It would be useful.
>>Thanks...
>>
>>Kit Cragin
>>VP of Product Development
>>Mongoose Technology, Inc.
>>www.mongoosetech.com
>>
>>-
>
>(-) Robert Kr�ger
>(-) SIGNAL 7 Gesellschaft f�r Informationstechnologie mbH
>(-) Br�der-Knau�-Str. 79 - 64285 Darmstadt,
>(-) Tel: 06151 665401, Fax: 06151 665373
>(-) [EMAIL PROTECTED], www.signal7.de
>
>
>
/**     
 * @author: Lorin Kobashigawa-Bates <[EMAIL PROTECTED]>
 * @title:  CodeMonkey / COO - Robot6 Inc. 
 * @phone:  415.345.8872
 * @addr:   1177 Polk St. San Francisco, CA 94109
 */

Reply via email to