3 Replies Latest reply on Jul 6, 2015 8:09 AM by Diego Leibnz

    Wildfly Forbidden - 403 simple web project

    Diego Leibnz Newbie

      Hi,

       

             I have a simple web project in eclipse  with a DD, html page and servlet . I`m trying to test the page but for some reason the browser always give me error 403 - Forbidden, would like to know why ?

       

       

      what I have done is:  downloaded widlfly, unzipped and created the administrator user, then I'd open eclipse to deploy and  run the project

      my DD:

      <?xml version="1.0" encoding="UTF-8"?>

      <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" version="3.0">

      <servlet>

        <servlet-name>Ch3 Beer</servlet-name>

        <servlet-class>com.Example.web.BeerSelect</servlet-class>

      </servlet>

      <servlet-mapping>

        <servlet-name>Ch3 Beer</servlet-name>

        <url-pattern>/SelectBeer.do</url-pattern>

      </servlet-mapping>

      </web-app>