tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rapheal Kaplan" <r...@adone.com>
Subject Boolean value translation / jsp:setProperty
Date Mon, 29 Nov 1999 23:42:40 GMT
	It seems that the Boolean value translations for the jsp:setProperty tag
is not correct.  It is converting the value by calling:

	Boolean.getBoolean( request.getParameter( "param" ) )

rather than:

	Boolean.valueOf( request.getParameter( "param" ) )

as described in the jsp specification.  This is a problem in that
the getBoolean method will return the value of a boolean parameter
from the system properties.  As it stands, I can not use boolean values
for bean properties.

Rapheal Kaplan			rafe@adone.com
AdOne, LLC
Senior Software Architect


Mime
View raw message