File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Murach's Java Servlets and JSP this week in the Servlets 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?
 
Similar Threads
why ${fn:substring("123456",1,2)} work in jstl 1.0?
HFS page 487, question 6
Error coming while using c:out tag in JSTL
reverse looping in c:foreach
taglib descriptor in Eclipse