Re: Configure email catcher for dev and stage environments?

2005-07-25 Thread Marc Guillemot
Dirk.Weigenand wrote: You could then set up another 'fake' smtp server that simply sends your messages to /dev/null or stores them locally for later inspection. Have a look at james: http://james.apache.org/ or dumbster: http://quintanasoft.com/dumbster/ thanks for the links. dumbster

Configure email catcher for dev and stage environments?

2005-07-22 Thread Marc Guillemot
Hi, in dev and stage environments, we are working with real data but have to avoid that email are really sent to the users. Our current solution is that the code sending emails checks what the current environment is to know if it should really send the email to the specified address or to a

More than one error page 404?

2004-01-27 Thread Marc Guillemot
Hi, I have a general purpose 404 error page configured in the web.xml but in some cases I want to return an other page with the error code 404. Is it possible? It seems to me that as soon as I set the response code to 404, Tomcat discards the current response and sends the 404 error page

Possible to disable session persistence at shutdown?

2004-01-11 Thread Marc Guillemot
Hi, is there a possibility to disable the session persistence performed by Tomcat (4 and 5) when shutting down? I'm not interested in this feature and it reports many exceptions as my objects stored in session scope aren't serializable. Marc.

Re: Rooting request to one or an other webapp

2003-07-31 Thread Marc Guillemot
Hi Yoav, thanks for the info. Could you give me a link or the keywords permitting to find the previous discussions you mentioned on this subject? I've search for that but I didn't found anything. I guess that I've looked for the bad terms. Marc. - Original Message - From: Shapira, Yoav

Rooting request to one or an other webapp

2003-07-30 Thread Marc Guillemot
Hi, does someone know a way to catch a request and to forward it to one or an other webapp according to some runtime settings? The idea is to be able at runtime to smoothly add a webapp, set it as the default, and to remove the one that was the default when it has no active session anymore.

shared session between http and https

2002-11-04 Thread Marc Guillemot
To share a session between http and https I've tryed to add the JSESSIONID to the url: a href=https://localhost:8443/testhttps/page2.jsp?JSESSIONID=%=request.getSe ssion().getId()%to https/a but this doesn't work in Mozilla or Opera for instance: a new session is created (in IE cookies are