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
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply 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: 12266
    
    1
JRun 2.3.3 is not compliant with the latest JSP specification so some tags won't work.

Java Resources at www.wbrogden.com
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
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: JSP Parse Error
 
Similar Threads
Dynamic Content in Tag Lib
applet loading problem
problem with config implicit variable
insert command not give me error and not give result
class file is not loading while running JSP file