[jbosstools-issues] [JBoss JIRA] Resolved: (JBIDE-7839) Web.xml validation

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Wed Dec 8 09:36:31 EST 2010


     [ https://jira.jboss.org/browse/JBIDE-7839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Viacheslav Kabanovich resolved JBIDE-7839.
------------------------------------------

    Resolution: Done


Fixed for 3.2.0.Beta2.

> Web.xml validation
> ------------------
>
>                 Key: JBIDE-7839
>                 URL: https://jira.jboss.org/browse/JBIDE-7839
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: jsp/jsf/xml source editing
>    Affects Versions: 3.2.0.Beta1
>         Environment: Max OS X 10.6,  Eclipse 3.6.1 32-bit
>            Reporter: Oliver Freivogel
>            Assignee: Viacheslav Kabanovich
>             Fix For: 3.2.0.CR1
>
>         Attachments: Bildschirmfoto 2010-12-08 um 14.42.53.png
>
>
> <error-page/> entries in web.xml for paths defined by servlet-mapping tags other than the FacesServlet are marked as errors: location does not exists.
> Hier a example:
> .....
> <servlet-mapping>
> 		<servlet-name>Faces Servlet</servlet-name>
> 		<url-pattern>*.faces</url-pattern>
> 	</servlet-mapping>
> 	<servlet-mapping>
> 		<servlet-name>ErrorRedirectServlet</servlet-name>
> 		<url-pattern>/ErrorRedirect</url-pattern>
> 	</servlet-mapping>
> 	<servlet-mapping>
> 		<servlet-name>TimeOutServlet</servlet-name>
> 		<url-pattern>/TimeOut</url-pattern>
> 	</servlet-mapping>
> 	.......
> 	<error-page>
> 		<exception-type>javax.faces.application.ViewExpiredException</exception-type>
> 		<location>/TimeOut</location>
> 	</error-page>
> 	<error-page>
> 		<error-code>500</error-code>
> 		<location>/ErrorRedirect</location>
> 	</error-page>
> 	<error-page>
> 		<error-code>403</error-code>
> 		<location>/ErrorRedirect</location>
> 	</error-page>
> <error-page> tags are marked as errors.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list