Jasper crashes with nullpointerexception

2007-06-04 Thread kempo bob
Very often, when precompiling JSP's that have custom tags in them with jasper2, the compiler will just crash with a nullpointerexception. I end up spending a lot of time trying to figure out what I've done wrong, because the compiler doesn't give any useful information. The mistakes are usually th

RE: I would like a new session each time I start my application

2007-06-04 Thread kempo bob
Elisabeth, 1) To see what the context tag looks like, see the server-example.xml file that ships with the Tomcat distribution. You're probably running under a minimal configuration that lets most items default. 2) That being said, I don't think its going to fix your problem to turn off session pe

Re: JSPs with custom tags swallow exceptions

2007-05-30 Thread kempo bob
f memory. > > an other solution is to use the <%@ page buffer=sizekb %> which will > cache a small amount of response before sending anything to socket, a > good value for buffer size can reduce the odds of having no error > response in cas of errors. (This will anyway fail if a

JSPs with custom tags swallow exceptions

2007-05-30 Thread kempo bob
I have a JSP that uses several tags implemented as tag files (not classic custom tag handlers). I want all exceptions to bubble up and be displayed on the standard apache error page, but some exceptions are being swallowed silently, depending on where they occur relative to the tag being invoked.