• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSP Parse Error

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,Friend
I try to run very simple Jsp file but failed: the Error message:
JSP Parse Error
JSP Directive <%@ %> fileis not recognized.
Here is Jsp source code:
<%@ page info="a hello world example" %> // It seems that Jse does't know this tag
<html>
<head><title>Hello, World</title></head>
<body bgcolor="#ffffff" background="background.gif">
<table>
<tr>
<td width=150> Today's data is <%= new java.util.Date() %> </td>
<td width=250 align=right> <h1>Hello, World!</h1> </td>
</tr>
</table>
</body>
</html>
It seems that JRUN2.3.3 does't know directive tag <%@ %>
But if I remove <%@ page info="a hello world example" %> in the ablove file
It works fine.
Does anyone tell me how to sovle It !
any reply would be great apprecited!

 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13064
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JRun 2.3.3 is not compliant with the latest JSP specification so some tags won't work.
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, William Brogden
thank for your reply
"JRun 2.3.3 is not compliant with the latest JSP specification so some tags won't work "
Could tell which version Jrun 2.3.3 does't surport. But I can run some demos( jsp1.0) in Jrun 2.3.3. directive tage <%@ %> can be found in Jsp1.0 ? If I am wrong Please correct me
many thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic