I need to figure out how to precompile jsp files in Runtime for a web application.
The situation is this: A plugin can be added to a web application at runtime. This plugin may contain new jsp files or jsp files that override existing jsp files. To make sure that the user sees the correct version, I need to precompile the new version of this file using java code, since the web server does not always register that the jsp file has been modified / added / deleted and therefore t recompile the new version of the jsp file .
Thanks in advance.
source
share