Re: [Stripes-users] welcome page
On 11-03-2009 at 10:24, Vadim wrote: No, it's set the dispatcher to *.action. Actually, why *.jsp-s goes thru filter and *.action-s thru dispatcher? Both go through the filter. URL's ending in .action go through the dispatcher, when you've configured this by mapping *.action to the dispatcher (a servlet). URL's ending in .jsp generally don't because *.jsp is mapped to the application server's JSP serving mechanism (also a servlet in Tomcat, for example). Oscar -- ,-_ /() ) Oscar Westra van holthe - Kind http://www.xs4all.nl/~kindop/ (__ ( =/ () Don't let your boss fuck you; that's anti-capitalist. -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users
[Stripes-users] welcome page
Hi everybody! How could i set the welcome page to be not a .jsp, but an action, dispatched by the stripes dispatcher. I tried to do this: welcome-file-list welcome-file/Default.action/welcome-file /welcome-file-list so, i have in default package a Default class that implements ActionBean and has a default handler method, but it does not work :( -- ___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users
Re: [Stripes-users] welcome page
Hi Vadim, I don't really understand why thous should not work, apart froom : 1/ your action isn't resolved from the classpath (default package might not be a good idea : you have to declare your action packages in the stripes filter config...) 2/ the request doesn't reach your action bean : maybe you have not mapped Stripes dispatcher to *.action in web.xml ? HTH Remi 2009/3/10 Vadim Vararu vadb...@gmail.com: Hi everybody! How could i set the welcome page to be not a .jsp, but an action, dispatched by the stripes dispatcher. I tried to do this: welcome-file-list welcome-file/Default.action/welcome-file /welcome-file-list so, i have in default package a Default class that implements ActionBean and has a default handler method, but it does not work :( -- ___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users -- ___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users
Re: [Stripes-users] welcome page
I agree with Remi. On Tue, Mar 10, 2009 at 6:50 PM, VANKEISBELCK Remi r...@rvkb.com wrote: Hi Vadim, I don't really understand why thous should not work, apart froom : 1/ your action isn't resolved from the classpath (default package might not be a good idea : you have to declare your action packages in the stripes filter config...) 2/ the request doesn't reach your action bean : maybe you have not mapped Stripes dispatcher to *.action in web.xml ? HTH Remi 2009/3/10 Vadim Vararu vadb...@gmail.com: Hi everybody! How could i set the welcome page to be not a .jsp, but an action, dispatched by the stripes dispatcher. I tried to do this: welcome-file-list welcome-file/Default.action/welcome-file /welcome-file-list so, i have in default package a Default class that implements ActionBean and has a default handler method, but it does not work :( -- ___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users -- ___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users