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 wrote: > On Fri, 4 Nov 2011 11:23:59 +0000, Paul Wilson wrote: > > It seems that only the lib/* jars are available at this point in time, and >> not bootstrap.jar. >> &g

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: java.lang.Class

Re: Path Parameters - Servlet API

2011-10-11 Thread Paul Wilson
On 11 October 2011 12:08, Konstantin Kolinko 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 > http://localhost:8080

Re: Path Parameters - Servlet API

2011-10-11 Thread Paul Wilson
On 11 October 2011 10:43, Konstantin Kolinko 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 getContextPath should not >

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 so

Re: JSESSIONID Stripping

2011-10-07 Thread Paul Wilson
On 7 October 2011 12:10, Konstantin Kolinko wrote: > 2011/10/7 Paul Wilson : > > Hi there, > > > > Simple question. If a client posts: > > > > POST /app/main%3bjsessionid=BF18D19ED62BB5F78E519018E618FB64 HTTP/1.1 > > > > whilst also specify

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 'i

Re: Using namespaces within XML documents produced from JSPXs

2011-09-29 Thread Paul Wilson
On 29 September 2011 09:28, Konstantin Kolinko wrote: > > The following will work for you: > > > > > Unfortunately (this is the first thing I tried), the client won't accept the namespace being bound on the element itself, and requires that it be bound on the XML's root tag. Looks like I'm

Re: Using namespaces within XML documents produced from JSPXs

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

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: In the above example, I have a taglib registered for only 'foo', whereas I'd like 'bar' to be considered verbatim and added to the body content as s