[picocontainer-dev] Nanowar filter chains
Konstantin Priblouda <kpriblouda-/[email protected]>
| Newsgroups | gmane.comp.java.picocontainer.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi all,
I just discovered that current aproach in chain filter
( forward request ) is not going to work with WW2 / S2
,
because pereferred way to dispatch to actions is nov
entirely via filter, so only static pages are possible
( not much fun - there must be logic somewhere to
decide
where to divert )
However, I tried to wrap request that it returns other
servlet path and pass it down the chain - it worked.
Would it be too dangerous / not acceptable for other
containers than tomcat? ( it works with TC / JB )
And while the main puprose of diverting to action vas
to provide logic to choose where to redirect based on
cause of failure in chain, this logic could be
provided
by other means.
Say - filter may lookup "divertor"-Component (
configurable key / class, instantiate via container -
we have one ) which tells him where to go further.
WDYT?
regards,
----[ Konstantin Pribluda http://www.pribluda.de ]----------------
Still using XDoclet 1.x? XDoclet 2 is released and of production quality.
check it out: http://xdoclet.codehaus.org
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email