File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes problems running jsp1.2 ... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "problems running jsp1.2 ..." Watch "problems running jsp1.2 ..." New topic

problems running jsp1.2 ...

Asher Tarnopolski
Ranch Hand

Joined: Jul 28, 2001
Posts: 260
i had some jsp1.1 stuff running on tomcat3.3.
last week i moved to tomcat 4.0 , changed the tags to fit jsp1.2 and... everything is wrong now. while trying to run jsp with tags i get an error message (same for all files):
description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
javax.servlet.ServletException: (class: org/apache/jsp/djsp$jsp, method: _jspService signature: (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse; )V) Incompatible object argument for function call
the jsp files with no tags and servlets are running ok.

Asher Tarnopolski
ersin eser
Ranch Hand

Joined: Feb 22, 2001
Posts: 1072
Guess #1:
class: org/apache/jsp/djsp$jsp

from jsp files with tags. Did you package them properly? Means: you have to package your beans, if not container looks for them under apache's packages.
Simon Brown
sharp shooter, and author
Ranch Hand

Joined: May 10, 2000
Posts: 1913
Also, did you recompile all of your source?
Asher Tarnopolski
Ranch Hand

Joined: Jul 28, 2001
Posts: 260
thank's for your replies, i did recompile everything. the tags *.class files are in the same directory with other servlets. guys,
everything worked on tomcat 3.3 . is this different on tc4.0? can be that the tag files has some old(jsp1.1) stuff i didn't pay attention to and that's why the problem exists?
I agree. Here's the link:
subject: problems running jsp1.2 ...
It's not a secret anymore!