Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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">
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: WSAD 5.1.1 can't compile any JSP
Similar Threads
servlet.jar location
Undefined reference in JNI
Problem running JSP 2.0
Undefined reference in JNI
WSAD 5.1.1