File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes Keep generated source in WSAD Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Keep generated source in WSAD" Watch "Keep generated source in WSAD" New topic

Keep generated source in WSAD

Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
I'm working with a legacy JSP that's getting a null pointer somewhere in a couple hundred lines of code in the try-catch block. I'd like to see the generated source since the exception gives me a line number in there. I added the following line to my WebContent\WEB-INF\ibm-web-ext.xmi file:

<jspAttributes xmi:id="JSPAttribute_1" name="keepgenerated" value="true"/>

but I don't know where it's leaving source if it is.

Is that the right way to get source? Where is it?


A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
I agree. Here's the link:
subject: Keep generated source in WSAD
jQuery in Action, 3rd edition