Re: tld files inside jars are not auto discovered

2005-11-27 Thread Aaron Loucks
The typo was in both the jsp and the tld, so it canceled itself out. The issue was with META-INF afterall. Even thought the extracted jar file had the META-INF folder in uppercase, the original (pre-jar) directory was not in uppercase. I'm guessing that the jar/zip format recoginizes the files:

Re: tld files inside jars are not auto discovered

2005-11-27 Thread Bill Barker
What can I say. I just tried copying your TLD, and created two useless classes to implement the Tags, and copied your JSP to webapps/ROOT. It all worked fine. You can try checking that the .tld file ends in a lower-case ".tld", but I don't know what else to suggest. For what it's worth, here

Re: Displaying PDF's within a servlet

2005-11-27 Thread pc leung
Is the Apache FOP okay for you? It supports servlets generating PDF page. On 11/26/05, Mark <[EMAIL PROTECTED]> wrote: > Check out either PDFBox, it allows you to convert PDF pages into JPG. > > > On 11/23/05, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > > > > From: Khawaja Shams [mailto:[E

Re: reading file in ServletContextListener

2005-11-27 Thread Wendy Smoak
On 11/27/05, Werner van Mook <[EMAIL PROTECTED]> wrote: > To make it more clear of what I try to do here is the complete method > in which I try to read a file. > > private void list() throws Exception { > XMLReader parser = XMLReaderFactory.createXMLReader( > "org.ap

Re: reading file in ServletContextListener

2005-11-27 Thread Werner van Mook
To make it more clear of what I try to do here is the complete method in which I try to read a file. private void list() throws Exception { XMLReader parser = XMLReaderFactory.createXMLReader( "org.apache.xerces.parsers.SAXParser"); parser.setContentHandler(n

Re: reading file in ServletContextListener

2005-11-27 Thread Wendy Smoak
On 11/27/05, Werner van Mook <[EMAIL PROTECTED]> wrote: > In my class which implements ServletContextListener I try to read a > file. > it looks like : > parser.parse("friends.xml"); > > When I start tomcat 5.5.12 I get a FileNotFound Exception on the > friends.xml file. > > The file is in th

RE: tld files inside jars are not auto discovered

2005-11-27 Thread Subir Sengupta
You have a typo. uri="http://projects.cofront.net/tablibs/breadcrumbs"; %> Should read: uri="http://projects.cofront.net/taglibs/breadcrumbs"; %> Note: you typed tablibs instead of taglibs. Subir -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker Sent: Sat

Re: help with locale or language.

2005-11-27 Thread Miren Urkijo
Fron the data base i load one xml with this info: the xml encoding is: i pass this xml across one xslt that the encondig is: xmlns:xsl="http://www.w3.org/1999/XSL/Transform";> indent="yes" omit-xml-declaration="yes"/> From the database to the xml is well (URDUÑA-ORDUÑA) but when t

reading file in ServletContextListener

2005-11-27 Thread Werner van Mook
Hi, In my class which implements ServletContextListener I try to read a file. it looks like : parser.parse("friends.xml"); When I start tomcat 5.5.12 I get a FileNotFound Exception on the friends.xml file. The file is in the root of my web-app. I also tried "/friends.xml" but alas it

Re: help with locale or language.

2005-11-27 Thread Mark Thomas
Chances are you are reading the data from the database in one encoding and trying to write it to the JSP in another. However, right now you are trying to do too much at once. Step back from the problem and do some step by step debugging. Start by seeing if you can write a simple JSP (no datab

Re: help with locale or language.

2005-11-27 Thread Miren Urkijo
i dont know what do you say me. i stract from one postgresql database. into the database (into the row ) there is, for example: la ñoña es camión and into the web, when the tomcat shows the page, appears: la ?o?a es cami?n the header of the jsp page is: <%@ page contentType="text/html; charset=i

Re: help with locale or language.

2005-11-27 Thread Mark Thomas
Miren Urkijo wrote: Hello. this is my first question to this list. My name is Miren. I have one great problem for loding tomcat use into my work site: i am running into one suse linux 10 one tomcat 5. i runs well but all the latin characters (ñ, á, í.) appears with one ? which is the pro

help with locale or language.

2005-11-27 Thread Miren Urkijo
Hello. this is my first question to this list. My name is Miren. I have one great problem for loding tomcat use into my work site: i am running into one suse linux 10 one tomcat 5. i runs well but all the latin characters (ñ, á, í.) appears with one ? which is the problem? how can i solve

Re: tld files inside jars are not auto discovered

2005-11-27 Thread Martin Gainty
Aaron are you able to access http://projects.cofront.net/tablibs/breadcrumbs ? I tried just a minute ago and couldnt access this url M- - Original Message - From: "Aaron Loucks" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Sunday, November 27, 2005 1:47 PM Subject: Re: tld files insi

Re: tld files inside jars are not auto discovered

2005-11-27 Thread Aaron Loucks
I double checked the jar file and the META-INF is in uppercase. Still no luck =/ Bill Barker wrote: You need to install your tld in /META-INF/. Paths in jar files are case-sensitive. "Aaron Loucks" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] I can't get TLD auto discove

Re: Another issue with a special character

2005-11-27 Thread Seak, Teng-Fong
Oh yeah, upgrading softwares helps in a lot of situations. I should have thought of it and advised it first. Glad that you've figured it out yourself. FYI, Java has reached 1.5.0_05, so better upgrade it too. Information Architecture wrote: > Teng-Fong, > > I appreciated your suggestio

Re: Failed shutdown of Apache Portable Runtime

2005-11-27 Thread Behrang Saeedzadeh
Hi Bill, Thanks for the reply. If there are no other error messages, then it usually means that you simply > don't have the APR Connector installed. But IMHO this is misleading. Either the error message should change to reflect the absence of APR or no error message should be displayed at all.