Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problems running jsp1.2 ...

 
Asher Tarnopolski
Ranch Hand
Posts: 260
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
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.
exception
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.
I NEED YOUR HELP!!!
 
ersin eser
Ranch Hand
Posts: 1072
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1913
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also, did you recompile all of your source?
 
Asher Tarnopolski
Ranch Hand
Posts: 260
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey,
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic