A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
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:
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: Tag files
tag file - tagdependent and scripting
difference between jsp:doBody and jsp:invoke actions
Valid Directives and standard actions with Tag files.
Tag file attribute not evaluated
Tag file directives and actions
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013