Does anybody know if the same holds true for JHTML on weblogic?

"Craig R. McClanahan" wrote:

> Neeraj Vora wrote:
>
> > Hello,
> >
> > Is there any way to take a JSP page and compile it into a Java source file
> > that I could then use for compilation as I do for any servlet? I tried
> > looking in the work directory of JSWDK 1.0, but it only has the class file
> > for the generated servlet, not the source. Thanks!
> >
> > Neeraj
> >
>
> For JSWDK 1.0, you can set an initialization parameter for the JSP servlet in your
> WEB-INF/servlets.properties file like this:
>
>     jsp.initparams=keepgenerated=true
>
> to have the source code file saved as well.  NOTE:  You won't be able to compile
> this yourself without including references to the appropriate JSWDK jar files in
> your classpath, because the imports will refer to classes in these files.
> However, it is quite instructive to see what code the JSP servlet generates for
> your pages.
>
> Craig McClanahan
>
> ===========================================================================
> 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

===========================================================================
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

Reply via email to