Hello, I have two questions about the servlets which are generated from JSPs
in JSWDK 1.0.
First, why does the compiler generate new names for source files each time a
JSP is reloaded (files nameofthejsp_jsp_x.java) ? It seems that the runtime
system shouldn't be dependent on these files, so it is an internal issue of
the compiler. Would it matter if the file was just nameofthejsp.java ? I
thought that it could be an issue with class reloading, but the class files
have always the same name, and class reloading shouldn't be much more
difficult than just throwing away the classloader.
My second question is about classes importing com.sun.jsp.runtime.* classes
to generated servlets. I heard that there are plans for the next version of
the specification to define distributable archives of precompiled JSPs. This
means that in order to achieve platform independence, the
com.sun.jsp.runtime.* classes should either not be used or should be freely
distributable. What is going to be a solution to this problem ?
Thanks
Petr Jiricka
software developer
NetBeans, Inc.
http://www.netbeans.com/
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html