Re: http session lost between struts action

2005-06-26 Thread Torsten Römer
But they use Struts, where URL rewriting is done automatically if cookies are disabled, presumed the relevant tags are used rather than plain HTML links, for example. Maybe that's the problem, that in some link, form action or redirect the jsessionid is missing. Then of course the session is

Re: AW: Container Managed Security and mod_jk/Static Contents

2005-06-18 Thread Torsten Römer
If I use htaccess, is the user not going to be prompted an authentication dialog? That would be not so nice, if the user has already completed the form based authentication, and then has to authenticate for htaccess as well. I guess what I want to do is simply not possible and doesn't make

Re: Container Managed Security and mod_jk/Static Contents

2005-06-17 Thread Torsten Römer
Sorry, should have mentioned that. Using form based authentication. Gurumoorthy schrieb: how do you authenticate ? basic ? form based ? - Original Message - From: Torsten Rmer [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Thursday, June 16, 2005 11:42 PM

Re: Funny JAR file, WAS: Class.forName() gives NoClassDefFoundError

2005-06-08 Thread Torsten Römer
... Is this an Ant or Tomcat issue? Torsten Torsten Römer schrieb: Hello! I am currently trying to migrate a webbased cashregister system from BEA Weblogic 6.1/JDK 1.3.1 to Tomcat 5.0.25/JDK 1.4.2. After making some minor changes the application seems to work, and it also seems to run a lot faster

Re: Tomcat 5.5.9: NamingException cannot be resolved or is not a type - JNDI, MySQL

2005-06-08 Thread Torsten Römer
Greg Brownell schrieb: I have. Here is what I have at top of jsp: %@ page import=java.sql.* % %@ page import=javax.sql.DataSource % %@ page import=javax.naming.InitialContext % %@ page import=javax.naming.Context % %@ page import=java.io.File % You are missing javax.naming.NamingException

Re: Funny JAR file, WAS: Class.forName() gives NoClassDefFoundError

2005-06-08 Thread Torsten Römer
Jason Bainbridge schrieb: On 6/8/05, Torsten Römer [EMAIL PROTECTED] wrote: Just want to follow up on this. Originally, the classes under /WEB-INF/classes were in a JAR file, which I put in /WEB-INF/lib, but like this I always got NoClassDefFoundError. So I thought there may be something

Class.forName() gives NoClassDefFoundError

2005-06-07 Thread Torsten Römer
Hello! I am currently trying to migrate a webbased cashregister system from BEA Weblogic 6.1/JDK 1.3.1 to Tomcat 5.0.25/JDK 1.4.2. After making some minor changes the application seems to work, and it also seems to run a lot faster. I have one problem though: The application does a lot of

Re: Where are the results of a System.out.println command ?

2005-05-30 Thread Torsten Römer
Jean-Luc Douville said: I am running a servlet under Mac Os X Tomcat jakarta-tomcat-5.0.28. That servlet has a System.out.println(userAgent ** : +userAgent); command. On my PC i found the result of the same command (and other) in the DOS window that logs the tomcat's processes (serving the

Re: configure tomcat to protect authentification

2005-05-30 Thread Torsten Römer
henry human said: Hey, i'm new in Tomcat. I installed tomcat 4.1.29 and Why do you use such an old version? I'd recommend to use Tomcat 5 or maybe even 5.5 create some Servlets and put dem to Tomcat_Home/webapps/MyProject/WEB-INF/classes Now i will, that tomcat ask for login, for the first

Re: Performing an action on form-based login

2005-05-24 Thread Torsten Römer
request made by the redirect causes a clean new session to be created. At least I can say it works fine for me. On 5/22/05, Torsten Römer [EMAIL PROTECTED] wrote: This question has been asked (and answered to) earlier, but I am still unsure: I am using container managed security with form-based

Performing an action on form-based login

2005-05-22 Thread Torsten Römer
This question has been asked (and answered to) earlier, but I am still unsure: I am using container managed security with form-based authentication. I am really happy with how it works. But now I would like to perform an action when a user has authenticated, such as loading user preferences