This week's book giveaway is in the Android forum.
We're giving away four copies of Android Programming: The Big Nerd Ranch Guide and have Bill Phillips & Chris Stewart on-line!
See this thread for details.
Win a copy of Android Programming: The Big Nerd Ranch Guide this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Tag files  RSS feed

 
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
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!