The example you're citing in there is just a generic example.. ie: if
you had a taglib called tl it would be called in this way.  Not very
useful in itself but there you go.

Uri in this instance would be where the taglib's tld would be located if
it was installed.

Take a look at jakarta's taglib site or the sun taglib tutorial.  There
are lots of taglibs freely available on the web and after a bit of
trawling you should be off and running.

http://jakarta.apache.org/taglibs/

http://java.sun.com/webservices/docs/ea1/tutorial/doc/JSPTags.html

cheers


------------------------------------------------------
Tref Gare
Development Consultant
Areeba
Level 19/114 William St, Melbourne VIC 3000
email: [EMAIL PROTECTED]
phone: +61 3 9642 5553
fax: +61 3 9642 1335
website: http://www.areeba.com.au
------------------------------------------------------
"This email is intended only for the use of the individual or entity
named above and contains information that is confidential. No
confidentiality is waived or lost by any mis-transmission. If you
received this correspondence in error, please notify the sender and
immediately delete it from your system. You must not disclose, copy or
rely on any part of this correspondence if you are not the intended
recipient. Any communication directed to clients via this message is
subject to our Agreement and relevant Project Schedule. Any information
that is transmitted via email which may offend may have been sent
without knowledge or the consent of Areeba."
------------------------------------------------------

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] 
Sent: Thursday, 28 November 2002 1:43 PM
To: Tomcat Users List
Subject: Re: JSP + custom tags (XML)

have you heard of doing something simultaneously? It seems many listees 
have a problem with people doing this.
        I shall check out the Jakarta Project forthwith.

[EMAIL PROTECTED] wrote:

>If the emails direct me to where the material is, rather than telling
me 
>to go look for it, I'll be happy. My last few emails would suggest I am

>looking around for stuff.
> 
>
It would also suggest you are not looking hard enough.

> "You could find or make an xml parsing taglib."
>
>I am trying to find one! Again, any 'direction' from the list, rather 
than 
>vilification, is appreciated!
>
>Paul.
> 
>
There is one in plain sight. I suggest you look around in the jakarta 
project.

>
>
>
>
>You may get a flood of email telling you to read up on taglibs.
>You could find or make an xml parsing taglib.
>
>-AAron
>
> 
>
>>From: [EMAIL PROTECTED]
>>Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
>>To: "Tomcat Users List" <[EMAIL PROTECTED]>
>>Subject: JSP + custom tags (XML)
>>Date: Thu, 28 Nov 2002 09:50:33 +0800
>>
>>Hi,
>>        In my quest to be able to parse a 10 line XML file in a JSP
>>(notice the sarcasm there?) and extract an element value, I have come
>>accross a few PDFs that talk of custom tags - and for the purposes of 
>> 
>>
>XML,
> 
>
>>a taglib directive. In several examples I saw <%@ taglib uri="..."
>>prefix="tl" %> and syntax such as <tl:parse id=...". Can anyone shed 
some
>>light on this please? What is 'uri'? Presuming it was a path to my XML
>>file I plugged in - <%@ taglib uri="myfile.xml" prefix="tl" %>, hoping
I
>>could parse it and extract elements using <tl:parse id=.... etc. 
>> 
>>
>Supplying
> 
>
>>the XML file below, I was given the error in the browser:
>>
>>org.apache.jasper.JasperException: XML parsing error on file 
/myfile.xml:
>>(line 3, col -1): Element type "books" is not declared.
>>
>><?xml version="1.0" encoding="ISO-8859-1"?>
>><books>
>>
>>    <book isbn="123">
>>        <title>1</title>
>>        <quantity>10</quantity>
>>        <price>$17.95</price>
>>    </book>
>>
>></books>
>>
>>What have I stumbled upon? Am i way off thinking I can use this syntax

to
>>parse my XML file? What is the significance of the error displayed?
>>
>>Thanks very much
>>
>>paul.
>> 
>>
>
>
>_________________________________________________________________
>Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
>http://join.msn.com/?page=features/featuredemail
>
>
>--
>To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>
>
>
> 
>



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




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

Reply via email to