Re: How to hide login pages

2001-08-03 Thread djhutchison
I thought of this but I don't think this will work. Login is a special case. If the user has not yet logged in and they enter a URL to a page (any valid page) the container (Tomcat) automatically returns the login page and then AFTER successful login redirects them to the page. Therefore whether

Re: How to hide login pages

2001-08-03 Thread djhutchison
I am not validating the form. I'm using the FORM authentication provided by Tomcat, so Tomcat is validating the form. Dave Chad Wray <[EMAIL PROTECTED]> on 08/02/2001 10:32:55 AM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: Re: How to hide login pages Are yo

How to hide login pages

2001-08-02 Thread djhutchison
I'm using FORM authentication and I would like to hide the login JSP files so the users don't access them directly. For example, I don't want the user to be able to enter the URL http://myserver/mywebapp/mylogin.jsp since this will not work (since there is no original url to redirect them to they

RE: How can I logoff

2001-07-31 Thread djhutchison
I'm using form authentication and used session.invalidate(). This works great but the browser may be cacheing your logoff page, in which case you may get some unexpected results if you logoff and back in more than once. You need to disable the page cacheing. I used the following in the head sectio

Re: question about WEB-INF/lib

2001-07-27 Thread djhutchison
Oh, I'm so embarrased! I should have actually LOOKED at our tomcat.bat/sh files. We had created a 'realm' for our own custom authentication. The new classes are in the same packages as our webapp classes, so someone added our webapp/WEB-INF/classes directory to the classpath for tomcat. Very bad!

Re: Default folder in Tomcat

2001-07-27 Thread djhutchison
If you don't want to be tied to the servlet you could use the class loader by doing something like one of the following: // Use this if you don't care where the file is located (just doing reads) this.getClass().getResourceAsStream("xyz.properties") // Use this if need to know where the file is

Re: howto redirect

2001-07-26 Thread djhutchison
I asked this on another thread of discussion but never got an answer. Is this automatic redirection to SSL new for Tomcat 4.0? I'm using 3.2.3 and when I set this user-data-constraint it appears that Tomcat verifies access via SSL but does not redirect if it is not. From your response below I ass

Re: question about WEB-INF/lib

2001-07-25 Thread djhutchison
This is my workaround as well, but it is not a very good solution. I often have multiple webapps running that need different versions of the same jar file. This becomes a real pain. Thanks, Dave john regan <[EMAIL PROTECTED]> on 07/24/2001 05:20:39 PM Please respond to [EMAIL PROTECTED] To

Re: question about WEB-INF/lib

2001-07-25 Thread djhutchison
I'm running on NT (development) and Redhat Linux (production). startup.bat and startup.sh (actually tomcat.bat/tomcat.sh) add the jar files from tomcat/lib to the classpath but do not add jars from WEB-INF/lib of the individual webapps. Thanks, Dave Joseph D Toussaint <[EMAIL PROTECTED]> on

Re: question about WEB-INF/lib

2001-07-24 Thread djhutchison
I see this problem, too. I'm using Tomcat 3.2.x. It appears to me to be a bug. I've seen others with this problem on this mailing list. Can anyone verify that this actually does work? (Just trying to add some weight to your claim and get it fixed if it is a bug. :o) Thanks, Dave Joseph D To

Re: Which comes first basic authentication or redirection to SSL?

2001-07-24 Thread djhutchison
Is automatic redirection to SSL supported in 3.2.x? Is this a 4.0 feature? I'm currently redirecting to SSL through brute force in my JSP page. How do I configure Tomcat to redirect automatically? Can anyone point me to a good resource on configuring Tomcat? Thanks, Dave "Craig R. McClanaha

Wrong scope for scripting variable

2001-07-23 Thread djhutchison
Hi, I've written some custom JSP tags that create scripting variables to be used in a JSP page. These tags are nested. I use the VariableInfo.AT_BEGIN for the scope in my VariableInfo objects. The JSP 1.1 specification indicates that the scope of my variables should be from the start tag to the e