Sorry I wrote that before really looking the UnknownHandler, it is the
right path.

I'll get back with the results, and later I hope to have some questions
about run time configuration (something I want to try is swapping the order
of interceptors in a named stack at runtime).


On Wed, Nov 28, 2012 at 1:08 PM, Lukasz Lenart <lukaszlen...@apache.org>wrote:

> 2012/11/26 Ken McWilliams <ken.mcwilli...@gmail.com>:
> > I've yet to try this but how do I tie this into conventions.
>
> Just add
> <bean type="....UnknownHandler" class="....MyUnknownHandler"
> name="myUnknownHandler"/>
>
> > My issue is that I am following conventions, there are JSPs located as
> > views for the action (that is, located where conventions would expect to
> > find view). My idea is to create a tiles plugin that keeps struts
> > conventions as near as possible to the way they are. That is the body
> > content is always assumed to be at
> > /WEB-INF/content/{package}/{conventions-action-name}.{viewType}
> >
> > So conventions will still have a valid result, so the UnknownHandler
> isn't
> > ideal because conventions will think there is a valid result, unless
> there
> > is some way to update the configuration even if it is to intentionally
> > break it...
> >
> > Is it possible to do something like that with a custom ActionProxy?
>
> I don't know, just try and share your code :-)
>
>
> Regards
> --
> Ɓukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>

Reply via email to