tag:blogger.com,1999:blog-8712770457197348465.post4074490002809448791..comments2024-03-28T18:10:34.431-07:00Comments on Javarevisited: Top 10 Servlet Interview Question Answers for Java JEE Developersjavin paulhttp://www.blogger.com/profile/15028902221295732276noreply@blogger.comBlogger18125tag:blogger.com,1999:blog-8712770457197348465.post-39553358115349265102018-07-10T22:33:58.841-07:002018-07-10T22:33:58.841-07:00Click ctrl+p and save as pdf in chromeClick ctrl+p and save as pdf in chromeAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-4049423498992064062017-01-30T08:32:59.581-08:002017-01-30T08:32:59.581-08:00very useful sitevery useful siteAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-13257730386431170822016-06-18T11:41:29.834-07:002016-06-18T11:41:29.834-07:00Nice ArticleNice ArticleAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-28724544272428664242016-01-03T05:17:30.513-08:002016-01-03T05:17:30.513-08:00The below link is for the question "How to st...The below link is for the question "How to stop servlet manually"<br />link :<br />http://stackoverflow.com/questions/546097/calling-system-exit-in-servlets-destroy-methodantarahttps://www.blogger.com/profile/01470474408228826719noreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-57844881126203127152015-11-10T05:48:41.192-08:002015-11-10T05:48:41.192-08:00Can someone answer the questions listed in the com...Can someone answer the questions listed in the comments section?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-4495756389530069962015-06-02T03:18:53.876-07:002015-06-02T03:18:53.876-07:00@Anonymous, you cannot stop a Servlet manually, at...@Anonymous, you cannot stop a Servlet manually, at most you can undeploy the application. JMX provides runtime control but I am not sure if its avaiable with Servlet or not.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-10902988401749204892014-10-17T06:08:22.007-07:002014-10-17T06:08:22.007-07:00How to stop a servlet manually/forcefully. If ther...How to stop a servlet manually/forcefully. If there are 10 servlet, how to stop only one servlet that has an error. <br /><br />I was asked this question in interviewAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-53229815861028543042014-01-13T02:23:45.984-08:002014-01-13T02:23:45.984-08:00Hi Javin, Can I use GET request instead of PUT to ...Hi Javin, Can I use GET request instead of PUT to create resources??Anonymoushttps://www.blogger.com/profile/04224756398662864857noreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-23460046705771023372013-08-23T00:26:53.274-07:002013-08-23T00:26:53.274-07:00Calling doGet() from doPost() and vice versa won&#...Calling doGet() from doPost() and vice versa won't create deadlock. It just become a infinite loop and cause the StackOverflowException. It might look like a dead lock, but that's not a deadlock in the technical sense of the word.<br />Arjunhttps://www.blogger.com/profile/14563124538491669651noreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-39770205833084662372013-01-23T04:40:44.540-08:002013-01-23T04:40:44.540-08:00Comment from Gaurav Dubey:
Hi Javin
If you can po...Comment from Gaurav Dubey:<br />Hi Javin<br /><br />If you can post some interview questions about Java Filters that would be good. Because filters are getting addressed in interviews.<br />eg<br />When a programer should write a filter?<br />What is the main purpose of filter?<br />How it works ?<br /><br />Interviewers ask these questions.<br /><br />---------------------<br />Hi @Gaurav Dubey,Javin @ xml interview questionshttp://javarevisited.blogspot.com/2013/01/10-xml-interview-questions-and-answers.htmlnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-82501893250818280482012-08-11T00:52:14.873-07:002012-08-11T00:52:14.873-07:00There are really good, tricky and advanced servlet...There are really good, tricky and advanced servlet question in comments. hope you can provide answers of these tricky question as well. Servlet is not a tough topic on interview but some questions especially from Filter like How to use ThreadLocal variable using Filter in Java is real tricky Servlet question to answer. Servlet Question provided by Pushkar is updated and new and more chances to Aaravnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-35956550116364825002012-05-21T19:40:23.525-07:002012-05-21T19:40:23.525-07:00recently interviewers are started asking questions...recently interviewers are started asking questions from Servlet 3.0, these are the few servlet interview questions which were based on Servlet 3.0 API:<br /><br />1. What are major enhancement or features added in Servlet 3.0 API (async processing, annotation, modularization of web.xml etc.)<br /><br />2. What is asynchronous processing in Servlet? Why do you need that?<br /><br />3. How do you Pushkarnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-25689575955139555082012-05-21T19:32:47.790-07:002012-05-21T19:32:47.790-07:00how about these Servlet questions:
1. What is ini...how about these Servlet questions:<br /><br />1. What is initialization order of servlet ? What are lifecycle method and who calls them?<br />2. How Servlet and JSP are related to each other ?<br />3. What is Servlet Container, What are responsibilities of Servlet Container?<br />4. What is difference between ServletContext and ServletConfig?<br />5. How to control initialization of Servlet? How Deepakhttp://en.wikipedia.org/wiki/Java_Servletnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-86983132010416102642012-01-17T21:28:34.603-08:002012-01-17T21:28:34.603-08:00Does calling doGet() from doPost() and vice versa ...Does calling doGet() from doPost() and vice versa really cause a deadlock? Or, does it cause a StackOverflowException?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-4703634707539162952012-01-02T17:43:03.333-08:002012-01-02T17:43:03.333-08:00Another good servlet interview question is What is...Another good servlet interview question is What is load-on-startup tag in web.xml do and what does value of zero for load on startup means ?Rickynoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-62507492849869354232011-12-01T23:56:14.253-08:002011-12-01T23:56:14.253-08:00Good collection of Servlet Interview questions Ans...Good collection of Servlet Interview questions Answers but I am looking pdf version of Servlet interview questions in Java , Can you please let me know how can I download Servlet interview questions pdf from your blog. ThanksLeskivovnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-2903377082037940002011-10-13T05:59:46.973-07:002011-10-13T05:59:46.973-07:00hi Jsguy, that's interesting question, Please ...hi Jsguy, that's interesting question, Please share answer as well and how your interview went?<br /><br />Thanks<br />JavinJavin @ convert string to int in javahttp://javarevisited.blogspot.com/2011/08/convert-string-to-integer-to-string.htmlnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-3931237356047740342011-10-11T16:07:09.937-07:002011-10-11T16:07:09.937-07:00Excellent site. One q I was asked is how to preven...Excellent site. One q I was asked is how to prevent double submission from browser in which JavaScript is disabled?Jsguynoreply@blogger.com