Arne, How do I filter/add request parameters? "In the old days" (TM) I > simply added a filter, which wrapped a RequestWrapper around the > non-writable map. How can I do that now? The structure of the context > isn't quite clear to me, and I don't know where to set the new request > wrapper object...
Nothing has changed in this respect. You should still be able to use a filter. Second question is connected (= me not knowing where to set things): > Suppose I have authentication checker, which is called through the > servlet-standard-preprocess chain as shown here: > http://www.onjava.com/pub/a/onjava/2005/03/02/commonchains2.html > So when the filter detects, that the user isn't logged in yet, I want > it to redirect/forward to some /login.jsp. How do I do that know? I wouldn't build this into the Struts request processor. This definitely sounds like another filter. Paul