Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

Servlets Interview Questions
Questions Answers Views Company eMail

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

Cognizant,

4 6120

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

Cognizant,

6 10006

Difference Between Web Server and Application server ??

PWC,

4 7027

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

CTS,

3 6265

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

HCL,

2 6144

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

2 7427

what is the difference between servlets and struts?

3 26030

why are extending GenericServlet and why are extending HttpServlet explain?

7 8610

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

TCS,

6 11255

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,

1834

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!

1408

explain filters in java?

TCS,

2 5461

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,

2062

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 3298

What is the difference between JspWriter and PrintWriter

Artech,

4 14620


Post New Servlets Questions






Un-Answered Questions { Servlets }

What are the uses of servlets?

162


Servlet is pure java object or not?

191


When a client request is sent to the servlet container, how does the container choose which servlet to invoke?

152


What are the type of protocols used in httpservlet?

173


What is the use of request dispatcher interface?

140






what do you understand by url rewriting?

132


What is servletconfig?

112


What are the different methods involved in generic servlet?

146


How can you push data from an Applet to a Servlet?

177


Which application server is best for java?

129


why we should override only no-agrs init() method.

203


What is the process for chaining servlet?

153


Why jsp is better than servlet?

119


What is the difference between jsp and servlet life cycle?

128


What is war file?

152