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...

Servlets Interview Questions
Questions Answers Views Company eMail

Can we use threads in Servlets?

1144

What is the web server used for running the Servlets?

1019

What is Servlet API used for connecting database?

1104

If a servlet is not properly initialized, what exception may be thrown?

1184

What is new in ServletRequest interface ? (Servlet 2.4)

1016

What is servlet mapping?

1026

What are different Authentication options available in Servlets.

1071

When is the servlet instance created in the life cycle of servlet? What is the importance of configuring a servlet?

1062

Why is it that we can't give relative URL's when using ServletContext.getRequestDispatcher() when we can use the same while calling ServletRequest.getRequestDispatcher()?

1103

List out difference between a JavaBean from a Servlet?

1037

How to find whether a parameter exists in the request object?

1111

List out the difference between ServletConfig and ServletContext?

1046

The code in a finally clause will never fail to execute, right?

1085

Can we use the constructor, instead of init(), to initialize servlet?

1099

Once the destroy() method is called by the container, will the servlet be immediately destroyed? What happens to the tasks(threads) that the servlet might be executing at that time?

1258


Post New Servlets Questions

Un-Answered Questions { Servlets }

When should you prefer to use doget() over dopost()?

1157


How do you design microservices?

1084


What is new in ServletRequest interface ? (Servlet 2.4)

1016


Can we override destroy method in servlet?

987


How to find whether a parameter exists in the request object?

1111


Hello, My project requirement is like I need to create a web page using MVC pattern. I hava a bean class, jsp page, servlet, service and dao. My jsp has two fields. One is dropdown list. The option values has to get populated from the database table. The other one is a text box and its value has to come from database table. As of now I have defined the fields in bean class, got the values from database using arraylists in dao class and I called this from service class. Can anyone please tell me the workflow of how the servlet will get this arraylist and populate the arraylist values as dropdown options in jsp page? Also I would like to know the role of bean class in MVC pattern? Thanks in advance!

2368


What is http servlet?

1065


Describe some assignments that are executed by servlet container?

1082


Servlet is pure java object or not?

1193


How the typical servlet code look like ?

1238


Define servlet mapping?

1168


What if you need to span your transaction across multiple servlet invocations?

1092


What is servlet collaboration?

1144


What is the use of attribute in servlets?

1048


What mechanisms are used by a Servlet Container to maintain session information?

1174