k. thx for the reply.
.jsp is in the app. root folder.
.tld is in same folder.
.class is also in same folder/tried in classes folder.
..not aware of .tld mappings...in web.xml
ref:
http://www.onjava.com/pub/a/onjava/2000/12/15/jsp_custom_tags.html
Thanks.

tld file.

<?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>oreillySamples</shortname>
        <info>OReilly Sample Tag library</info>
  <!--A Simple tag -->
  <tag>
    <name>hello</name>
    <tagclass>Hello</tagclass>
  <!--Body content can have a value of 
         empty: no body 
      JSP: body that is evaluated by container, then
possibly processed by the tag 
      tagdependent: body is only processed by tag; JSP
in body is not evaluated.
   -->
    <bodycontent>empty</bodycontent>
    <info>
        This is a simple hello tag.
    </info>
  <!-- Optional attributes  -->
  <!-- personalized name -->
  <attribute>
      <name>name</name>
      <required>false</required>
      </attribute>
</tag>
</taglib>

--- QM <[EMAIL PROTECTED]> wrote:

> On Thu, Aug 19, 2004 at 03:17:50PM -0700, Java
> Techie wrote:
> : Deploying my first Custom Tag Example; 
> : .tld, .jsp, .class are in place..any other
> : configuration reqd?
> 
> Details work wonders.
> Instead of saying "in place," why not show:
> - where's the class file(s)
> - where's the tld(s)
> - the TLD mapping(s) in web.xml
> 
> -QM
> 
> -- 
> 
> software  -- http://www.brandxdev.net
> tech news -- http://www.RoarNetworX.com
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 



                
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to