Suppose I need to make a CDROM with a Tomcat server. How can I guarantee that all the jsp files have correctly been compiled before I build the CD image to be burnt ?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Tomcat uses Jasper for JSP management, there’s some guidance in the documention on precompiling JSPs. Once the server has been started up once, you can copy the directories to the target disk.
Alternatively, Ant has a (deprecated) JSP compilation task.
Update: There’s a blog that describes how to use Ant to compile your JSPs.