jsp 2.0 namespace and eap3290

Hi,

I have never used jsp before so I am a bit confused if my question is
related to Idea or JSP 2.0.

My problem is that I cannot get code completion and error highlight working
with jsp 2.0.

I have created a *.jspx file using default Idea jspx template and registered
the resource http://java.sun.com/JSP/Page namespace uri with schema file
jsp_2_0.xsd.

The *.jspx file is located in the servlet root.

<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
xmlns="http://www.w3.org/1999/xhtml" version="2.0">
<!-- my first try.... -->
</jsp:root>

Is the a eap missing feature or a jsp 2.0 issue ?


Peter








1 comment
Comment actions Permalink

Hi,

The jspx file should be in web resource dir, besides,
http://java.sun.com/JSP/Page is already mapped to appropriate schema file.

Peter Lerche wrote:

Hi,

I have never used jsp before so I am a bit confused if my question is
related to Idea or JSP 2.0.

My problem is that I cannot get code completion and error highlight working
with jsp 2.0.

I have created a *.jspx file using default Idea jspx template and registered
the resource http://java.sun.com/JSP/Page namespace uri with schema file
jsp_2_0.xsd.

The *.jspx file is located in the servlet root.

<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
xmlns="http://www.w3.org/1999/xhtml" version="2.0">
<!-- my first try.... -->
</jsp:root>

Is the a eap missing feature or a jsp 2.0 issue ?


Peter










--
Maxim Mossienko
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0

Please sign in to leave a comment.