A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
Web Component Certification (SCWCD/OCPJWCD)
Selva Prasad Rajendran
Joined: Sep 07, 2004
Aug 22, 2005 02:25:00
Do all these following 3 options mean the same of different.
:getProperty property="streetName" name="id"></jsp:getProperty>
2. <jsp:getProperty name="id" property="streetName"/>
3. <jsp:getProperty property="streetName" name="id"/>
Is that neccessary that jsp:getProperty should be a self closing tag.
Joined: Jun 30, 2004
Aug 22, 2005 02:56:00
getProperty must be a legal XML tag (i.e. it must be an empty tag - I think you called it self-closing, or it must have a closing tag) the order of the attributes doesn't matter.
BTW: You can also get these properties using EL:
Drinking more tea is the key...
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
Jsp Tag Question
Help: valid declarations in a JSP page
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015