Title:
taglib1
Sorry for being slightly off topic but I was hoping someone could push me in
the right direction:
I receive the following error:
org.apache.jasper.JasperException: No such tag device in the tag library
imported with prefix mywds
at
org.apache.jasper.compiler.TagLibraries.isUserDefinedTag(TagLibraries.java:96)
If anyone has seen this though Tomcat 3.2 before and knows of a solution,
please give me a shout.
Thanks for your time,
Tim.
The tld(snip):
1.0
1.1
device
com.mywds.taglib.deviceTag
JSP
the jsp:
<%@ page errorPage="taglib1ErrorPage.jsp" %>
<%@ taglib uri="configurator.tld" prefix="mywds" %>
and the class:
package com.mywds.taglib;
import javax.servlet.jsp.*;
import javax.servlet.jsp.tagext.*;
import java.io.*;
public class deviceTag extends BodyTagSupport
{
public int doAfterBody()
{
try
{
BodyContent body = getBodyContent();
JspWriter toBrowser = body.getEnclosingWriter();
toBrowser.print( body.getString() );
}
catch( IOException e )
{
System.out.println( "Error writing to out: "+e.toString() );
}
return (SKIP_BODY);
}
}
---------------------
It's not what you know, it's who you tell.
-----------------------
"Pure seduction! Now available in bunches visit
http://www.flowers2send.com fresh flowers delivered next day from Holland"
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]
