Forward to a JSP page

Arturo Mazzi <[email protected]>
Newsgroups gmane.comp.java.netbeans.general
Message-ID <[email protected]>
Hi to all.
I'm developping  a Web Application with Visual Web JSF Pages..
I've two files  page1  and  errorPage created with
    New file
        JavaServerFaces
              Visual Web JSF Pages
         
The JSP file of page1  contain a statement
      if ( condition = true)
            {
         <jsp:forward page="pageError.jsp"/>
  }

but the Tomcat log reports a error
Caused by: org.apache.jasper.JasperException: An exception occurred 
processing JSP page /Start.jsp at line 9

6: -->
7: <jsp:root version="2.1" xmlns:f="http://java.sun.com/jsf/core" 
xmlns:h="http://java.sun.com/jsf/html" 
xmlns:jsp="http://java.sun.com/JSP/Page" 
xmlns:webuijsf="http://www.sun.com/webui/webuijsf">
8:     <jsp:directive.page contentType="text/html;charset=UTF-8" 
pageEncoding="UTF-8" buffer="none" language="java"/>
9:     <jsp:forward page="pageError.jsp"/>
10:   

With a normal JSP file
New File
    web
       JSP
all is oK.

Tx in advanced.

Arturo Mazzi
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.