This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "why prefix is necessary in jstl tag?" Watch "why prefix is necessary in jstl tag?" New topic
Author

why prefix is necessary in jstl tag?

Sandeep Suryavanshi
Greenhorn

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
Sheriff

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?