File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Websphere and the fly likes WSAD 5.1.1 can't compile any JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "WSAD 5.1.1 can Watch "WSAD 5.1.1 can New topic

WSAD 5.1.1 can't compile any JSP

Alex Iv

Joined: Nov 29, 2004
Posts: 2
I am trying to run a WSAD 5.1.1 server localy. My test environment and all of my servlets start properly. But, whenever I try to run a JSP (even a simple JSP without any Java code in it), I get the following error:
Error 500: method compile([Ljava/lang/String;Ljava/io/PrintWriter I not found

If I try to run the same file with .html extension, page is displayed properly.
Anyone seen this and has any sugestions?

vishwa venkat
Ranch Hand

Joined: Nov 22, 2003
Posts: 185
try checking the servlet version u r using..check web.xml..other than this am not sure what else causing the error.
Alex Iv

Joined: Nov 29, 2004
Posts: 2
I tried using both J2EE level 2 and 3, same results.

these are three lines from the beginning of web.xml:
<?xml version="1.0" encoding="UTF-8"?>
< !DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "">
<web-app id="WebApp">
I agree. Here's the link:
subject: WSAD 5.1.1 can't compile any JSP
It's not a secret anymore!