Custom Standard Classloader

2011-11-04 Thread Paul Wilson
Hi there, I'd like to specify a custom implementation of 'StandardClassLoader' for Tomcat 6. I've written such an implementation of 'org.apache.catalina.loader.StandardClassLoader' and dropped it onto the classpath (using the Eclipse launch configuration). However, I get an error:

Re: Custom Standard Classloader

2011-11-04 Thread Paul Wilson
I'm hoping to replace it with an aspect weaver. On 4 November 2011 13:13, Mikolaj Rydzewski m...@ceti.pl wrote: On Fri, 4 Nov 2011 11:23:59 +, Paul Wilson wrote: It seems that only the lib/* jars are available at this point in time, and not bootstrap.jar. What's the correct way

Path Parameters - Servlet API

2011-10-11 Thread Paul Wilson
Hi there, I'm trying to understand what has changed w.r.t. Tomcat 6/7 and returning path parameters from various calls to the HTTPServletRequest methods. In particular, I'd like to understand which of the four methods:  * getServletPath  * getContextPath  * getPathInfo  * getRequestURI return

Re: Path Parameters - Servlet API

2011-10-11 Thread Paul Wilson
On 11 October 2011 10:43, Konstantin Kolinko knst.koli...@gmail.com wrote: I cannot say about various versions (because it was a bug that was fixed in 6.0.33). Was the fixed made available in Tomcat 7 too? (Can't see it in the changelog). My understanding is that getServletPath and

Re: Path Parameters - Servlet API

2011-10-11 Thread Paul Wilson
On 11 October 2011 12:08, Konstantin Kolinko knst.koli...@gmail.com wrote: Hm... There are RequestInfoExample servlet and snoop.jsp in the sample webapp. Testing them apparently getPathInfo() still does not return path parameters. http://localhost:8080/examples/jsp/snp;x=y/snoop.jsp

JSESSIONID Stripping

2011-10-07 Thread Paul Wilson
Hi there, Simple question. If a client posts: POST /app/main%3bjsessionid=BF18D19ED62BB5F78E519018E618FB64 HTTP/1.1 whilst also specifying: Cookie: $Version=0; JSESSIONID=BF18D19ED62BB5F78E519018E618FB64; $Path=/app/ isn't Tomcat supposed to strip the jsessionid path param too? I'm seeing

Re: JSESSIONID Stripping

2011-10-07 Thread Paul Wilson
On 7 October 2011 12:10, Konstantin Kolinko knst.koli...@gmail.com wrote: 2011/10/7 Paul Wilson paulalexwil...@gmail.com: Hi there, Simple question. If a client posts: POST /app/main%3bjsessionid=BF18D19ED62BB5F78E519018E618FB64 HTTP/1.1 whilst also specifying: Cookie: $Version

Re: Using namespaces within XML documents produced from JSPXs

2011-09-29 Thread Paul Wilson
On 28 September 2011 18:11, Konstantin Kolinko knst.koli...@gmail.comwrote: 1) I replaced opening svg tag with: svg xmlns=http://www.w3.org/2000/svg; width=450 height=500 viewBox=0 0 450 500 xmlns:c=http://java.sun.com/jsp/jstl/core;

Re: Using namespaces within XML documents produced from JSPXs

2011-09-29 Thread Paul Wilson
On 29 September 2011 09:28, Konstantin Kolinko knst.koli...@gmail.comwrote: The following will work for you: foo:xyz xmlns:foo=path/to/foo/ns foo:p/ bar:q xmlns:bar=path/to/bar/ns / /foo:xyz Unfortunately (this is the first thing I tried), the client won't accept the namespace being

Using namespaces within XML documents produced from JSPXs

2011-09-28 Thread Paul Wilson
Hi there, I'm trying use taglibs with a JSPX page, but also specify a namespace declaration for elements rendered by the JSP. An example: foo:xyz xmlns:foo=path/to/foo/ns xmlns:bar=path/to/bar/ns foo:p/ bar:q/ /foo:xyz In the above example, I have a taglib registered for only 'foo',