This week's book giveaway is in the Agile forum.
We're giving away four copies of Head First Agile and have Andrew Stellman & Jennifer Greene on-line!
See this thread for details.
Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

java.lang.ClassFormatError: org/apache/jsp/wfDigital_jsp (Code of a method longer tha  RSS feed

 
Manikandan Periyasamy
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am using jsp and postgresql for developing.i got the exception like java.lang.ClassFormatError: org/apache/jsp/wfDigital_jsp (Code of a method longer than 65535 bytes)
any one help me to solve this?
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

This has nothing to do with applets, so I'm moving this to our JSP forum. I will tell you, though, that this is happening because you're putting too many Java scriptlets in your JSP. JSPs should contain as little Java code as possible -- break whatever you can out into supporting classes, and do most of the work in servlets instead.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!