• Post Reply Bookmark Topic Watch Topic
  • New Topic

Reserved Prefix in using custom tags

 
Shruthi Karthick
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I used reserved prefix in my code.

<%@ taglib prefix = "sun" uri = "Collection" %>
<sun:menu> Simple Menu </sun:menu>

It doesn't throw any error.Page is evaluated and i got desired result also.
I tried with java,servlet, prefix also. Everything is working fine.

Uasage of reserved prefix is restricted right?
If so how does my code evaluates?
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The spec doesn't say the container should throw an error.
[ April 02, 2008: Message edited by: Marc Peabody ]
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!