wood burning stoves 2.0*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes custom actions vs custom tags Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "custom actions vs custom tags" Watch "custom actions vs custom tags" New topic
Author

custom actions vs custom tags

sh yh
Greenhorn

Joined: Aug 14, 2002
Posts: 21
Hi,
What are the differences between Custom Actions and Custom Tags?
Thanks.
Yadav Madhu M
Greenhorn

Joined: Jan 28, 2004
Posts: 5
Both are same


SCJPv1.4,<br />SCWCDv1.3<br />SCWCDv1.4(waiting for results)
sh yh
Greenhorn

Joined: Aug 14, 2002
Posts: 21
Originally posted by Yadav Madhu M:
Both are same

many thanks
Kalpesh Soni
Ranch Hand

Joined: Jan 02, 2001
Posts: 312
Chapter 7. Using Custom Tag Libraries and the JSP Standard Tag Library
So why is it called a custom tag library if it's a collection of custom actions? Using formal XML terminology, one or more tags (e.g., an opening tag and a closing tag) represent one element (the combination of the tags and possibly a body), but the word "tag" is commonly used to refer to both tags and elements because it's easier to say and shorter to type. Hence, the representation of a custom action (the functionality) in a JSP page is really called a custom action element. But that's just way too many words for most of us to say over and over again. Replacing element with tag doesn't help much, so we cut it down to the bare bones and use custom tag for both the functional entity and its representation in a page. When the JSP specification was written, no one objected to this sloppy language, so now we're stuck with custom tag libraries containing custom actions. I try to stick to the terms custom action and custom action element in this book, but if I slip, be aware that custom action, custom action element, and custom tag mean the same thing.



Test 094, IBM WID 6.0 cert
SCJP 1.2
SCBCD 1.3 Beta
SCWCD 1.4 Beta
SCMAD Beta
SCDJWS Beta

KS
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: custom actions vs custom tags
 
Similar Threads
web-app advice
What are tag libs?
what is a custom tag
What is a Custom Tag?
Trouble with the term "Standard Action"