Segue abaixo web.xml gerado com netbeans e apenas algumas modificações. Uploadei ele pra locaweb cujo validador diz “Document is invalid: no grammar found”.
O que está errado no arquivo abaixo?
[code]<?xml version="1.0" encoding="UTF-8"?>
action
org.apache.struts.action.ActionServlet
config
/WEB-INF/struts-config/struts-config.xml,
/WEB-INF/struts-config/actions/categorias.xml,
/WEB-INF/struts-config/actions/servicos.xml,
/WEB-INF/struts-config/actions/membros.xml,
/WEB-INF/struts-config/actions/historia.xml,
/WEB-INF/struts-config/actions/artigos.xml,
/WEB-INF/struts-config/actions/noticias.xml,
/WEB-INF/struts-config/actions/clientes.xml,
/WEB-INF/struts-config/actions/downloads.xml,
/WEB-INF/struts-config/actions/painel.xml,
/WEB-INF/struts-config/actions/fale-conosco.xml
debug
2
detail
2
2
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.chaus</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>30</session-timeout>
</session-config>
<jsp-config>
<jsp-property-group>
<url-pattern>*.jsp</url-pattern>
<page-encoding>UTF-8</page-encoding>
</jsp-property-group>
</jsp-config>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
[/code]