File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
REST with Spring (video course)
this week in the
Web Component Certification (SCWCD/OCPJWCD)
Joined: Dec 20, 2003
Nov 19, 2005 01:02:00
Somewhere I read tht We can use both .tag and .tagx as extensions for tag files.
I have tried this:
<%@ taglib tagdir = "/WEB-INF/tags" prefix = "first" %>
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
Joined: Dec 04, 2004
Nov 19, 2005 03:52:00
Try this. It should work. When the extension is .tagx, the tag is in XML document format.
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"> <jsp :mrgreen: oBody /> </jsp:root>
SCJP 1.4,SCWCD 1.4, SCBCD 5.0, SCDJWS 5.0, SCEA 5.0
I agree. Here's the link:
subject: Tag files
difference between jsp:doBody and jsp:invoke actions
tag file - tagdependent and scripting
Tag file attribute not evaluated
Valid Directives and standard actions with Tag files.
Tag file directives and actions
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015