Hi,

I have an action which binds to /home like this:

@UrlBinding("/home")
public class HomePageAction extends BaseAction {

and I'm trying to use something like this in web.xml:

    <welcome-file-list>
        <welcome-file>home</welcome-file>
    </welcome-file-list>

to make my http://domain.tld/ display my home page without redirecting 
to http://domain.tld/home first (which is bad for SEO reasons). I'm 
using Glassfish 2.1 and it doesn't work unless I create a file called 
home :-(

Is there a way to use a Stripe Action as a welcome-file? Or is there a 
way to do @UrlBinding("/")?

Two solutions I'd like NOT to use are:

    * using Apache front with mod_proxy and mod_rewrite
    * creating index.jsp that redirects to /home


Best regards,
Grzegorz

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to