Servlets Interview Questions
Questions Answers Views Company eMail

without session Id can we do any operations like add,update,edit,delete. I saw Session id is loaded for edit and delete action not for add .so am asking this

Syntel,

1 4396

why business logic written using servlets not in jsp. Jsp used for presentation purpose. serlvet used for coding business logic and controller logic. Reason for using servlets in business logic.

5 11215

Hi Frieds, I am new to servlet why to use servlet in webapplication. what i know is " use servlet as a controller in mvc and to implemnent business logic . is it correct ? One more thing reason for implementing business logic with servlets , why not jsp.

4 4607

can we use more than one controller in web application

IBM,

3 8425

Hi friends, am newbie to servlet. My interviewer asked why used servlet in your application. i used servlet for controller logic and business logic . is it correct ?

TCS,

5 8422

Hi friends am newbie to servlet. How code reusability easy in servlet. why not in jsp . here reusabillity means only javabeans or any thing else.

1 3282

Hi frnds iam new to Java Kindy any one can provide or me Servlets Example code and can explain to me flow of servlets and as Jsp and Struts and provide to me some sample example on these 3 topic flow,code example,and tutorials,and related websites which i can refer....thanks in advance..........

3 4144

Hi frnd can i any one kindly can post for me portlet,hibernate and spring example application and with flow explantion configuration using Jdeveloper.and related links ar tutorials kindly please send me .its urgent for me .thanks in advance...........else can any one send to kondaiah.goddeti@gmail.com

1747

Hi Friends, Can we make any method thread safe withour synchronized keyword?

2 5252

how JSP can extend servlet or interface ...?

IBM,

3 13594

give the syntax of doGet() and doPost()?

2 22997

how to pass parameter from servlet to html form

4 18088

what is EJB and Java servlet

2 4002

how to make the IP address to .com

iGate,

1 4134

when the several requests comes to server..how it manage the requests

iGate,

4 6384


Post New Servlets Questions

Un-Answered Questions { Servlets }

What is the difference between servlet and jsp?

602


What is the major difference between context parameter and context attribute?

599


How we can call a jsp from the servlet?

537


What is servlet attributes and their scope?

596


What’s the difference between forward() and sendredirect() methods?

577






What is the difference between Servlet Request and Servlet Context when calling a Request Dispatcher?

605


Explain the features are in servlet 3?

603


How to get the path of servlet in the server?

542


How is the get () method different from the post() method?

539


Why do you use session tracking in httpservlet?

639


What is the main purpose of java servlets?

587


How can we upload the file to the server using servlet?

546


How to get ip address in jsp login page and how to validate like 127.1.0.1 all should not be greater than 255

2920


Write a servlet to upload file on server.

604


What are the disadvantages of storing session state in cookies?

631