xml - Word "faces" on my website url is repeated -
I have a problem developing my website ... It has come to know that when navigating into it, the word "face" It is repeated every time that I use more options within that page ...
An example: ...
The Web Xml Attached:
& lt ;? XML version = "1.0" encoding = "UTF-8"? & Gt; & Lt; Web-App version = "3.0" xmlns = "http://java.sun.com/xml/ns/javaee" xmlns: xsi = "http://www.w3.org/2001/XMLSchema -instance" Xsi: Schema Location = "http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"> & Lt; Context param & gt; & Lt; Ultimate Name & gt; Javax.faces.PROJECT_STAGE & lt; / Lastname & gt; & Lt; Ultimate Price & gt; Development & lt; / Super-valued & gt; & Lt; / Reference param & gt; & Lt; Servlet & gt; & Lt; Servlet-name & gt; Faces servlet & lt; / Servlet-name & gt; & Lt; Servlet category & gt; Javax.faces.webapp.FacesServlet & lt; / Servlet category & gt; & Lt; Load-On-Startup & gt; 1 & lt; / Load-on-startup & gt; & Lt; / Servlet & gt; & Lt; Servlet-mapping & gt; & Lt; Servlet-name & gt; Faces servlet & lt; / Servlet-name & gt; & Lt; URL pattern & gt; / Face / * & lt; / URL pattern & gt; & Lt; / Servlet-mapping & gt; & Lt; Session-config & gt; & Lt; Session timeout & gt; 30 & lt; / Session-timeout & gt; & Lt; / Session-config & gt; & Lt; Welcome-file-list & gt; & Lt; Welcome-file & gt; / Welcome-file & gt; Facing / index.xhtml & lt; & Lt; / Welcome-file-list & gt; & Lt; / Web application & gt;
remove face in your welcome The file declaration, / face / url mapping does not work correctly. My theory would be that your welcome file will take a face in the web application with predicted, the maserra moves forward and goes even further before
what you should do now :
& lt; Welcome-file-list & gt; & Lt; Welcome-file & gt; Index.xhtml & lt; / Welcome-file & gt; & Lt; / Welcome-file-list & gt;
Comments
Post a Comment