We need to deploy a web application (JSPs and servlets) on the customer side. We would need a Java compiler on the machine to support the working of the JSPs. But, the problem is that due to licensing constraints, we cannot ship the JDK with our application (I was surprised to hear this). One of the options that we have is to precompile the jsps and deploy the jar. But, frankly I don't know whether that's even possible. I would appreciate your help/suggestions in this matter. Thanks a lot. Ashwin.
Pre-compiling the JSPs and including them in your class package is entirely possible. I know using the WebLogic server, we use the weblogic.jspc compiler tool. I'm sure Tomcat and other JSP servers can do the same.