Tuesday Jun 20, 2006

Showing compiled JSPs in WSAD

Today I figured out how to go view the precompiled JSPs in WSAD. This always bugged me that I couldn't see what gets generated. I know that with frameworks and stuff this is "magic" but I want to see the spell behind the magic darnit.



Anyway, without further ado, here is the incantation. Open up the ibm-web-ext.xmi file. In there add these two tags as child elements of <webappext>



<jspAttributes xmi:id="JSPAttribute_1" name="keepgenerated" value="true">
<jspAttributes xmi:id="JSPAttribute_2" name="scratchdir" value="C:\jsptemp">



Make sure that the folder specified already exisits on your file system. Restart your server and you should now see the .java and .class files in your scratchdir.

Comments:

Post a Comment:
Comments are closed for this entry.