Re: ensuring valid forwards

2005-06-13 Thread Dan Tenenbaum
On 6/13/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > But again, I'm not certain this type of problem will be caught because I'm > not even sure an exception is thrown in such a case. If it isn't that > strikes me as a bug. Anyone else know for sure? > I don't think it does throw an except

ensuring valid forwards

2005-06-13 Thread Dan Tenenbaum
My codebase has a lot of lines like this in struts actions: return mapping.findForward("foo"); If I make a typo and it turns out that "foo" is not a valid forward according to the struts config file, when I hit the action in the browser, I get a blank page. Not my designated error page. Is there

Switching between http and https in struts-config

2005-06-13 Thread Dan Tenenbaum
Hi, I'm new to the list. I'm working on a webapp where some of the pages should be accessed through HTTPS and others through HTTP. For example, login and registration need to be secure, but once the registration is done and we go to the user home page, we can go back to the nonsecure site. All p