[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-676) web.xml with <jsf-file>/WEB-INF/... indicated as error

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Thu Oct 11 09:11:03 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBIDE-676?page=comments#action_12381667 ] 
            
Viacheslav Kabanovich commented on JBIDE-676:
---------------------------------------------

I cannot reproduce the bug.

EXECUTE: Create JsfKickStart project Test.
EXECUTE: Create test.jsp file in Test/WebContent/WEB-INF.
EXECUTE: Open web.xml.
EXECUTE: Insert text
 <servlet>
  <servlet-name>test</servlet-name>
  <jsp-file>/WEB-INF/test.jsp</jsp-file>
 </servlet>
EXECUTE: Save web.xml
ASSERT: No error like 'Attribute jsp-file references...' appears
EXECUTE: In <jsp-file>/WEB-INF/test.jsp</jsp-file> replace 'test.jsp' with 'test1.sjp'
EXECUTE: Save web.xml
ASSERT: Error appears
error: Attribute jsp-file references to /WEB-INF/test1.jsp that does not exist
EXECUTE: Replace 'test1.jsp' back with 'test.jsp'
ASSERT: Error disappears




> web.xml with <jsf-file>/WEB-INF/... indicated as error
> ------------------------------------------------------
>
>                 Key: JBIDE-676
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-676
>             Project: JBoss Tools
>          Issue Type: Bug
>         Environment: WinXP SP2, JDK 1.6.0_02, Eclipse 3.3, WTP 2.0
>            Reporter: Juergen Zimmermann
>         Assigned To: Viacheslav Kabanovich
>         Attachments: WEB-INF.jpg
>
>
> Web XML Editor shows a non-existing error for web.xml when there is:
> <servlet>
>    <servlet>
>       <jsp-file>/WEB-INF/...
> JSP files can be placed below WEB-INF. That's correct and shouldn't be indicated as an error.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list