have a welcome jsp page that redirects to your action:

struts-config.xml:

  <global-forwards>
    <forward name="welcome" path="/myaction.do"/>
  </global-forwards>

index.jsp:

  <%@ taglib uri="http://jakarta.apache.org/struts/tags-logic";
prefix="logic" %>
  <logic:redirect forward="welcome"/>

(that's the whole jsp file, not just a snippet!)

Steve


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: June 24, 2003 4:11 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Best practices - help
>
>
> Hi Steve,
>
> The problem is that /MyLayer.jsp happens to be my welcome page.
>
> This page has to be displayed on start up.How  do I get struts process my
> Action servlet,myAction, in order to give /MyLayer.jsp the
> content it needs?
>
> Thanks
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to