aspose file tools*
The moose likes JSP and the fly likes Prefix Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Prefix" Watch "Prefix" New topic
Author

Prefix

rakesh sugirtharaj
Ranch Hand

Joined: Dec 16, 2007
Posts: 151
What is the need for prefix in custom tags?


Cheers!
RSR
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61769
    
  67

It is the means by which tags are associated with the specific library within which they are defined.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

It is used to identity a library within a page. When you use a tag, you want to tell from which library it comes from. Imagine a scenario where you have two tags with the same name, but from from two different libraries. You need something to tell which tag is from which library, and that's what the prefix is for.



[My Blog]
All roads lead to JavaRanch
rakesh sugirtharaj
Ranch Hand

Joined: Dec 16, 2007
Posts: 151
Yup! Now i get it. Thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Prefix