Q. A servlet needs to acquire a data source through a JNDI naming lookup. Which of the following is the best place to do this? (Solved)

1. Constructor

2. init method

3. service method

4. doGet method

  • b. init method
Subscribe Now

Get All Updates & News