• Post Reply Bookmark Topic Watch Topic
  • New Topic

filename_jsp.java file error  RSS feed

 
vivek dhiman
Ranch Hand
Posts: 153
Netbeans IDE Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

Sometimes i saw such errors in stacktrace like org.apache.jsp.apps.qpp.components.contentpage.content_jsp._jspService(content_jsp.java:75)
Can someone provide me some scenario when this error comes. I am working on tools which handles such type of errors, so need some test data.

Thanks
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That means an uncaught exception happened in the content.jsp page. The reasons could be as varied as to why any other exception happens. One of the best approaches for avoiding exceptions in JSPs is to keep Java code out of them, so that exceptions can be handled as part of the Java classes (servlets, backing beans, frameworks etc.) instead of creeping into JSPs.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!