RE: Packaged TAGLIB

2001-05-22 Thread Robert Petersen
AM To: Tomcat-User Subject: Re: Packaged TAGLIB Hi Robert, Try the following: <%@ taglib uri="/WEB-INF/lib/yourjar.jar" prefix="util" Gilles On Mon, 21 May 2001, Robert Petersen wrote: > > I am having a problem when I try to package up my tag libraries. They seem &

Packaged TAGLIB

2001-05-21 Thread Robert Petersen
I am having a problem when I try to package up my tag libraries. They seem to work when the are not packaged. When I try to access a page that uses my custom tags I get an exception that states: org.apache.jasper.JasperException: File "/util" not found The full exception is at the end. The jsp

Packaged TAGLIB

2001-05-21 Thread Robert Petersen
I am having a problem when I try to package up my tag libraries. They seem to work when the are not packaged. When I try to access a page that uses my custom tags I get an exception that states: org.apache.jasper.JasperException: File "/util" not found The full exception is at the end. The jsp f

RE: Custom Tag Problem

2001-05-21 Thread Robert Petersen
I don't think your tag should compile because you can't have a getClass() method. Reason being that getClass() lives on java.lang.Object and is final, i.e. you can't override it. - Robert Petersen http://www.orangefood.com -Original Message- From: Kevin Long [mailto:[

RE: web.xml layout

2001-05-19 Thread Robert Petersen
It matters, and doesn't have to do with SAX vs. DOM, it's because of the DTD - check out this bit of the DTD: This says that the "servlet-mapping" tags must follow all of the "servlet". Basically the tags must be in the order above. - Robert Petersen http://www.

RE: Log bytes sent in each response

2001-05-18 Thread Robert Petersen
If you are using Servlets 2.3 API then try a filter. - Robert Petersen http://www.orangefood.com -Original Message- From: Wong Liong Hung [mailto:[EMAIL PROTECTED]] Sent: Friday, May 18, 2001 6:06 AM To: [EMAIL PROTECTED] Subject: Log bytes sent in each response Hi, How to log

RE: where would I put a properties file?

2001-05-18 Thread Robert Petersen
I think that WEB-INF is the right place. I put my .properties files in WEB-INF/config/ and refer to that path thusly: ../webapps/of/WEB-INF/config where "of" is the name of my context. What problems are you having? - Robert Petersen http://www.orangefood.com -Original Message

RE: SessionListener

2001-05-17 Thread Robert Petersen
Yup - My web.xml looks like this:         com.orangefood.java.servlet.http.SessionTracker    Make sure the listerer tags are after any tags and before any tags. Then just make sure your class is in a .jar in the WEB-INF/lib or in the right directory in the WEB-IN

RE: Tomcat/Xalan

2001-05-04 Thread Robert Petersen
Just FYI - Xerxes is a parser and Xalan is for XML Transformations (XSLT), they do two different things and both are from Apache. - Robert Petersen http://www.orangefood.com -Original Message- From: Noel E. Lecaros [mailto:[EMAIL PROTECTED]] Sent: Friday, May 04, 2001 12:39 PM To

RE: Tomcat/Xalan

2001-05-04 Thread Robert Petersen
Not sure if your are interested in jumping to Tomcat 4.0b3 but I'm using it and having no problems at all. - Robert Petersen http://www.orangefood.com -Original Message- From: Dante le Poole [mailto:[EMAIL PROTECTED]] Sent: Friday, May 04, 2001 9:26 AM To: Tomcat User Subject: T