--- James Pan <[EMAIL PROTECTED]> wrote: > Hello, > > Got two questions: > > (1) > I have an action that may be invoked from a number > of pages, and SUCCESS should cause the view to > return to the calling page. > Basically, Page A, B, C can call action MyAction, > and the successful execution should return to the > calling pages, A, B or C. > > I obviously can't specify the view in > views.properties, since there is only one > destination view... so then, how can I achieve this?
If you pass "url" parameter, being the URL of calling page and direct your SUCCESS ro redirect.action you may be wondered. redirect.action is mapped by default. > > (2) > Also, I have been looking at a design pattern > "Intercepting Filter", > > http://java.sun.com/blueprints/corej2eepatterns/Patterns/InterceptingFilter.html > > and I plan to use this to do some basic background > checking, such as user-authentication and decorate > the requested jsp page. what's wrong with servlet filter or container managed security? > Is there something in WW that I can use? How would I > decorate a page without the user knowing about it > (user requests mypage.jsp, and i decorate it with > layoutDecorator.jsp?page=mypage.jsp, sort of > thing)?? using sitemesh. ( also on opensymphony ) regards, ===== ----[ Konstantin Pribluda ( ko5tik ) ]---------------- Zu Verstärkung meines Teams suche ich ab Sofort einen Softwareentwickler[In] für die Festanstellung. Arbeitsort: Mainz Skills: Programieren, Kentnisse in OpenSource-Bereich ----[ http://www.pribluda.de ]------------------------ __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork