Jsp xml syntax is not recognized by Idea

In my Test.jsp

Simple jsp page Place your content here ]]> is not recognized by IDEA,
did I miss some thing here ?

-Rambabu


3 comments
Comment actions Permalink

I'm no JSP expert, but are you sure, that

<jsp:directive.page import="java.util.Locale"/>


is the right thing to do?

Tom

0
Comment actions Permalink

According to jsp 2.0 spec you are not allowed to mix jsp and jspx syntax in
one file, only on include boundaries, that's why an error.
Eugene.

"Rambabu Talasila" <talasilar@yahoo.com> wrote in message
news:cvh0qv$cbb$1@is.intellij.net...

In my Test.jsp

>

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<jsp:directive.page import="java.util.Locale"/>
<html>
<head><title>Simple jsp page</title></head>
<body>Place your content here</body>
</html>

>

<jsp:directive.page import="java.util.Locale"/> is not recognized by IDEA,
did I miss some thing here ?

>

-Rambabu

>
>


0
Comment actions Permalink

that's true and it is corrected . thanks for yr reply.

-Rambabu

"Evgueny Vigdorchik" <ven@intellij.com> wrote in message
news:cvhl07$3oh$1@is.intellij.net...

According to jsp 2.0 spec you are not allowed to mix jsp and jspx syntax

in

one file, only on include boundaries, that's why an error.
Eugene.

>

"Rambabu Talasila" <talasilar@yahoo.com> wrote in message
news:cvh0qv$cbb$1@is.intellij.net...

In my Test.jsp

>

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<jsp:directive.page import="java.util.Locale"/>
<html>
<head><title>Simple jsp page</title></head>
<body>Place your content here</body>
</html>

>

<jsp:directive.page import="java.util.Locale"/> is not recognized by

IDEA,

did I miss some thing here ?

>

-Rambabu

>
>

>
>


0

Please sign in to leave a comment.