wood burning stoves
The moose likes JSP and the fly likes why prefix is necessary in jstl tag? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "why prefix is necessary in jstl tag?" Watch "why prefix is necessary in jstl tag?" New topic

why prefix is necessary in jstl tag?

Sandeep Suryavanshi

Joined: May 14, 2005
Posts: 1
Though the prefix present in JSTL program is different than the prefix mention in the standard tag, the program works fine so why the prefix is necessary?
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

Because you can have different tag libraries.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
James Carman
Ranch Hand

Joined: Feb 20, 2001
Posts: 580
More importantly, you could have a tag named the same thing in two different tag libraries.

James Carman, President<br />Carman Consulting, Inc.
alan do
Ranch Hand

Joined: Apr 14, 2005
Posts: 354
[Bear edit: less than helpful response removed.]
[ May 16, 2005: Message edited by: Bear Bibeault ]

-/a<br />certified slacker...yes, my last name is 'do' - <a href="http://www.luckycouple.com" target="_blank" rel="nofollow">luckycouple.com</a>
I agree. Here's the link: http://aspose.com/file-tools
subject: why prefix is necessary in jstl tag?
It's not a secret anymore!