aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes attributes to custom tags Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "attributes to custom tags" Watch "attributes to custom tags" New topic
Author

attributes to custom tags

madhup narain
Ranch Hand

Joined: Dec 14, 2004
Posts: 148
Which options correctly pass two attributes to a custom tag?



I chose the second one over the first ? But the answer was stated incorrect. I cant unserstand why ?


Money for nothing and Java for Free
SCJP, SCWCD
Frits Walraven
Creator of Enthuware JWS+ V6
Bartender

Joined: Apr 07, 2010
Posts: 1678
    
  25

Hi Madhup,

The <jsp:attribute> tag doesn't have a value attribute, you have to pass the value in the body, like this:

Regards,
Frits
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: attributes to custom tags