Re: Problems with Tomcat and xml files

2006-11-07 Thread Juanjo Cuadrado
hi Chris... I have achieved (a parcial solution) to solve my problem... I have used the methods "getFirstChild().getNodeValue()" instead of "getTextContent()"... I know that this isn't a final solution, but I needed it... I promise to continue working with this... and improve my English t

Re: Include Directive

2006-11-07 Thread Juanjo Cuadrado
Hi, Can you try the follow: <%@ include file="*/header.jsp*" %> I think that this will work fine. 2006/11/7, Justin Jaynes <[EMAIL PROTECTED]>: Hello, I am trying to eliminate unnecessary duplication of code by using include directives. Currently my directory structure is like this:

Re: Why can java.io.NotSerializableException occur?

2006-11-07 Thread Juanjo Cuadrado
Hi, maybe the problem is that tomcat is trying to do anything with the session and it is trying to write you object for sesion persistence... 2006/11/7, starki78 <[EMAIL PROTECTED]>: We have a crash at tomcat 4. The thing I don't understand is the fact that the class causing this error has

Problems with Tomcat and xml files

2006-11-07 Thread Juanjo Cuadrado
Hi, I'm developing a Web application and I'm having problems to deploy it in a Tomcat server. To develop, I use NetBeans 5.0 (jdk 1.5) and I debug with Tomcat 5.5.9 that NetBeans has inside. In the development environment all works fine, but when I try to deploy it (the application) in a pre-pro

Re: About connections

2006-10-24 Thread Juanjo Cuadrado
Thanks Chuck 2006/10/23, Caldarale, Charles R <[EMAIL PROTECTED]>: > From: Juanjo Cuadrado [mailto:[EMAIL PROTECTED] > Subject: About connections > > When I try to recover a connection, I use the Tomcat's > pool connections, that it work fine too if I previously &

About connections

2006-10-23 Thread Juanjo Cuadrado
Hi I'm trying to deploy an app and it needs to use the Oracle's drivers ( classes12.jar). When I try to recover a connection, I use the Tomcat's pool connections, that it work fine too if I previously have put the Oracle's jar into 'common' directory. If by some razon, I didn't recover

Re: Problem with HttpSessionListener

2006-10-11 Thread Juanjo Cuadrado
e received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents - Original Message - From: "Juanjo Cuadrado" <[EMAIL PROTECTED]> To: Sent: Wednesday, October 11, 2006 8:09 AM Subject: Problem with HttpS

Problem with HttpSessionListener

2006-10-11 Thread Juanjo Cuadrado
Hi, I'm trying to create a listener in my application. I have created a listener class that implements HttpSessionLister and I have put the element in my web.xml. My listener class only sets a object in the session (getSession().getAttribute("k", "kk")), but when I try to recover this

Re: How to notify user ...

2006-05-29 Thread Juanjo Cuadrado
**There is a post "Run class in the start up of Tomcat" that explains how to notify when Tomcat is starting/stoping... I think than there you can find an answer... 2006/5/29, Mladen Adamovic <[EMAIL PROTECTED]>: Mir Kasim Ali wrote: > I want to configure my tomcat server for sending sms to th

Re: Run class in the start up of Tomcat

2006-05-29 Thread Juanjo Cuadrado
lass? You can load a servlet at the application level. load-on-startup in the servlet class element in the web.xml of the app. Scored srm.Scored 1 The number indicates the order that the servlet is loaded. As for a class you will need to look into the class

Run class in the start up of Tomcat

2006-05-15 Thread Juanjo Cuadrado
Hi, I'm trying to run a class in startup of Tomcat. I think that this was possible in others versions of Tomcat (I just started with Tomcat 5). I think that it was a property in someone element of server.xml that allowed this. Anyone can help me? I hope that yes ;) tx