struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jamie Tsao" <jt...@atinera.com>
Subject Custom tags hiding JSP error messages
Date Wed, 01 Aug 2001 16:44:29 GMT
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.4417.0">
<TITLE>Custom tags hiding JSP error messages</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<BR>

<P><FONT SIZE=2 FACE="Arial">Hi,</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I was curious whether other people encountered this
problem.&nbsp; I've used tag libraries before, and am currently using struts' template
tag library.&nbsp; I have found that runtime JSP errors, such as null pointer exceptions,
are hard to debug because the custom tags &quot;hide&quot; the error message.&nbsp;
The only message that usually comes up is a JSPException, which isn't really too helpful.&nbsp;
Without custom tags, you get exact line numbers with exact errors (NullPointerException).&nbsp;
Perhaps I'm doing something wrong.&nbsp; Can anybody give an opinion ?</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Thanks,</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Jamie</FONT>
</P>

</BODY>
</HTML>

Mime
View raw message