You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by Andreas Andreou <an...@di.uoa.gr> on 2005/11/08 17:24:17 UTC
On ServiceEncoding class
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