Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

taglibray prefix question

 
Tiffiny Yang
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<%@taglib uri="abc" prefix="myTag" %>

The prefix should not use any reversed words:
java, javax, jsp, jspx,sun, sunw, servlet

But, I tried use one of these (java), my program still works, how come?

Thanks in advance.

Tiffiny
 
Chandra Bhatt
Ranch Hand
Posts: 1710
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Using "java" as prefix is ok to me too. All others give compiler error. I
don't think java is in the prohibited list.



Thanks,
 
Tiffiny Yang
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
some of 'reserved word' will not break page if used , but some of them can break the app if used.

I am wonding what's the point of the 'reserved word' if someone use them by mistake if no error is thrown?

Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic