| Author |
Param Attribute doubts
|
Micheal John
Ranch Hand
Joined: Nov 01, 2006
Posts: 344
|
|
I am trying some examples on param attribute.. but I am encountering following error message: how to resolve it? [ January 04, 2007: Message edited by: Micheal John ] [ January 04, 2007: Message edited by: Micheal John ]
|
Micheal John
SCJP 1.4 (86%), SCWCD 1.4 (86%), SCBCD 1.3 (85%), SCDJWS (Just Started...) - Satisfaction Lies in Our EFFORT, Not in the ATTAINMENT
|
 |
Gowher Naik
Ranch Hand
Joined: Feb 07, 2005
Posts: 643
|
|
<html> Try above code.
|
 |
Ali Gohar
Ranch Hand
Joined: Mar 18, 2004
Posts: 572
|
|
<jsp:useBean id="person" type="com.example.model.Person" class="com.example.model.Employee"><jsp:setProperty name="person" property="empname"></jsp:useBean>EMP NAME IS :: <jsp:getProperty name="person" property="empname">
Michael, you are not properly closing the setProperty and getProperty tags. Either use "/>" at the end or use </jsp:setProperty> to close the tag properly.
|
 |
Micheal John
Ranch Hand
Joined: Nov 01, 2006
Posts: 344
|
|
oh..god what a silly mistake..? how I didn't notice that..? Thanks for the help
|
 |
 |
|
|
subject: Param Attribute doubts
|
|
|