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:
html
body
form action=TestBean.jsp
Name: input type=text name=namebr
input type=submit
/form
/body
/html
And the
you're using the 2.4 dtd and not
2.3 or lower.
Fredrik
-Original Message-
From: Franklin Phan [mailto:[EMAIL PROTECTED]
Sent: Monday, April 25, 2005 6:04 PM
To: tomcat-user@jakarta.apache.org
Subject: Expression Languange not working for me
I am running Tomcat 4.1.18 and 5.0.x.
I tried
://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd;
/web-app
-Original Message-
From: Franklin Phan [mailto:[EMAIL PROTECTED]
Sent: Monday, April 25, 2005 6:24 PM
To: Tomcat Users List
Subject: Re: Expression Languange not working for me
This is what my web.xml file contains:
?xml version=1.0
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 me
It doesn't
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
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 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:
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
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 get this to work in windows).
Mark
Franklin Phan wrote:
I use Windows XP Pro. My JAVA_HOME environment variable points
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 get this to work in windows).
Mark
Franklin Phan wrote:
I use Windows XP Pro. My JAVA_HOME environment variable points to
c
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 what
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,
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
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 inside a working dir (in Windows
/
%
session.setAttribute(sessionListener, listener);
%
What you say, ...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
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
inside a working dir (in Windows XP
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 global listener approach?
Franklin Phan wrote
17 matches
Mail list logo