GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  J2EE  >  JSP
Go To First  |  Previous Question  |  Next Question 
 JSP  |  Question 307 of 308    Print  
Jasper Exception in JSP
When and why jasperException occurs?


  
Total Answers and Comments: 3 Last Update: October 27, 2009     Asked by: tathagata812 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: srinivasaraobora
 
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

Above answer was rated as good by the following members:
sanoop.yadav
February 27, 2009 05:05:16   #1  
muppidi Member Since: January 2009   Contribution: 1    

RE: Jasper Exception in JSP
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

 
Is this answer useful? Yes | No
April 21, 2009 06:23:37   #2  
srinivasaraobora Member Since: May 2006   Contribution: 31    

RE: Jasper Exception in JSP
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

 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
October 27, 2009 03:26:25   #3  
vasanth.kvj Member Since: October 2009   Contribution: 2    

RE: Jasper Exception in JSP
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.
 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape