tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Andreou <andy...@di.uoa.gr>
Subject On ServiceEncoding class
Date Tue, 08 Nov 2005 16:24:17 GMT
There's an inconsistency in the javadocs and the behaviour I'm
experiencing with this class.
In the javadocs of getServletPath,
   
     Returns the servlet path for the request. This is the portion of
the URL recognized as the
     servlet. When the URL pattern (in web.xml) ends in a "*" (such as
"/book/*"), this method
     will return the matched servlet portion ("/book/") and {#link
#getPathInfo} will return the
     rest of the URL.
   
In my case (Jetty 4.2.24) for the exact previous example (with URL
/book/111),
getServletPath returns /book
and
getPathInfo returns /111

If this is the expected behaviour, we should update the javadocs.

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org


Mime
View raw message