-none- 2007-08-15 - By Darryl L. Miles
Back
Are these lines not equivalent (from my WEB-INF/jsp/another.jsp) ?
<jsp:directive.taglib prefix="foo" uri="http://domain.co.uk/taglibs/foo-0 (See http://foo-0.ora-code.com).1"/> <jsp:directive.include file="/WEB-INF/jspf/somefile.jspf"/>
<%@ taglib prefix="foo" uri="http://domain.co.uk/taglibs/foo-0 (See http://foo-0.ora-code.com).1"%> <%@ include file="/WEB-INF/jspf/somefile.jspf"%>
I am getting a Jasper (from 5.5.23) error with the first set of lines, but when I convert to the 2nd the error goes away:
build.xml:248: org.apache.jasper.JasperException: file:/tmp/dist/WEB-INF/jsp/another.jsp(2,18) <jsp:directive.tag directive can only be used in a tag file
I thought the XML notation was valid from all contexts, those being from JSP, from .TAG, from .JSPF, etc... I thought the purpose of the XML notation was to allow recursive bindings so a JSP page could be embedded within another XML document ?
Your thoughts appreciated.
Darryl
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To start a new topic, e-mail: users@(protected) To unsubscribe, e-mail: users-unsubscribe@(protected) For additional commands, e-mail: users-help@(protected)
|
|