and provides a reference to the
session.
The API documentation for that method should have said something like:
"This method is called *upon receiving notification* that this object is being
unbound from the *invalidated* session."
Thanks, again.
Still, though, what is a "glo
Hassan,
Also, I don't understand the difference between a "global" and a "non-global"
listener approach. Can you explain? Thanks.
Thanks.
Hassan Schroeder wrote:
Franklin Phan wrote:
I'm trying to code a method to clean up specifically named files
insid
ay, "...and that object receives the event, it still knows its attributes."
What do you mean by "object"? Which object?
Thanks.
Hassan Schroeder wrote:
Franklin Phan wrote:
I'm trying to code a method to clean up specifically named files
inside a working dir (in W
ndingListener and define your own
valueBound and valueUnbound methods.
DarekC
On Fri, 2005-08-26 at 13:08, Franklin Phan wrote:
Is there a way to set Tomcat to call listeners before invalidate() is called on
a session?
I'm trying to code a method to clean up specifically named files insid
Is there a way to set Tomcat to call listeners before invalidate() is called on
a session?
I'm trying to code a method to clean up specifically named files inside a working dir (in Windows XP) whenever the session times out. I can't seem to find a way to do it. Apparently,
invalidate() is call
I installed two instances (two separate installations) of Tomcat 4.1.18 onto my computer. How do I have them both as services that start automatically whenever my machine starts? I use
Windows XP.
Thanks.
-
To unsubscribe, e
Jay,
I did that just last night. I got:
C:\Program Files\Apache Group\Tomcat 4.1\webapps\htmaint\WEB-INF\work_xml
Franklin Phan
Cygna Energy Services
www.cygna.net
Jay Burgess wrote:
Why don't you do:
System.out.println(getServletContext().getRealPath(XML_WORK_PATH));
And see wh
MAIL PROTECTED]
Sent: Thursday, August 25, 2005 4:21 PM
To: Tomcat Users List
Subject: Re: Malformed URL Exception: unknown protocol: c
I assume becuase the url you pass it starts c:\ as that is the start
of the XML_WORK_PATH. You need to prefix it with file:/// (or however
many slashes you need
AIL PROTECTED]
Sent: Thursday, August 25, 2005 4:21 PM
To: Tomcat Users List
Subject: Re: Malformed URL Exception: unknown protocol: c
I assume becuase the url you pass it starts c:\ as that is the start
of the XML_WORK_PATH. You need to prefix it with file:/// (or however
many slashes you need to g
In RUNNING.txt, a paragraph says:
"In many circumstances, it is desirable to have a single copy of a Tomcat 4
binary distribution shared among multiple users on the same server. To make
this possible, you must configure a CATALINA_BASE environment variable (in
addition to CATALINA_HOME as descri
I use Windows XP Pro. My JAVA_HOME environment variable points to c:\j2sdk1.4.2_05. The CLASSPATH is set to have as the first element "%JAVA_HOME%\bin". I've written an XSL Transform servlet
that makes use of the package javax.xml.transform. Why do I get the following error:
javax.servlet.Ser
Instead of having one Tomcat on each machine, we'd like to try to fit multiple
on one. Any advice on how to go about that? We use Windows XP. How would the
start/stop services work then? I
presume that we will need a different port number for each Tomcat install.
Thanks.
--
I have not been able to start my web app. I am using Tomcat 5.0.?. Everytime I go to
the URL, I get "The requested resource (/xyz) is not available" error.
I go to look in the launcher.server.log file and see the following:
SEVERE: Exception sending context initialized event to listener instance
be some caching that prevents you from seeing the
correct result.
Try creating a new jsp from scratch and do it again.
-Original Message-
From: Franklin Phan [mailto:[EMAIL PROTECTED]
Sent: Monday, April 25, 2005 6:34 PM
To: Tomcat Users List
Subject: Re: Expression Languange not working for
om/xml/ns/j2ee/web-app_2_4.xsd"; >
Fredrik Liden wrote:
Try this:
http://java.sun.com/xml/ns/j2ee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd&q
This is what my web.xml file contains:
http://java.sun.com/dtd/web-app_2_3.dtd";>
What do I change?
Fredrik Liden wrote:
Check your web.xml file to make sure you're using the 2.4 dtd and not
2.3 or lower.
Fredrik
-Original Message-
From: Franklin Phan [mailto:[EMAIL PRO
I am running Tomcat 4.1.18 and 5.0.x.
I tried the following HTML and JSP using EL, and am not getting the correct
response from either Tomcat version.
I have the following HTML:
Name:
And the following JSP:
<%@ page isELIgnored ="false" %>
Request param name is: ${param.name}
17 matches
Mail list logo