Re: Java servlets

2007-08-29 Thread Glenn McCall
In a nutshell, once you forward you should ensure nothing else is sent to the output. Similarly once you start outputing a page, don't change your mind and forward. Thus your code should look something like this: if (errorMessage != null) { response.sendRedirect (request.get

Re: Authentication and authorization questions

2007-08-29 Thread Glenn McCall
Below... I hope it helps Glenn Mc - Original Message - From: "lightbulb432" <[EMAIL PROTECTED]> To: Sent: Wednesday, August 29, 2007 2:33 PM Subject: Authentication and authorization questions I have several questions about authentication and authorization in Tomcat below, so an

Re: digest ignored in Data source realm -> Success

2007-08-28 Thread Glenn McCall
s making it even harder to diagnose! Thanks Glenn Mc - Original Message - From: "Christopher Schultz" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday, August 28, 2007 2:16 AM Subject: Re: digest ignored in Data source realm -BEGIN PGP S

digest ignored in Data source realm

2007-08-27 Thread Glenn McCall
I have a problem where the digest element is seemingly being ignored when I move my web app from development to production. The application uses form based security and works just fine in development. Here are the details. Dev - tomcat 5.5.17 in Netbeans 5.5.1 Prod - tomcat 5.5.15 - this is the

Enable file downloads outside the application tree

2007-08-19 Thread Glenn McCall
Hi I have a bulletin board scenarion (i.e. people can download files = that others have uploaded). The easiest solution is to simply save the uploaded files within my = application's directory tree (e.g. .../webapps/myapp/files or similar). = The problem with this is that if I deploy a new version