Hi Guys,
I have a question on
jsp:useBean, I have a simple bean with two instance variables, one is of type
String ( eg :name) and other is of type int ( eg:age).
Note : both vairables are not initilized
<jsp:useBean id="user" class="package.ABC"/>
Name :<jsp:getproperty name="user" property="name">
Age :<jsp:getproperty name="user" property="age">
What will be the outpt of these two jsp:getProperty with out using any jsp:setProperty
Basically it should return default values, if iam not wrong.
Name : null
Age : 0
one of the mock exam gives the right answer as
Name : null
Age : null
Kindly Clarify me
-Sathi
[ January 02, 2003: Message edited by: Satheesh Kumar S V ]