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

Is Servlet Class Thread safe?????? How to make servlet Thread safe ???

Cognizant,

4 9121

Is JSP Thread Safe ???? How To make JSP thrad safe ?????

Cognizant,

6 18825

Difference Between Web Server and Application server ??

PWC,

4 9916

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

CTS,

3 8920

which method in doGet or doPost is use to send binary date to server

HCL,

2 8277

why are using HttpServlet in realtime projects and why are not using Genericservlet

2 9318

what is the difference between servlets and struts?

3 30681

why are extending GenericServlet and why are extending HttpServlet explain?

7 12836

what is the difference between doGet() and doPost()?

TCS,

6 15460

hi actully i hav form columns with origin and destination names .as like as i need to create one more column with name amount. my requirement is when i select origin and destination columns automatically i need to get amount from database.how can i. please tel me with relative code

CTS,

2775

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!

2354

explain filters in java?

TCS,

2 7197

I have a requirement Here we have a ResultSet object that will contain 50 records i need to print those recors in to a webpage(i.e; view according to MVC architectures that mybe servlet or jsp) . Here i need to print the records 10 per page that is 1 to 10 in page one and 11 to 20 in page two like remaining will be appeared in other pages we need to display those page numbers whenever we click on that page number we will go to that page and display 10 records like we will display 5 pages it is like this << 1 2 3 4 5 next >>

ProKarma,

2962

My Question is that i am using tag in my servlet and after compilation after that calling by url in my browser then images are not showing. Sometime images are showing and sometime is not showing. I am using Tomcat to run my servlets. Tell me if there any specification for image in servlets or what is solution for this ??

2 5352

What is the difference between JspWriter and PrintWriter

Artech,

4 18166


Post New Servlets Questions

Un-Answered Questions { Servlets }

What methods do you use in servlet - applet communication?

1039


What are the differences between servlet context vs servlet config?

1079


What is cookies in servlet with example?

1117


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

1149


What is a web application and what is it’s directory structure?

1073


What are Servlets?

1108


How can an existing session be invalidated?

1164


How many servlet objects are created?

1061


What is the main purpose of java servlets?

1051


Which exception is thrown if the servlet is not initialized properly?

1022


What is the difference between the include() and forward() methods?

1079


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

1102


What is the use of httpservletrequestwrapper and httpservletresponsewrapper?

1038


How to make sure a servlet is loaded at the application startup?

1039


How can a servlet be used to generate plain text instead of html?

950