There is another issue about jspc, JASPER_HOME. I did not find info about how to set it. Can someone send?
Luis. ----- Original Message ----- From: "Rajesh Thiharie" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 06, 2002 7:31 AM Subject: Re: JSP -> servlet convertor... > You can use the provided jspc (jsp compiler) with the servlet container > you use. > Jakarta Tomcat and WebLogic have them The others I am not aware of, but > they should have them. > <Check> > You will need to set the CLASSPATH properly to be able to get jspc to > compile properly. > </Check> > > When you compile a JSP ( filename.jsp ) file, it gets converted to a > .java file, > i.e., filename.java. You then need to compile it with the normal java > compiler > ( javac ) and place the resulting class file in WEB-INF/classes. > After that you need to define a mapping for the filename.jsp to > filename.class > in the web.xml file inside your web application. If you do not do the > mapping > the servlet container will compile the JSP file in the work directory > which will > defeat the purpose of pre-compiling. > > You can automate the whole process with Jakarta Ant too. However that will > involve you spending some time learning the way Jakarta Ant works. > > Cheers > Rajesh Thiharie > New Delhi, India > 91 124 6455511 x 109 Work > > David wrote: > > >I would like to convert JSP into servlet, is there any tool to do that? > >Any suggestions will be appreciated. > > > > =========================================================================== > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.com > =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com