jQuery in Action, 3rd edition
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Tag files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Tag files" Watch "Tag files" New topic

Tag files

Vineela Devi
Ranch Hand

Joined: Dec 20, 2003
Posts: 191
Somewhere I read tht We can use both .tag and .tagx as extensions for tag files.

I have tried this:

<jsp oBody/>

<%@ 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

Narendra Dhande
Ranch Hand

Joined: Dec 04, 2004
Posts: 951
Try this. It should work. When the extension is .tagx, the tag is in XML document format.


Narendra Dhande
SCJP 1.4,SCWCD 1.4, SCBCD 5.0, SCDJWS 5.0, SCEA 5.0
I agree. Here's the link: http://aspose.com/file-tools
subject: Tag files
It's not a secret anymore!