General J2EE: doubt regarding the classpath
Hi, we has our project developed using pure servlets which contains an embedded JRE. Now, I want to call a jsp in a servlet. I done that using RequestDispatcher. But my problem is when I am accessing the jsp it is reporting that javac is not found for compiling jsp. I tried to set it out but not solved. shall I has to make any changes in my build.xml or not. Please, any help is appreciated. Thanks & Regards, sathish kumar.g.
- Posted by: satish kumar
- Posted on: September 15 2008 09:54 EDT
Hi Satish, yes, u have to make changes in your build.xml. JSP pages doesn't work with JRE, You have to use pre complied JSP's. just add a new target in your build.xml to compile jsps before making war file out of it. Hope this help. Thanks Suresh