tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sriram Narayan (CTS)" <Srir...@PUN.CTS-CORP.COM>
Subject jsp:getProperty vs. javaBean get method.
Date Tue, 28 Nov 2000 06:14:49 GMT
This is a usage question. (motivation for this question is that weblogic
doesn't support the jsp:getProperty with dynamically named scripting


<sess:session id="ss"/>
Session Information:  
CreationTime: <jsp:getProperty name="ss" property="creationTime"/>

with this weblogic.jspc says "ss is not defined as bean"
but if i change above code to :

Usage-2 :

<sess:session id="ss"/>
Session Information:  
CreationTime: <%= ss.getCreationTime() %>

it works fine.
1. assuming that both ways of getting the property worked fine, is there any
reason to prefer the first over the second?

2. Does the spec mandate support of jsp:getProperty for dynamically named
scripting variables?

Cognizant Technology Solutions - Pune.

This e-mail and any files transmitted with it are for the sole use 
of the intended recipient(s) and may contain confidential and privileged information. 
If you are not the intended recipient, please contact the sender by reply e-mail and 
destroy all copies of the original message. Any unauthorised review, use, disclosure, 
dissemination, forwarding, printing or copying of this email or any action taken in 
reliance on this e-mail is strictly prohibited and may be unlawful.

		Visit us at

View raw message