Expression Languange not working for me

2005-04-25 Thread Franklin Phan
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

Re: Expression Languange not working for me

2005-04-25 Thread Franklin Phan
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

Re: Expression Languange not working for me

2005-04-25 Thread Franklin Phan
://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

Re: Expression Languange not working for me

2005-04-26 Thread Franklin Phan
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

Getting Log4JLogger errors when attempting to start web app

2005-04-26 Thread Franklin Phan
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

Multiple Tomcats on the same machine possible?

2005-08-25 Thread Franklin Phan
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.

Malformed URL Exception: unknown protocol: c

2005-08-25 Thread Franklin Phan
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:

Single copy of Tomcat shared amongst multiple users

2005-08-25 Thread Franklin Phan
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

Re: Malformed URL Exception: unknown protocol: c

2005-08-25 Thread Franklin Phan
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

Re: Malformed URL Exception: unknown protocol: c

2005-08-25 Thread Franklin Phan
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

Re: Malformed URL Exception: unknown protocol: c

2005-08-25 Thread Franklin Phan
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

Setting up mutiple Tomcats as services

2005-08-25 Thread Franklin Phan
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,

invalidate session after calling listeners

2005-08-26 Thread Franklin Phan
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

Re: invalidate session after calling listeners

2005-08-26 Thread Franklin Phan
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

Re: invalidate session after calling listeners

2005-08-29 Thread Franklin Phan
/ % 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

Re: invalidate session after calling listeners

2005-08-29 Thread Franklin Phan
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

Re: invalidate session after calling listeners

2005-08-29 Thread Franklin Phan
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