From: Coder O. <cod...@ya...> - 2008-08-29 16:00:20
|
Hi, Given a request to http://xyz.com/ I would need to have the above request hit a Stripes action which in turn sends a resolution to http://xyz.com/home.jsp. In general, I'd like all requests to hit an action first before the page is served. I read up on stripes:useActionBean, but alas, it's quite unclear to me how that works. I've tried the below without success. I'd appreciate all your help. A description of the data flows would be greatly appreciated. Thanks! @UrlBinding("/") public class HomeActionBean extends BaseActionBean { @DefaultHandler public Resolution home() { return new ForwardResolution("/home.jsp"); } } |