Wednesday, July 30, 2014

[OneStopGATE] Digest Number 1962

2 Messages

Digest #1962

Messages

Tue Jul 29, 2014 8:30 pm (PDT) . Posted by:

"Pujarani" a.maheshi



________________________________

SERVLET INTERVIEW QUESTIONS

 
Download Free Interview Questions eBook of 500 Questions 

(If you do not have a Yahoo! account, you can get it by simply sending a blank email to CoolInterview-Subscribe@yahoogroups.com and confirm the verification email received. Once your email is confirmed, we will instantly send the download link to you.)
Servlet Interview Questions
* What is the difference between the getRequestDispatcher(String path) method of javax.servlet.ServletRequest interface and javax.servlet.ServletContext interface?
http://www.coolinterview.com/interview/4116/ 

 
* Do we have a constructor in servlet ?Can we explicitly provide a constructor in servlet program? Can we call "destroy" method from "init" method()? If so what will happen? 
http://www.coolinterview.com/interview/5812/ 

 
* What are the uses of Servlets? 
http://www.coolinterview.com/interview/1295/ 

 
* What is the difference between servlets and applets? 
http://www.coolinterview.com/interview/1293/ 

 
* Can we write bussiness methods in servlets? if yes, then how can u access that from out side of the servlets? 
http://www.coolinterview.com/interview/5753/ 

 
* When is the servlet instance created in the life cycle of servlet? What is the importance of configuring a servlet? 
http://www.coolinterview.com/interview/21814/ 

 
* how do you compile servlet program? 
http://www.coolinterview.com/interview/12392/ 

 
* What is pure servlet? 
http://www.coolinterview.com/interview/10820/ 

 
* Can we call destroy() method on servlets from service method? 
http://www.coolinterview.com/interview/5820/ 

 
* Difference between single thread and multi thread model servlet 
http://www.coolinterview.com/interview/5821/ 

 
* How to communicate between two servlets? 
http://www.coolinterview.com/interview/5811/ 

 
* When a servlet accepts a call from a client, it receives two objects. What are they? 
http://www.coolinterview.com/interview/1299/ 

 
* What is servlet context ? 
http://www.coolinterview.com/interview/21812/ 

 
* Types of Servlets? 
http://www.coolinterview.com/interview/5786/ 

 
* What is the difference between callling a RequestDispatcher using ServletRequest and ServletContext? 
http://www.coolinterview.com/interview/21817/ 

 
* If you want a servlet to take the same action for both GET and POST request, what should you do? 
http://www.coolinterview.com/interview/1304/ 

 
* What is the difference between servlets and jsp? 
http://www.coolinterview.com/interview/12485/ 

 
* What is the difference between GenericServlet and HttpServlet? 
http://www.coolinterview.com/interview/1310/ 

 
* What information that the ServletResponse interface gives the servlet methods for replying to the client? 
http://www.coolinterview.com/interview/1297/ 

 
* Why init is used and not constructor for servlets initialization? 
http://www.coolinterview.com/interview/10824/ 

 
* What is the diff b/w doGet() and service() method? 
http://www.coolinterview.com/interview/10819/ 

 
* How to Access Session Variables in Servlets & JSp 
http://www.coolinterview.com/interview/5740/ 

 
* Difference between single thread and multi thread model serv 
http://www.coolinterview.com/interview/1292/ 

 

* What is the servlet life cycle? 
http://www.coolinterview.com/interview/1303/ 

 
* What is the difference between servlet context and servlet config 
http://www.coolinterview.com/interview/5851/ 

 
* What is the difference between ServetConfig and ServletContext..? 
http://www.coolinterview.com/interview/5817/ 

 
* What is the difference between ServletContext and ServletConfig? 
http://www.coolinterview.com/interview/1308/ 

 
* Is servlet is used to create a dynamic webpage or Static webpage or both? 
http://www.coolinterview.com/interview/5790/ 

 
* How do to prevent user by viewing secured page by clicking back button when session expired..:) 
http://www.coolinterview.com/interview/5771/ 

 
* Difference between application server and web sever? 
http://www.coolinterview.com/interview/12627/ 

 
* What is the Servlet Interface? 
http://www.coolinterview.com/interview/1300/ 

 
* What is a better approach for enabling thread-safe servlets and JSPs? SingleThreadModel Interface or Synchronization? 
http://www.coolinterview.com/interview/1305/ 

 
* What is difference between Design Pattern and FrameWork. 
http://www.coolinterview.com/interview/5852/ 

 
* When we have the servlets/struts what is the perpose of EJB 
http://www.coolinterview.com/interview/5739/ 

 
* Explain about performance features of servlets? 
http://www.coolinterview.com/interview/23611/ 

 
* What is default Session time out in the servers like Tomcat, Weblogic, JBoss,..etc? 
http://www.coolinterview.com/interview/5773/ 

 
* What is the actual difference between MVC and MVC Model2 
http://www.coolinterview.com/interview/5855/ 

 
* How does servlets handle data and give some examples of this feature? 
http://www.coolinterview.com/interview/23613/ 

 
* Explain about Http specific servlets? 
http://www.coolinterview.com/interview/23610/ 

 
* How can I send user authentication information while making URL Connection? 
http://www.coolinterview.com/interview/21807/ 

 
* How can we refresh the servlet for every 2 minutes automatically? 
http://www.coolinterview.com/interview/10823/ 

 
* How can a web container know whether cookies are accepted or not accepted by the browser 
http://www.coolinterview.com/interview/10821/ 

 
* What is the use of ServletConfig and ServletContext..? 
http://www.coolinterview.com/interview/5819/ 

 
* Which code line must be set before any of the lines that use the PrintWriter? 
http://www.coolinterview.com/interview/1302/ 

 
* Can I just abort processing a JSP? 
http://www.coolinterview.com/interview/1306/ 

 
* When we increase the buffer size in our project using page directive attribute 'buffer' what changes 
http://www.coolinterview.com/interview/5809/ 

 
* In which conditions we have to use the ServletContext 
http://www.coolinterview.com/interview/5781/ 

 
* What is the use of findbyprimarykey()? 
http://www.coolinterview.com/interview/5853/ 

 
* Can we write destroy() method in the init() method of a Servelt. if we can, what will happen? if we cant , why we cant? 
http://www.coolinterview.com/interview/5735/ 

 
* What is difference between servlet and ASP? 
http://www.coolinterview.com/interview/5768/ 

Tue Jul 29, 2014 9:30 pm (PDT) . Posted by:

"Pujarani" a.maheshi


 
 
Resume Submitter |Fresher Jobs | Government Jobs |Walk-ins | Exam Notifications |News
Latest Experienced Jobs
Openings Python Developer At Symphony
>http://www.vyoms.com/jobs/details/openings-python-developer-at-symphony-31241.asp
>Web Methods Developer Required At Hexaware
>http://www.vyoms.com/jobs/details/web-methods-developer-required-at-hexaware-31240.asp
>Opportunity for Sharepoint Developer At Espire
>http://www.vyoms.com/jobs/details/opportunity-for-sharepoint-developer-at-espire-31239.asp
>Requirement for Java Developer @ Thomson Digital
>http://www.vyoms.com/jobs/details/requirement-for-java-developer-thomson-digital-31238.asp
>Openings for Hybris Developer At Applexus
>http://www.vyoms.com/jobs/details/openings-for-hybris-developer-at-applexus-31237.asp
>Opportunity for Java Developer @ ION
>http://www.vyoms.com/jobs/details/opportunity-for-java-developer-ion-31236.asp
>Required C++ with Unix Development At Oracle
>http://www.vyoms.com/jobs/details/required-c-with-unix-development-at-oracle-31235.asp
>Urgent walk ins for .net Developer @ NIIT
>http://www.vyoms.com/jobs/details/urgent-walk-ins-for-net-developer-niit-31234.asp

>Walk-in for .Net Developers At Chetu
>http://www.vyoms.com/jobs/details/walk-in-for-net-developers-at-chetu-31232.asp
>IBM Hiring for Application Developer
>http://www.vyoms.com/jobs/details/ibm-hiring-for-application-developer-31230.asp
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
FREE GATE EXAM PREPARATION RESOURCES
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

<*> http://www.onestopgate.com - Complete Resources on GATE Exam (General Aptitude Test of Engineering). Visit now at http://www.onestopgate.com

<*> http://forum.onestopgate.com - GATE Discussion Forum - Share all your experiences and discuss all the queries here at http://forum.onestopgate.com

<*> http://groups.yahoo.com/group/OneStopGATE/join - JOIN ONESTOPGATE GROUP - Join OneStopGATE group now and receive the latest information and preparation material on GATE Exam now! http://groups.yahoo.com/group/OneStopGATE/join



---------------------------------------------------------------



Join http://groups.yahoo.com/group/OneStopGATE/join
  Join http://groups.yahoo.com/group/OneStopGATE/join
    Join http://groups.yahoo.com/group/OneStopGATE/join
      Join http://groups.yahoo.com/group/OneStopGATE/join
        Join http://groups.yahoo.com/group/OneStopGATE/join
      Join http://groups.yahoo.com/group/OneStopGATE/join
    Join http://groups.yahoo.com/group/OneStopGATE/join
  Join http://groups.yahoo.com/group/OneStopGATE/join
Join http://groups.yahoo.com/group/OneStopGATE/join

No comments: