Newman, John W pisze:
> We have this working in jboss using the DynamicMappingFilter. See 
> http://stripes.sourceforge.net/docs/current/javadoc/net/sourceforge/stripes/controller/DynamicMappingFilter.html
>   


I'm already using DynamicMappingFilter. My web.xml is virtually the same 
as You've mentioned.

If I bind to /home and go to http://mydomain.tld/home - it works. If I 
bind to / and go to http://mydomain.tld/ - all I get is a directory 
listing from Glassfish.

Should following action just work at / URL? Could it be the problem with 
Glassfish or maybe I should put something to application.xml (I deploy 
inside an EAR)? I already deploy my webapp to /

@UrlBinding("/")
public class HomePageAction extends BaseAction {
    private static final String INDEX = "/WEB-INF/jsp/home/index.jsp";

    @DefaultHandler
    public Resolution index() {
        return new ForwardResolution(INDEX);
    }
}

Thanks,
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