JSP on Tomcat: application scope variable

2006-03-04 Thread Rahul
Hi, I have a simple web application which has two JSP pages and some class files containing implementation/logic. These are invoked from the JSP files. I want to store some values e.g. properties from a properties files in the application scope (or alike) so that in my class files I can read th

help with context fragments (+virtual hosts) under windows

2006-03-04 Thread Tim Diggins
Hi - I've never used context fragments to deploy before (have either put context fragments into the server.xml, old tomcat4 style, or have used web/ant interface for deployment, or just dropped wars into webapps). so I'm now trying to use the context fragment method and have been tearing my

ant reload question

2006-03-04 Thread Jesus Antonio Sanchez Antunez
Hi. When I compiled some classes using the ant task ReloadTask from the sample build.xml, it doesn't reload the new compiled classes in tomcat. The only way that I found it does that is when I remove and reinstall the app. Do I have to wait for that behaviour, or am I doing something wrong. Thank

RE: Form login UTF-8 username problem

2006-03-04 Thread Daniel Blumenthal
As a security concern, you might not want to allow full UTF-8 usernames. There are a number of invisible characters (from the soft hyphen to various connector characters) which people can use to spoof other users' names. Daniel > -Original Message- > From: Mark Thomas [mailto:[EMAIL PROT

Re: double cluster in one server.xml?

2006-03-04 Thread Filip Hanik - Dev Lists
sweet! Peter Rossbach wrote: Yes, look at SimpleTcpCluster private String getManagerName(String name, Manager manager) { String clusterName = name ; if(getContainer() instanceof Engine) { Container context = manager.getContainer() ; if(context != nul

Re: double cluster in one server.xml?

2006-03-04 Thread Peter Rossbach
Yes, look at SimpleTcpCluster private String getManagerName(String name, Manager manager) { String clusterName = name ; if(getContainer() instanceof Engine) { Container context = manager.getContainer() ; if(context != null && context instanceof Context

Re: double cluster in one server.xml?

2006-03-04 Thread Filip Hanik - Dev Lists
if you have an engine cluster and two webapps with the same name, one in each host, how does it know which one it is? Filip Peter Rossbach wrote: Yes, you must use different domains, but you can also used an engine level cluster module, className="org.apache.catalina.cluster.tcp.SimpleT

Question about Serialized User Principal Object...

2006-03-04 Thread John C. Dale
I'm using Tomcat 5.0.28 on Linux (FC4) and Windows (2k). I would like my users to avoid the login process to streamline access to authentication-protected content. All information in the session is serialized do disk when I bounce the Tomcat process. However, the Principal object is not. I've o

Re: JNDIRealm and LDAP

2006-03-04 Thread Felix Schumacher
Am Mittwoch, den 01.03.2006, 08:40 +0100 schrieb Leucht, Axel: > Hi, > > I'm currently trying to protect a tomcat web-app via LDAP. This application > handled the protection against a LDAP server with a customized login > procedure before. As there is now some more sensible content in the web-ap

RE: log and output ?

2006-03-04 Thread Tim Lucia
A forward simply passes the same request from f0.jsp along to f1.jsp. Nobody actually requests f1.jsp, so you will not see such a request in the access log. Had f0 redirected to f1 (response.sendRedirect("...f1.jsp")) then you would see a second request. You should see both printlns in stdout_xxx

Re: double cluster in one server.xml?

2006-03-04 Thread Peter Rossbach
Yes, you must use different domains, but you can also used an engine level cluster module, className="org.apache.catalina.cluster.tcp.SimpleTcpCluster" /> ... regards Peter Am 02.03.2006 um 17:38 schrieb Filip Hanik - Dev Lists: I'm gonna let Peter Rossbach give you t

Q: log and output ?

2006-03-04 Thread P Y
Hi, I have 2 pages p0.jsp and p1.jsp ==> f0.jsp <== F0 ... <% System.out.println(" IN F0 "); // goes to catalina.out %> ==> f1.jsp <== F1 ... only the access to f0.jsp is logged in access_log, and only the f0 println is printed in catalina.out. Is this behaviour a bug or per design