Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Is the init(ServletConfig sc) throws IOException or not?

Answers were Sorted based on User's Feedback



Is the init(ServletConfig sc) throws IOException or not?..

Answer / anji

It will throw only ServletException
The method signature of init is
void init(ServletConfig config) throws ServletException

Is This Answer Correct ?    9 Yes 0 No

Is the init(ServletConfig sc) throws IOException or not?..

Answer / ravindra nhavi

it will throws only ServletException .

Is This Answer Correct ?    5 Yes 0 No

Is the init(ServletConfig sc) throws IOException or not?..

Answer / rama

init can throw UnAvailable exception or ServletException
but no IOException

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More Servlets Interview Questions

Explain the difference between servletconfig and servletcontext in servlet?

0 Answers  


Hi guys.. Well can u tell me that why there is need of "init()" , i mean why can not we initialize the servlet object with the help of constructors? Thank you.

7 Answers  


How can the referrer and the target urls be used in servlet?

0 Answers  


How to run a servlet program?

7 Answers   Infosys,


Elucidate servlet attributes and its scope?

0 Answers  


What is a cookie What is the difference between session and cookie

0 Answers  


how can we execute servelt? what the use ".war" or ".jar" file creation

3 Answers   CTS,


Explain in detail about applet to servlet communication?

1 Answers  


Which java framework is most popular?

0 Answers  


How does Cookies work in Servlets?

0 Answers  


What is the type of method for sending request from http server?

0 Answers  


How can we invoke another servlet in a different application?

0 Answers  


Categories