You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2003/12/23 19:47:39 UTC

DO NOT REPLY [Bug 25731] New: - Typo in documentation for MappingDispatchAction

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25731>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25731

Typo in documentation for MappingDispatchAction

           Summary: Typo in documentation for MappingDispatchAction
           Product: Struts
           Version: Nightly Build
          Platform: All
               URL: http://jakarta.apache.org/struts/api/org/apache/struts/a
                    ctions/MappingDispatchAction.html
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Documentation
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: matthew.sgarlata@verizon.net


I was just reading up on MappingDispatchAction and came across a rather 
confusing typo.  The example use of this class is called 
org.example.SubscriptionAction, but one of the struts-config references to this 
class refers incorrectly to org.example.Subscription.  Here is the invalid 
struts-config reference:

  <action path="/editSubscription" 
          type="org.example.Subscription"
          parameter="edit">
      <forward name="success" path="/editSubscription.jsp"/>
  </action>

I think it should be:

  <action path="/editSubscription" 
          type="org.example.SubscriptionAction"
          parameter="edit">
      <forward name="success" path="/editSubscription.jsp"/>
  </action>

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