• Post Reply Bookmark Topic Watch Topic
  • New Topic

Mandatory element in JSTL for attribute

 
Abhijit Das
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

I have a doubt on the mandatory elements of the <attribute>in the <tag> in TLD file.



Now, inside the <attribute>, we have the name, rtexprvalue, type....... which are the mandatory and if not, what is the default value for each.

Similarly, in the .tag file also.

Related to SCWCD exam
, I have seen the spec, but getting confuse about the default type or its value.
 
Shruthi Sam
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
in the tag attribute , only name is mandatory. rtexprvalue is optional.

Refer the below link for more details.

http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JSPTags6.html

Hope it helps.


 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!