Servlets Interview Questions
Questions Answers Views Company eMail

What is the structure of the http response

687

What’s the difference between sendredirect and forward methods

574

What are the annotations used in servlet 3?

584

What is the disadvantage of cookies?

588

What is load-on-startup in servlet?

594

What is difference between cookies and httpsession?

555

What is the use of attribute in servlets?

550

Which event is fired at the time of setting, getting or removing attribute from application scope?

626

What are the life-cycle methods for a servlet?

564

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

556

What is war file?

587

How to create war file?

623

Can you call a jsp from the servlet?

554

What is the use of welcome-file-list?

580

What if we pass negative value in load-on-startup?

816


Post New Servlets Questions

Un-Answered Questions { Servlets }

Explain the differences between jsp and servlet.

548


How can we include static files in the jsp page?

621


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

2290


What are the difference between RMI and Servlets?

1059


How servlet is created?

553






What is the GenericServlet class?

614


What is a generic servlet?

529


What is java servlet?

617


What are all the protocols supported by httpservlet?

658


What is servlet in web technology?

582


How to get the path of servlet in the server?

544


What is the difference between Servlets and Applets?

553


How can we invoke another servlet in a different application?

718


What is meant by servlet? What are the parameters of the service method?

591


Explain the difference between a web server and a web container?

525