2 Replies Latest reply on Apr 5, 2018 7:25 AM by andey

    HTTP method POST is not supported by this URL ????????????????? URGENTE

    marcosps

      How to solve this problem?

       

       

      After running a "JSF 2.2" page, using "WildFly 10.1.0 and JDK 1.8.0_152-b16", depending on the configuration of the following form (http://localhost:8080/LoginSeg/j_security_check ):

      ......

      <h:body>

      <form method="post"  action="j_security_check" >

           <h:panelGrid columns="2">

                <h:outputLabel value="Usuário: " />

                <h:inputText id="j_username" autocomplete="off" />

                <h:outputLabel value="Senha: " />

                <h:inputSecret id="j_password" autocomplete="off" />

                <h:commandButton type="submit" value="Login" />

                <h:commandButton type="reset" value="Limpar" />

           </h:panelGrid>

      </form>

      </h:body>

       

      The following error occurs: HTTP method POST is not supported by this URL.