the paths are case-sensitive - you have Welcome.do in your forward, but
welcome in your action-mapping.

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 31, 2003 9:18 AM
> To: Struts Users Mailing List
> Subject: Page remains at index.jsp
> 
> 
> 
> 
> 
> Im not sure what im doing wrong. Or if im understanding the
> concept correctly, but im trying to forward to welcome.do but
> the page remains at index.jsp.
> Thank you for your time
> 
> 
> 
> 
>  <%@ taglib uri="/tags/struts-logic" prefix="logic" %>
>  <logic:forward name="welcome"/>
> 
>  <%--
> 
>  Redirect default requests to Welcome action.
> 
>  --%>
>  --------------------------------------------------------------
>  -------------------------------------------------------
> 
>  <?xml version="1.0" encoding="ISO-8859-1" ?>
> 
>  <!DOCTYPE struts-config PUBLIC
>            "-//Apache Software Foundation//DTD Struts
>  Configuration 1.0//EN"
> 
>  "http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd";>
> 
>  <struts-config>
>  <!-- =================================== Global Forward
>  Definitions -->
> 
>      <global-forwards>
>          <forward
>              name="welcome"
>              path="/Welcome.do"/>
>      </global-forwards>
> 
>  <!-- =================================== Action Mapping
>  Definitions -->
> 
>      <action-mappings>
>         <action
>              path="/welcome"
>              type="binary.solutions.BinaryAction"/>
>      </action-mappings>
> 
>  </struts-config>
> 
> 
> 
> 
> 
> **************************************************************
> **************************************************************
> *************************************************************
> 
> This message is intended for the use of the individual or 
> entity to which
> it is addressed and may contain information that is confidential and
> privileged and exempt from disclosure under applicable law.  
> If the reader
> of this message is not the intended recipient, you are hereby 
> notified that
> any dissemination, distribution, or copying of this communication is
> strictly prohibited.  If you have received this communication 
> in error,
> please contact the sender immediately and delete it from your system.
> Thank you
> **************************************************************
> **************************************************************
> *************************************************************
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


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

Reply via email to