tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Lawrence Murphy <ga...@teledyn.com>
Subject Re: troubleshooting getPathInfo in jsp files
Date Wed, 15 Dec 2010 03:03:03 GMT
On Tue, Dec 14, 2010 at 7:00 PM, Mark Thomas <markt@apache.org> wrote:
>
>
>>> Actually, this makes sense to me: the default mapping for the JSP
>>> servlet is "*.jsp". Your path doesn't end in .jsp, and therefore does
>>> not match the url-pattern.
>>>
>>> this is the crux of the problem, and the showstopper preventing us from
>>>
>> deploying under Tomcat -- all our applications use this convention and, as
>> I
>> said, it works in other servlet containers.
>>
>> I tried using *.jsp/* and this threw a parsing error,
>>
> Hmm. Odd. I'll look into that. It won't work they way you want but I'd like
> to get to the bottom of the parsing error.


Thanks. It's beginning to sound like Tomcat won't be suitable for this app,
and I can respect the servlet spec, but it does seem odd to me that a JSP is
not just another servlet that happens to have a funny infix-dot name.  It
should obey the same rules of conduct as any servlet, and if not, then the
class should prevent the use of functions like getPathInfo() or the
documents warn against the use of these as the presence of them is giving a
false impression of jsp/servlet equivalence.


-- 
*Have Blog, Will Travel: blog.teledyn.com*
*A Serviceable Substitute: post.teledyn.com*

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message