Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Regarding JSTL1.1-JSP 2.0-TLD

 
dbala subramaniam
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I read article from IBM Saying that
JSP2.0
Features are
1)SimpleTag
2)No need to of TLD for any tag to refer in JSP's
please Confirm the guys
another confusing thing is JSTL1.0, JSTl1.1
one article says
C:Set >>>>> name , scope, default, target, value
>>>>>>>>>>>>>>>>>>>>>>>>>>>>.
some article is
C:Set >>>>> name ,value>>>>> default scope is Page
please clarify
with regards
bala
 
Vijay S. Rathore
Ranch Hand
Posts: 449
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you refer to JSTl specs page 4-28, you will find the answer. There are 4 different syntax possible for <c:set ...
Syntax 1: Set the value of a scoped variable using attribute value
<c:set value="value" var="varName" [scope="{page|request|session|application}"]/>
Syntax 2: Set the value of a scoped variable using body content
<c:set var="varName" [scope="{page|request|session|application}"]>
body content
</c:set>
Syntax 3: Set a property of a target object using attribute value
<c:set value="value" target="target" property="propertyName"/>
Syntax 4: Set a property of a target object using body content
<c:set target="target" property="propertyName">
body content
</c:set>
 
dbala subramaniam
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Vijay
Are you refering JSTL1.0 Spec
Since I tried many times for JSTL1.1 Spec
it shows always for J2EE 1.4 , saying it is in built with J2EE1.4 Spec
and JSP2.0 Spec
I can not find any link for only JSTL1.1Spec
if you know please
since I cannot able to get JSTL1.1 Spec anywhere
if you find any link please let me know
with regards
bala
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic