tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <funk...@joedog.org>
Subject Re: Tomcat adding files
Date Mon, 02 Jul 2007 10:37:43 GMT
2 problems
1) If you have *.jsp - don't make the include file a file that ends with 
jsp. Use jspf as your include extension.
2) Try access the include file all by itself. Sounds like a simple 
compile issue.

-Tim

coder5436uk wrote:
> my web xml:
> 	<jsp-config>
> 		<jsp-property-group>
> 			<url-pattern>*.jsp</url-pattern>
> 			<include-prelude>/WEB-INF/headers/v2header.jsp</include-prelude>
> 		</jsp-property-group>
> 	</jsp-config>
> 
> file does exist in location
> 
> I get
> 
> HTTP Status 500 - 
> 
> --------------------------------------------------------------------------------
> 
> type Exception report
> 
> message 
> 
> description The server encountered an internal error () that prevented it
> from fulfilling this request.
> 
> exception 
> 
> org.apache.jasper.JasperException: /index.jsp(1,1) The absolute uri:
> http://java.sun.com/jstl/xml cannot be resolved in either web.xml or the jar
> files deployed with this application
> 
> org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
> 
> 
> I have been able to get it NOT to break the code but it seems to ignore the
> file I want to include
> 


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message