You could create a SessionListener and create your bean and bind it to the
session in the sessionCreated method.
-Original Message-
From: Chad Cunningham [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 04, 2004 4:42 PM
To: [EMAIL PROTECTED]
Subject: realms and user initialization
.
Ta
Matt
-Original Message-
From: Jérôme Duval [mailto:[EMAIL PROTECTED]
Sent: 30 July 2004 22:01
To: 'Tomcat Users List'
Subject: Weird stylesheet behavior
I developped a webapp in Windows XP using Tomcat 5.0.24 (the binary
download). Everything is swell on my machine. When I copied
Why would you compare Apache and Tomcat vs. SunONE? Isn't there a lot of
overhead in using the connector and all that? Seems to me a more logical
test would be Tomcat vs SunONE and the most recent version of both, which
Tomcat 4.1.30 is not. I smell bogus test results!
-Original Message-
Is there a binary distribution for Linux (ie a Windows Installer-type
interface)? Or do I have to build it myself?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Well everyone, I'm happy to report that by doing absolutely nothing to
resolve this problem, my application works perfectly! I love how logical
computer science is!
-Original Message-
From: Jérôme Duval [mailto:[EMAIL PROTECTED]
Sent: Monday, August 02, 2004 8:34 AM
To: 'Tomcat Users
, no scientific comparison, and no pointing out which
one is better overall. Please download it yourself, and try with your
application if performance is something you want to find out.
Jérôme Duval wrote:
Why would you compare Apache and Tomcat vs. SunONE? Isn't there a lot
of overhead in using
I developped a webapp in Windows XP using Tomcat 5.0.24 (the binary
download). Everything is swell on my machine. When I copied it to a linux
box (using Fedora 2), on which we installed Tomcat 5.0.27 from source, my
application works, but the stylesheet stuff doesn't show at all. Inline
To redirect to a file put filename.extension System.err will still be in
your prompt window though. The only way you can redirect System.err is
programatically (look at the Java API in the System class (java.lang I
believe...))
-Original Message-
From: Alberto Marino [mailto:[EMAIL
You changed the worng thing! The path is what is typed in the Adress bar and
the docBase is where the content is. So what you actually want is:
!-- Tomcat Root Context --
Context path= docBase=d:/webserver/apache/apache/htdocs
debug=0/
-Original Message-
From: Phillip
I am not sure about this, but your problem seems to be confirming this. I
think the JSPs will not be compiled unless they are part of a web
application, i.e. you are being asked to save it because it isn't a format
your browser recognizes (its not a webpage). In the folder of your
test.jsp, you
Thanks for the pointer! Not running it as a service made it worked. Guess
I'll have to stick to that from now on.
-Original Message-
From: QM [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 06, 2004 5:21 PM
To: Tomcat Users List
Subject: Re: Files, paths and permissions
On Tue, Jul 06,
The thing is that it doesn't seem to want to run as a different user than
the one it is configured to run as (LocalSystem) and I have no idea what
user this represents (I am in WinXP if someone wants to shine some light). I
have these accounts set up:
Administrator
ASPNET
I am having a problem creating a file on a remote computer in one of my
servlets when using Tomcat 5.0.24. The folder for the file is on another
computer (called MSI). I know for a fact that the folders and the file
exist, because a test app returns: \\Msi\nouveau dossier\commande.web when I
go
Yay! Another one ;)
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, July 05, 2004 12:27 PM
To: Tomcat Users List
Subject: Ruth R Wu-Wong/SANTACLARA/ADD/ABBOTT is out of the office.
I will be out of the office starting 06/28/2004 and will not return
Search the mailing list! This question was asked recently...
These messages might be useful...
-Original Message-
From: Frank Zammetti [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 29, 2004 10:04 AM
To: [EMAIL PROTECTED]
Subject: Log rotation HOWTO
I haven't been able to find a clear
Because, if I remember correctly from a previous message on the list, Tomcat
does not validate web.xml files. (Anyone care to confirm this?)
-Original Message-
From: Woodchuck [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 29, 2004 12:10 PM
To: tomcat
Subject: DOCTYPE wrong yet still
I am currently developing a web application using tomcat 5.0.24. The layout
of my application is like so:
frameset rows=180,*,57 framespacing=0 border=0 frameborder=0
frame ...
frameset cols=*,175 framespacing=0 border=0 frameborder=0
frameset rows=35,*
You probably have an error in you jsp file. To test this right a normal html
file with a jsp extension. If you aren't familiar with html, just go to any
website and copy the source of the page and use that...
-Original Message-
From: Cyberjobe [mailto:[EMAIL PROTECTED]
Sent: Wednesday,
You must specify your servlet in the web.xml file. This is how Tomcat knows
what to do when you ask it for Upload_CnW. This might be unnecessary to
mention, but you also have to compile your class before launching Tomcat.
Anything else would just be shots in the dark, since you haven't really told
Corrected a stupid mistake:
You probably have an error in you jsp file. To test this write a normal html
file with a jsp extension. If you aren't familiar with html, just go to any
website and copy the source of the page and use that...
Most commercial databases implement a solution to this problem since it is
fairly common. For MySQL, you must use the InnoDB engine (at least for now).
You use the concept of transaction. To do this, you must turn the AutoCommit
mode to off (some client have this mode off by default, some do not.
Don't know if this will be of any use to you, but if you are using Tomcat
5.0.24, you can define where System.out and System.err are redirected by
Configuring Tomcat under the Logging tab.
-
To unsubscribe, e-mail: [EMAIL
To avoid having to type in -classpath . when you use your JVM add ;.;
after C:\j2sdk1.4.2_01\bin.
The classpath is the variable your JVM uses to figure out where it can find
the classes that it is supposed to use. By adding . you tell it to look in
the directory you are currently in. The
I think you are asking the wrong object for info. You want to know if the
session exists or not, so ask the session! I would use the isNew() method,
rather then getSession(false), simply because the session is the best placed
object to know if it exists or not.
Then your out of luck. The java from a JSP page is always placed into a
package. Becuase of this, you can't have packageless classes.
Tim, perhaps I don't understand what you are saying correctly, but I have no
trouble using classes that are not in a package in my application. Once I am
done
Now I see what you mean. It's just that I never develop with classes that
reuse code that is located in other folders, so the classloader can always
find the classes I need.
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 16, 2004 3:21 PM
To: Tomcat
26 matches
Mail list logo