What happens to the compiled servlet class files when we shutdown the JSP engine? Will they will be erased from memory as well as from disk?
Edwin van der Elst This depends on the JSP engine implementation. Under normal circumstances, the server will leave .class files on the disk until the .jsp file changes, ignoring server restarts. Some engines can be configured to recompile after each restart of the engine, never recompile, or recompile only if the .jsp is newer then the .class file.