Results 1 to 1 of 1
Thread: How to tld value
- 04-14-2009, 09:08 AM #1
How to tld value
Hi Folks,
i want to call the tld value in my jsp page.
here is my tld:
my jsp:Java Code:<taglib> <tlibversion>1.0</tlibversion> <jspversion>1.1</jspversion> <shortname>search</shortname> <info>TagLib for the regain search engine</info> <tag> <info> Writes a link to the current hit's document. For the link text the title is used. This tag must be inside a link tag. </info> <name>hit_link</name> <tagclass>com.test</tagclass> <bodycontent>empty</bodycontent> <attribute> <description> The CSS style sheet class to use for the link. </description> <name>class</name> <required>false</required> </attribute> </tag>
Regards,Java Code:<%@page contentType="text/html; charset=UTF-8" errorPage="errorpage.jsp"%> <%@taglib uri="test.tld" prefix="search" %> <%@ page language="java" import="java.util.*,java.sql.*,java.net.*,java.io.*" %> <%System.out.println(%><search:hit_link/><%);%>
Jazzvisit : www.yoteam.co.cc


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks