Hi.

Have regular mapping in web.xml:
  <!-- Action Servlet Mapping -->
  <servlet-mapping>
    <servlet-name>action</servlet-name>
    <url-pattern>*.do</url-pattern>
  </servlet-mapping>

and then in struts-config.xml, have the following path set up:

     <!-- Show Log filter -->
     <action
          path="/ShowLogFilter"
          type="beans.ShowLogFilterAction"
          name="LogFilterForm"
          input="/index.jsp"
          validate="false">
          <forward name="success" path="/logFilter.jsp" />
     </action>

I link to this through ShowLogFilter.do in my link.

HTH,

Dave






"Jonathan" <[EMAIL PROTECTED]> on 04/26/2001 04:49:50 PM

Please respond to [EMAIL PROTECTED]; Please
      respond to "Jonathan" <[EMAIL PROTECTED]>

To:   [EMAIL PROTECTED]
cc:    (bcc: David Hay/Lex/Lexmark)
Subject:  ####   Can someone pleeeeeeeeese elaborate on the rules regarding
      Action attribues "input" and "path" ....Please   ####



It is not clear to me exactly whatthese values could or should be.  I understand
that the ".do" is stripped of the request, so does that mean I only have to
match everything up to the ".do" ?  Why is a "/" used?  To me this means "root",
and in fact in the Login example the path changes from "/mysite/logon/logon.jsp"
to "/mysite/login".  I am aware of the side effects of forwarding on the url,
but I am confused as to how to employ the "input" and "path" values.
It is not clear to me exactly whatthese values could or should be.  I understand that the ".do" is stripped of the request, so does that mean I only have to match everything up to the ".do" ?  Why is a "/" used?  To me this means "root", and in fact in the Login example the path changes from "/mysite/logon/logon.jsp" to "/mysite/login".  I am aware of the side effects of forwarding on the url, but I am confused as to how to employ the "input" and "path" values.

Reply via email to