File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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.
1. <jsp: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...
Don't get me started about those stupid
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-2013