This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
Similar Threads
Tag file directives and actions
tag file - tagdependent and scripting
Tag file attribute not evaluated
difference between jsp:doBody and jsp:invoke actions
Valid Directives and standard actions with Tag files.