I couldn’t get my head around this problem for a very long time. Basically there is are xml files that tells weblogic what to do in a global level, and then you can specify in application level as well.
All you have to do is find the weblogic.xml file ( if your application has one, then that is the one to change)
and look/add/modify the file so it has the following
<jsp-descriptor> <jsp-param> <param-name>keepgenerated</param-name> <param-value>true</param-value> </jsp-param> <jsp-param> <param-name>pageCheckSeconds</param-name> <param-value>0</param-value> <verbose>true</verbose> <precompile>false</precompile> </jsp-param> </jsp-descriptor>
- Keepgenerated -> Tells weblogic to keep the java class files for easy debugging
- pageCheckSecond -> if its -1, weblogic will not refresh jsps. so we set it to 0.
- verbose: lets you see debug messages in the application
- Precompile: Does not precompile the jsp