tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Bryan <>
Subject JasperException, JSP calling wrong overloaded method
Date Wed, 23 Mar 2005 23:08:06 GMT
I have a custom tag MessageTag that has an overloaded setValue method.  It is 
being used like this.
    <fmt:message value="exception.title" />

Instead of calling the setValue(String v) method, the generated code for the 
JSP is calling 

The exception stacktrace starts like this
	at org.apache.jsp.jsp.exception_jsp._jspService(
	at org.apache.jasper.runtime.HttpJspBase.service(
	at javax.servlet.http.HttpServlet.service(

I would have expected the generated code to be

Oddly, this code works fine on a Mac OSX machine and a Solaris machine.  I'm  
only seeing this error on my Thinkpad, which is running a customized RedHat 
Enterprise Linux install.  I've tried running with Tomcat 5.0.28 and 5.0.30.  
I've also tried both IBM's and Sun's JDK 1.4.2.  Same error with every 

Are overloaded setters like this supported?  If so, any pointers on where to 
turn next to troubleshoot this problem?  I've killed a day on it, and I'm out 
of ideas.  I'm hoping that I've just misconfigured something that's easy to 
overlook in my Tomcat installation.

Tom Bryan 
Test Information Systems > Central Engineering Services
Cisco Systems > USA > NC > RTP

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message