Discussions

Web tier: servlets, JSP, Web frameworks: Problem with Struts

  1. Problem with Struts (2 messages)

    Can Anybdy tell me why is this error coming

        E SRVE0020E: [Servlet Error]-[action]: Failed to load servlet: javax.servlet.UnavailableException: Input/output error reading configuration from resource path /WEB-INF/struts-config.xml
    -P
  2. need config struts-config.xml's path in web.xml
  3. web.xml file is the deployment descriptor known to J2EE server and struts-config.xml is just a parameter value to servlet with name config. If the servelet is the action servlet from struts then it loads the file and recognizes the configuration provided to Struts.