2008/8/6 Potgieter, Derick D <[EMAIL PROTECTED]>: > Hi All, > > I need some help with how to set my actionbeans as the default welcome page. > Currently it is: > <welcome-file-list> > <welcome-file>index.jsp</welcome-file> > </welcome-file-list> > > But how do you change that to a actionbean. The reason is that i have a > query on the first page (sort of a dash board). > > Any help would be great, >
Hi Derick, one of the possibilities is to use this code in your index.jsp page: <% java.lang.String url = "/path_to_your_action"; response.sendRedirect(request.getContextPath() + url); %> It's a scriptlet that will make a redirect to your action. Cheers, Radosław -- Polish Java User Group www.java.pl ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users