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>&nbsp | </html:link>
<html:link 
href="<%=request.getContextPath()%>/toolbox/toolboxflow.do?dispatch=sendcard"><b><fmt:message
key="toolbox.menu.sendcard" />‌</b>&nbsp |</html:link>
<html:link 
href="<%=request.getContextPath()%>/toolbox/toolboxflow.do?dispatch=today"><b><fmt:message
key="toolbox.menu.today" /></b>&nbsp |</html:link>
<html:link 
href="<%=request.getContextPath()%>/toolbox/toolboxflow.do?dispatch=lipi"><b><fmt:message
key="toolbox.menu.lipi"/></b>‍&nbsp |</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]

Reply via email to