and then I did a ${dab.dealerName} it resulted in printing <bean:write name="dealerAddrBean" property="cityName"/> rather than 'New Delhi', which I was expecting.
However,the following worked and set the value correctly as
Be careful not to confuse with <c:set> from the JSTL, which can have a body, e.g,
<c:set var="myVar">myValue</c:set>
is correct. [ October 22, 2007: Message edited by: Jan van Mansum ]
SCJP 1.4, SCWCD 1.4
Tarun Yadav
Ranch Hand
Joined: Sep 20, 2007
Posts: 134
posted
0
Also, keep in mind that you can't 'nest' custom tags in the sense that while it's legal to have a tag as the body for another tag, you can't have a tag within another tag.
For example,
is fine but
is not ok.
Yoshita Jain
Greenhorn
Joined: Sep 15, 2007
Posts: 23
posted
0
Thanks all of you...
But I'm still puzzled coz as I said.. for me..this worked