Hi,
JSP 1.1 (and 1.2) specify a way to precompile your pages
and package them as a bunch of Java .class files (eg, in
a WAR file).
However, the spec allows for "implementation dependent"
names in the compiled code -- so the question is, what
else do you need to package in order for your compiled
pages to work?
Eg, JRun 3.0 creates something like this:
> import javax.servlet.*;
> import javax.servlet.http.*;
> import javax.servlet.jsp.*;
> import javax.servlet.jsp.tagext.*;
> import allaire.jrun.jsp.JRunJSPStaticHelpers;
>
> public class jrun__html__MainPage2ejsp12
> extends allaire.jrun.jsp.HttpJSPServlet
> implements allaire.jrun.jsp.JRunJspPage {
> ...
> }
...so there is dependency on classes provided by Allaire,
which I would have to include in the WAR file (if I wanted
to make sure that they work not only with JRun)...
Does anybody have any experience with this?
Is there maybe a JSP compiler that creates independent
code, or that allows you to include its support classes
in your package? (Maybe Tomcat?)
Any hint is much appreciated.
Thanks a lot,
-- Oliver
--
Oliver Suciu
[EMAIL PROTECTED]
http://www.tibcofinance.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets