File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes JSP Parse Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "JSP Parse Error" Watch "JSP Parse Error" New topic
Author

JSP Parse Error

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
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

Joined: Mar 22, 2000
Posts: 12761
    
    5
JRun 2.3.3 is not compliant with the latest JSP specification so some tags won't work.
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
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
 
Consider Paul's rocket mass heater.
 
subject: JSP Parse Error
 
Similar Threads
insert command not give me error and not give result
applet loading problem
problem with config implicit variable
Dynamic Content in Tag Lib
class file is not loading while running JSP file