Don’t use code for content Loading JSP classes into memory is a kind of caching. If you have enough JSP files, you will fill the permanent generation. Even if you don’t, it’s a waste of otherwise useful memory to keep a class in memory when it might not be accessed again before you restart the application server.

