Where did my Servlets Go? JSP, JSR199 and GlassFish
By pelegri on Nov 15, 2007
One of the benefits of using JSR-199 in GlassFish is Very Fast JSP compilation: the generated Servlets can be passed directly, in-memory, to javac. But if you really want to see what's going on you have a problem, as shown by this long mail thread: there is no Servlet code to see because writing it to disk would defeat most of the benefits of JSR-199!
The solution is easy: ask GlassFish to write the Servlet code go to disk using the keepgenerated parameter. Check out Byron's note for the details.