Is the init(ServletConfig sc) throws IOException or not?
Answers were Sorted based on User's Feedback
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 |
Answer / rama
init can throw UnAvailable exception or ServletException
but no IOException
| Is This Answer Correct ? | 3 Yes | 1 No |
Name the webserver that is used to run Servlets?
What are the various ways of session supervision in servlets?
Write the code to get the server information in servlet.
hi.... i have problem in running of servlet. i am using Tomcat server in my pc.. The problem is when i am click on strat it will display like below FAIL - Application at context path /first could not be started.. How i can slove the problem.. help plz
What’s the difference between forward() and sendredirect() methods?
what is the advantage of using Servlets over CGI programming?
How to generate the server side programming and the advantages of it over the other languages?
What is the use of java servlet api?
which type of data passing is used in realtime?
What is session variable in servlets?
What is the difference between jsp and servlet life cycle?
How we can create war file in servlet?