• Post Reply Bookmark Topic Watch Topic
  • New Topic

Jsp JasperException

 
emi merin
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
While moving from one page to another page in jsp, Jasper Exception is throwing like unable to cast one "To"(transfer Object) to another To.


Can any one help me pleaseeeeeeeeee
 
Ananth Chellathurai
Ranch Hand
Posts: 349
Eclipse IDE Hibernate Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When you are JSP is not parsed by the jasper engine then it throw jasper Exception.
Means If you are writing the jsp code not properly and if you put any unavailable resources in the jsp then we will get Jasper Exception.

Can you paste the exception that you are getting?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65520
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you have Java code in your JSP, you are doing it wrong!

Putting Java code in a JSP is an extremely poor practice that has been discredited for almost 10 years now. Time to stop writing JSP code like it's 1998.

Learn to use the JSTL and EL in modern JSP.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!