Well i used the jspc.sh shipped with Tomcat 4.1.29 and it compiles the included jsp files within jsp. Even i have tried with ANT and it works fine.
Does this jsp compile in the rutime / tomcat ? -Surendra ----- Original Message ----- From: "java only" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Friday, July 23, 2004 11:17 AM Subject: Re: precompiling jsp files gives error > Yes it is there in the classpath...Moreover,when I try to run the build.xml file as given in the tomcat docs , it runs fine until it encounters the compile error problem because of the included jsp files within jsp files.This was the reason I tried running the changed build.xml file (tomcat-precompile-jsp.xml file) as suggested by one of the developers here, but it is giving me build failed as mentioned earlier... > > Can anybody please help ? > > Regards, > > javaonlyjava > > Surendra Kumar <[EMAIL PROTECTED]> wrote: > Probably the jasper-compiler.jar not in the classpath. > > -Surendra > > ----- Original Message ----- > From: "java only" > To: "Tomcat Users List" > Sent: Friday, July 23, 2004 10:46 AM > Subject: Re: precompiling jsp files gives error > > > > Hi , > > > > I have checked the archives and I have found that someone else has > suggested to use their build.xml file (it was named > tomcat-precompile-jsp.xml) ,and when I try to run it, it gives the following > error. > > > > > $ANT_HOME/bin/ant -Dtomcat.home=/usr/ezipin/jakarta-tomcat-5.0.25 -Dwebapp.n > ame=mywebappname -Dwebapp.path=mywebapppath -buildfile > tomcat-precompile-jsp.xml > > Buildfile: tomcat-precompile-jsp.xml > > jspc: > > BUILD FAILED > > /usr/local/apache-ant-1.6.2/tomcat-precompile-jsp.xml:7: taskdef A class > needed by class org.apache.jasper.JspC cannot be found: > org/apache/commons/logging/LogFactory > > Total time: 1 second > > > > > > can anybody please help? > > > > Regards, > > > > javaonlyjava > > > > java only wrote: > > Hi All, > > > > When I am precompiling my JSP files using the ant script provided in the > documentation using jasper (ant script),I couldn't compile my whole > _jsp.java files as those files have and the error says the dependent object > in the included file couldn't be found. > > > > Is there a way to work around ,as I am keen to get rid of these errors? > > > > Thanks in advance, > > > > JavaOnlyJava > > > > > > --------------------------------- > > Do you Yahoo!? > > Vote for the stars of Yahoo!'s next ad campaign! > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam protection around > > http://mail.yahoo.com > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------- > Do you Yahoo!? > Vote for the stars of Yahoo!'s next ad campaign! --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]