I’m trying out a new version of a web framework, and need to re-compile all my Jsps.
What is the easiest way to do this?
I’m using Weblogic (Oracle) 10.3.3, but we can use this question to collate methods to force recompiles for all servers here. Also I’m working on a dev box, so there no problem stoping/ starting the server, or deleting tmp directories.
Note: The most generic way I’ve found, is to update (touch) your jsp files.
find ./ -name '*.jsp' -exec touch {} \;
This however might not be very easy if you have a lot of files, and or are working on a non unix environement (As I am, and I can’t install cygwin)
To answer my own question:
For Tomcat.
Deleting the following directory will cause all jsps to get recompiled.
For Oracle Weblogic Server (10.3.3)
Deleting the following directory (on my server) will cause jsps in to get recompiled, e.g.