This is my preffered choice, just a welcome page defined in the web.xml file <welcome-file-list> <welcome-file>start.action</welcome-file> </welcome-file-list> </web-app>
No redirects just straight to the action. On Sat, Aug 29, 2009 at 17:34, Rusty Wright <rusty.wri...@gmail.com> wrote: > Is there a preferred way to "jump start" a web app when the user starts at > the top; e.g., they use the url > > http://somehost.com/myapp/ > > What I'm doing now is putting a redirect in index.jsp, as follows. Is > there a better way? > > <?xml version="1.0" encoding="ISO-8859-1" ?> > > <%@ page contentType="text/html; charset=UTF-8" %> > > <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> > > <c:redirect > url="/start.action" > /> > > I want the naked, top url to have an action. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Ing. Luis Martín Canaval Sánchez Keep it small and simple.