The build output I got after fixing, if that helps. jspc:
precompile-jsps: [javac] Compiling 370 source files to /home/build/mobchannel/mobchannelWEB/WebRoot/WEB-INF/classes [javac] /home/build/mobchannel/mobchannelWEB/WebRoot/WEB-INF/src/org/apache/jsp/home_jsp.java:7: package org.apache.jasper.runtime does not exist [javac] public final class home_jsp extends org.apache.jasper.runtime.HttpJspBase [javac] ^ [javac] /home/build/mobchannel/mobchannelWEB/WebRoot/WEB-INF/src/org/apache/jsp/home_jsp.java:8: package org.apache.jasper.runtime does not exist On 10/11/07, Arun <[EMAIL PROTECTED]> wrote: > > Ok, I fixed that up and I have an error coming from the ant script that I > copied from tomcat docs. The error said, there is no such directory called > /usr/local/bin/apache-tomcat-6.0.13/common/lib. > There is no folder called common/lib in my tomcat 6 home directory. > When I commented that line from the script, ant told me that it cannot > find HttpJspBase class. I checked docjar.com and found that the jar file > was jasper-runtime.jar. > Obviously this would have been in common/lib. I downloaded my tomcat 6 > from apache website. Why is there no jasper runtime.? > > > On 10/11/07, David Smith <[EMAIL PROTECTED]> wrote: > > > > Why are you mixing el expressions with <%= ... %> expressions? I'd > > replace <%=request.getContextPath ()%> with ${request.contextPath}. > > > > --David > > > > Arun wrote: > > > > >jspc: > > > > > >BUILD FAILED > > >/home/build/mobchannel/mobchannelWEB/build.xml:199: > > >org.apache.jasper.JasperException: > > >file:/home/build/mobchannel/mobchannelWEB/WebRoot/jsp/toolbox/navigation.jsp(10,20) > > > > >attribute for %>" is not properly terminated > > > > > >I got this error on using the jspc task. > > >I have copied the from the tomcat docs sited above. > > > > > >My navigation.jsp looks like > > > > > ><[EMAIL PROTECTED] pageEncoding="UTF-8"%> > > ><[EMAIL PROTECTED] language="java" contentType="text/html;charset=UTF-8" %> > > ><%@ taglib uri=" http://struts.apache.org/tags-tiles" prefix="tiles"%> > > ><%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%> > > ><%@ taglib uri="/WEB-INF/c-rt.tld" prefix="c"%> > > ><%@ taglib uri="/WEB-INF/fmt-rt.tld" prefix="fmt"%> > > ><fmt:setLocale value="${locale}" /> > > ><fmt:bundle basename="toolbox"> > > ><div id="fullwidthTable" class="style_fullCentreMenucolor" > > > ><html:link > > >href="<%=request.getContextPath()%>/toolbox/toolboxflow.do?dispatch=quickmessage"><b><fmt:message > > > > >key="toolbox.menu.quickmessage"/></b>  | </html:link> > > ><html:link > > >href="<%=request.getContextPath()%>/toolbox/toolboxflow.do?dispatch=sendcard"><b><fmt:message > > > > >key="toolbox.menu.sendcard" /></b>  |</html:link> > > ><html:link > > >href="<%=request.getContextPath()%>/toolbox/toolboxflow.do?dispatch=today"><b><fmt:message > > > > >key="toolbox.menu.today" /></b>  |</html:link> > > ><html:link > > >href="<%=request.getContextPath()%>/toolbox/toolboxflow.do?dispatch=lipi"><b><fmt:message > > > > >key="toolbox.menu.lipi"/></b>  |</html:link> > > ></div> > > ></fmt:bundle> > > > > > >What is wrong? > > > > > > > > >On 10/11/07, Pid < [EMAIL PROTECTED]> wrote: > > > > > > > > >>Arun wrote: > > >> > > >> > > >>>Hi, > > >>> > > >>>I want to precompile jsps for apache tomcat 6. Which ant task should > > i > > >>> > > >>> > > >>use . > > >> > > >> > > >>>Is there a simple example for that. > > >>>I am using a build.xml exported from MyEclipse. Where would the JSP > > >>> > > >>> > > >>classes > > >> > > >> > > >>>go in WEB-INF/classes. What structure does it have. > > >>> > > >>> > > >>> > > >>> > > >> http://tomcat.apache.org/tomcat-6.0-doc/jasper-howto.html > > >> > > >>Strongly recommend familiarising yourself with the documentation, > > where > > >>the config is, how it works, etc. Most of the information you need to > > > > >>deal with common problems can be found here. > > >> > > >> > > >>p > > >> > > >> > > >> > > >>--------------------------------------------------------------------- > > >>To start a new topic, e-mail: users@tomcat.apache.org > > >>To unsubscribe, e-mail: [EMAIL PROTECTED] > > >>For additional commands, e-mail: [EMAIL PROTECTED] > > >> > > >> > > >> > > >> > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > To start a new topic, e-mail: users@tomcat.apache.org > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > Thanks > Arun George -- Thanks Arun George