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