Uploaded image for project: 'Struts 1'
  1. Struts 1
  2. STR-1794

Error in struts-blank struts-config.xml file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Nightly Build
    • 1.2 Family
    • Example Applications
    • None
    • Operating System: other
      Platform: All
    • 23816

    Description

      In the struts-config.xml file in the struts-blank webapp from the 10/14 nightly
      build, the example for a DynaValidatorForm is missing the </form-bean> tag.

      It says:
      <!-- sample form bean descriptor for a DynaActionForm
      <form-bean
      name="logonForm"
      type="org.apache.struts.action.DynaActionForm">
      <form-property
      name="username"
      type="java.lang.String"/>
      <form-property
      name="password"
      type="java.lang.String"/>
      end sample -->

      Simply uncommenting it produces an error:
      2003-10-14 08:44:23 StandardContext[/struts-blank]: Servlet /struts-blank threw
      load() exception
      javax.servlet.UnavailableException: Parsing error processing resource path /WEB-
      INF/struts-config.xml

      Attachments

        Activity

          People

            Unassigned Unassigned
            wsmoak Wendy Smoak
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: