Hi !
I have a java class Constants which contains a list of hundreds of static values and I try to access them from a JSP.
Normally, in JSP I type the following code and it works :
<%=com.xxx.resources.Constants.MY_CONSTANT%>
javax.servlet.ServletException: Error Parsing /index.jsp: Error Traced[line: 1] The markup in the document preceding the root element must be well-formed. javax.faces.webapp.FacesServlet.service(FacesServlet.java:270) org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178) org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290) org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388) org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)