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

Tag files

 
Vineela Devi
Ranch Hand
Posts: 191
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Somewhere I read tht We can use both .tag and .tagx as extensions for tag files.

I have tried this:

firstTag.tagx:
<jsp oBody/>

index.jsp
<%@ taglib tagdir = "/WEB-INF/tags" prefix = "first" %>

<first:firstTag>Welcome user</first:firstTag>

Iam getting an error tht The prefix "jsp" for element "jsp oBody" is not bound

the same thing I tried changing the extension .tag and it is working fine.

Anyone pls clarify

Regards,
Vineela
 
Narendra Dhande
Ranch Hand
Posts: 951
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.
Try this. It should work. When the extension is .tagx, the tag is in XML document format.



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