Tim Fennell
Tue, 11 Oct 2005 17:42:34 -0700
Hi All,
I've posted my patch for Jasper/Tomcat at the following location:
http://www.tfenne.com/jasper/
The page has a brief overview, a download link and "before and
after" screenshots so you can get an idea for what exactly the patch
does before you decide to patch your own environment. If you give it
a shot and have any problems and/or suggestions for improving it
please let me know - but please read the readme first ;)
Happy bug hunting. -Tim Fennell http://stripes.mc4j.org On Oct 11, 2005, at 3:40 PM, Tim Fennell wrote:
I certainly don't have a problem with that. Obviously I'd rather have it in the main codebase - while I don't have a problem running a patched version of jasper, I'm sure that would freak out a good number of PHBs ;) But since there is interest I'll clean up what I have, put it online and post a link here. That should happen some time this evening.-t On Oct 11, 2005, at 2:01 PM, GB Developer wrote:regardless how the commiters feel about it, are you willing to release yourpatched source files? (So for example, I can compile and deploy themmyself?) ;) If so, I'd say a page on your wiki might be alright fordistro, with a link to the page sent to tomcat-user ?I'd be giving it a try about 10 minutes after you send out your email, since I've often wondered about this feature. Usually right after digging throughthe work directory for a generated java file.-----Original Message----- From: Tim Fennell [EMAIL PROTECTED] Sent: Tuesday, October 11, 2005 12:15 PM To: Tomcat Users List Subject: Fwd: More helpful reporting of exceptions in JSPs Apologies in advance for cross-posting this, but I sent this email out to the tomcat-dev list a couple of days ago and have received no replies at all... I think this is quite a useful feature, and I'm wondering how best to go about contributing it. Thanks -Tim Fennell http://stripes.mc4j.org Begin forwarded message:From: Tim Fennell <[EMAIL PROTECTED]> Date: October 9, 2005 5:50:11 PM EDT To: tomcat-dev@jakarta.apache.org Subject: More helpful reporting of exceptions in JSPs Reply-To: "Tomcat Developers List" <tomcat-dev@jakarta.apache.org>At any rate, I have code that will do this now, and I think it'd be a great productivity boost for anyone else developing JSPs on Tomcat. It amounts to small patches to two files. The first is org.apache.jasper.compiler.Compiler to make it hang on tothe parsetree (pageNodes) if in development mode, and a getter to make this accessible. The second is to org.apache.jasper.servlet.JspServletWrapper to do the gruntwork ofmapping a stack frame from the exception back to the line in the JSP that it came from.--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]