struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Hardy <ahardy.str...@cyberspaceroad.com>
Subject Re: get info error
Date Wed, 05 Apr 2006 09:56:09 GMT
Angel Navarro on 04/04/06 18:46, wrote:
> Hi,
> in my struts web application have (web.xml):
> 
> <error-page>
>         <exception-type>java.lang.Throwable</exception-type>
>         <location>/templates/error/error.jsp</location>
>     </error-page>
> 
> and i want to get the description error in error.jsp.
> 
> in logging file have:
> 
> java.lang.Throwable: Could not complete parsing, unmatched tags: html
> 	at weblogic.servlet.jsp.JspLexer.parse()V(JspLexer.java:980)
> .............................
> 
> In error.jsp have:
> 
> <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
>     pageEncoding="ISO-8859-1" isErrorPage="true" %>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
> <title></title>
> </head>
> <body>
> Error Grave.
> <%exception.printStackTrace(); %>
> </body>
> </html>
> 
> but not found
> 
> can anybody help me?

Angel,
that exception is happening in the compilation of your jsp. The 
error-page mapping is only for servlets, not for jsps.


Adam

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message