Monday, October 19, 2009

Websphere JSP Engine configuration parameters

Today I came across a very basic issue while doing a module in a webapp deployed in Websphere 6.1, Basically there was an error coming from the compiled JSP and I was unable to find out why the issue is happening due to the unavailability of compiled java class. After some googling around I figured out how we can keep generated java source of compiled JSP's by setting jsp engine configuration parameter in the file ibm-web-ext.xmi. Parameter to set is 'keepgenerated' - true

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

This will keep the generated java source under profiles/temp. 

A detailed list of the configuration parameters can be found here - JSP engine configuration parameters

No comments: