struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Burton Rhodes <burtonrho...@gmail.com>
Subject Re: [S2] Welcome Page as Action?
Date Thu, 15 Apr 2010 14:03:22 GMT
Haven't gotten it to work just yet.  Just one of those minor
enhancements that you can't justify spending an entire day on.  I'll
keep woroking at it though.  Thanks all for your input and knowledge.

On Thu, Apr 15, 2010 at 3:59 AM, Upasana Sharma <sharmacal@gmail.com> wrote:
> Hi
>
> I put these in my project and its working for me.
>
> I created a blank file called welcome.
>
> In struts.xml
>
> <package name="default" namespace="/" extends="struts-default">
> <default-action-ref name="welcome"/>
>  <action name="welcome" class="com.upasana.WelcomeAction">
>  <result name="SUCCESS">WelcomePage.jsp</result>
> </action>
> </package>
>
> In web.xml
>
> <welcome-file-list>
> <welcome-file>welcome</welcome-file>
> </welcome-file-list>
>
> Thanks and Regards
> Upasana Sharma
> <http://www.mydomain.com/package/DOESNOTEXIST.action>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message