Jasper Exception in JSP

When and why jasperException occurs?

Questions by tathagata812

Showing Answers 1 - 6 of 6 Answers

muppidi

  • Feb 27th, 2009
 

It is occurs whenever you miss the tags, or did not close tags properly, or if you put any condition like

int i=request.getparameter("value")
if(i==null)
{
} at this time if i value shows null it gives a Jasper Exception

  Was this answer useful?  Yes

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

vasanth.kvj

  • Oct 27th, 2009
 

JasperException is a subclass of Exception, so you should be able to use the usual Exception methods on it. But it's not a NullPointerException. JasperException is what I get if I mess up the syntax in a JSP page. So, check for that.

  Was this answer useful?  Yes

venkat

  • Jul 13th, 2011
 

The following reasons may have to get the jasper Exception.

1.jsp-api.jar is missing in the build path.

2.Proper jsp code is not written.

  Was this answer useful?  Yes

Rahul

  • Aug 8th, 2011
 

What happen if it is occurred in Struts 2.1.0 ? while i trying to submit a list value from JSP page in action class : -



why jasper exception occurred when action successfully got the list value - and It give " Unhandled exception in struts : JasperException.

  Was this answer useful?  Yes

Muhammade Irfan Ghori

  • Oct 31st, 2011
 

What exactly mean by the following:

jsp-api.jar is missing in the build path.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions