Only 48 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Jsp Error 500  RSS feed

 
SonalPSPL Bagmar
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am new to J2EE technology. I am trying to write a jsp page. but while executing it is giving the following error :

=======================================================================
HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: Unable to compile class for JSP
=======================================================================

Any clues ?

Regards
SONAL
 
Stephen Huey
Ranch Hand
Posts: 618
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah, your code isn't right, so it couldn't compile it into a class file.

I recommend you actually post the offending code so we can see what might be the problem!
 
Ramaswamy Srinivasan
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sonal,




exception

org.apache.jasper.JasperException: Unable to compile class for JSP



This shows that there are some problem with code in the page. Usually, a JSP page will be compiled into a Java class by the ServletEngine in the web server that we use.

This is not happening in this case. If you can post your code, that would be helpful.

Cheers,
Swamy
 
Sandeep Deshmukh
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi sonal

Thats certainly a compilation error.But I dont have any clue where error might be unless you specify the full error. I think besides the error that you show there should be some more message specifying error location in your JSP.

Sandeep
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!