Custom Tag in jsp
Helloi everybody ya,
This is about custom tags in JSP.But whenever i try to call jsp it givec thefolloeing error.
"org.apache.jasper.compiler.CompileException: E:\jakarta-tomcat-3.2.3\webapps\ROOT\JustChecking\ FirstTag.jsp(9,50) Unable to open taglibrary /Web-inf/tlds/DemoTags.tld : Parse Error in the tag library descriptor: Expected "" to terminate element starting on line 16."
I've build a folder in websphere /webapps/roots dir. and put my jsp/java class files their and also put the same folder in /webapps/roots/web-inf/classes here i also put .tld file. shd i also change web.xml
Code for my .tld file is
"""
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
"http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd"> <taglib>
<tlibversion>1.0</tlibversion>
<jspversion>1.1</jspversion>
<shortname>DemoTags</shortname>
<uri>http://www.stardeveloper.com</uri>
<info>Demo Tags Library</info>
<tag>
<name>firsttag</name>
<tagclass>JustChecking.FirstTag</tagclass>
<bodycontent>empty</bodycontent>
<info>Your first JSP Tag</info> <attribute>
<name>name</name>
<required>false</required>
</attribute>
</tag>
</taglib>

