struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Corallo <stefan...@gmail.com>
Subject Struts2 Interceptor
Date Wed, 27 May 2009 06:53:47 GMT
Hi all,

can an interceptor call an arbitraty action different from the action
requested by the client?

Suppose i've the interceptor "interceptor-router" placed in the stack and
the client call MyAction.action, when the interceptor intercept the call is
possible to 'redirect' the call to MyDifferentAction.action from the
interceptor?

I've seen that there is action chaining but this require to know at build
time the name of the actions i want to redirect to, but i know the name only
at runtime and


I hope i was clear :) sorry for my english.


--
Stefano Corallo

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message