I already make the precompile work!
My experience is make the weblogic.jspc has the same version with the
weblogic server pack.
Weblogic will check a time stamp in generated java file :
if (sci.isResourceStale("/Detailed.jsp", 1027112150000L, "5.1.0
Service Pack 10 07/25/2001 15:17:35 #126882 - 128 bit domestic version"))
return true;
If it is update than the jsp files, then weblogic will recognize it!
When you set in web.xml
<context-param>
<param-name>weblogic.jsp.precompile</param-name>
<param-value>true</param-value>
</context-param>
weblogic classloader will load the precompiled classes at deploy time.
Ying Wang
On Thu, 15 Aug 2002, Karr, David wrote:
> > -----Original Message-----
> > From: Milind Nirgun [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, August 14, 2002 2:49 PM
> > To: Ant Users List
> > Subject: RE: jsp precompile with weblogic5.1 and ant1.4
> >
> >
> > Ying,
> >
> > > to make weblogic 5 classloader to load the compiled jsp classes.
> >
> > > The result is weblogic still generate the java and class
> > > files at run
> > > time although I put all the class files in the right place.
> > > How to stop it?
>
> Does WebLogic's JSPC process, or your augmentation of it, add
> servlet-mapping elements associated with the JSP pages to the web
> application's "web.xml" file? If not, then precompiling your JSP pages
> won't have any effect. Even in WebLogic 7, I believe, the JSPC process
> doesn't generate or integrate those elements. When I set this up for
> WebLogic 7, I wrote a shell script to parse the generated source files (the
> first line had the original JSP name in comments), and generate the
> "fragment" to be merged with the "web.xml" file. I also wrote an XSLT
> stylesheet to do the merging.
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>