Servlet action is currently unavailable

Discussions

General J2EE: Servlet action is currently unavailable

  1. Servlet action is currently unavailable (1 messages)

    hi all
    I want to use default validation but when I add ValidatorPlugIn to struts-config.xml I get error:

    _______________ struts-config.xml ______________
     <plug-in className="org.apache.struts.validator.ValidatorPlugIn">
        <set-property
            property="pathnames"
            value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml"/>
      </plug-in>
    _______________ error ______________
    type: Status report

    message: Servlet action is currently unavailable

    description: The requested service (Servlet action is currently unavailable) is not currently available.
    ____________________________


    thanks in advance.
  2. hi all,
    I have a login then a details page, I used my own validation in login page,
     it works fine and I want to use default validation in details page but when
    I add ValidatorPlugIn to struts-config.xml and enter any valid or invalid parameter
     in textbox of login page (it worked fine before) and click on login button an
     error occurs without any stacktrace:

    _______________ struts-config.xml ______________
     <plug-in className="org.apache.struts.validator.ValidatorPlugIn">
        <set-property
            property="pathnames"
            value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml"/>
      </plug-in>
    _______________ error ______________
    HTTP Status 503
    type: Status report

    message: Servlet action is currently unavailable

    description: The requested service (Servlet action is currently unavailable) is not currently available.
    ____________________________


    thanks in advance.