File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

Tag files

Vineela Devi
Ranch Hand

Joined: Dec 20, 2003
Posts: 191
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

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



Thanks


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