GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Interview Questions  >  J2EE  >  Servlets
Go To First  |  Previous Question  |  Next Question 
 Servlets  |  Question 167 of 168    Print  
_jspService() Method
Why do we use underscore(_) symbol only with jspService() method?


  
Total Answers and Comments: 3 Last Update: September 01, 2008     Asked by: kirankumarg 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
August 07, 2008 07:34:52   #1  
ramana123123 Member Since: August 2008   Contribution: 1    

RE: _jspService() Method
the _ ( underscore) is used to specify that this method cannot be overriden. so the _jspService() method cannot be overriden.
 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 1Overall Rating: -1    
August 28, 2008 00:55:16   #2  
Tarun Wadhwa Member Since: August 2008   Contribution: 10    

RE: _jspService() Method
The (_) means that this method is generated by Container and we can not overeride this method.
 
Is this answer useful? Yes | No
September 01, 2008 05:06:52   #3  
raghuprasad Member Since: August 2007   Contribution: 23    

RE: _jspService() Method

underscore _ exist not only for _jspService() but also to the other JSP Life Cycle methods which are

1. _jspInit()
2. _jspService()
3. _jspDestroy()


This type of notation is used so as to difference the Life cycle methods of JSP page and Servlet.


 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape