struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rusty Wright <rusty.wri...@gmail.com>
Subject preferred way to jump start app into struts?
Date Sat, 29 Aug 2009 17:34:25 GMT
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-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message