New Servlets Interview Questions :: ALLInterview.com http://www.allinterview.com New Servlets Interview Questions en-us Hi frnd can i any one kindly can post for me portlet,hibernate and sp http://www.allinterview.com/showanswers/101037.html Hi frnds iam new to Java Kindy any one can provide or me Servlets Ex http://www.allinterview.com/showanswers/100668.html Hi friends am newbie to servlet. How code reusability easy in servl http://www.allinterview.com/showanswers/100629.html Hi friends, am newbie to servlet. My interviewer asked why used servl http://www.allinterview.com/showanswers/100561.html yes correct.And the answer should also include that because servlet has some methods that are inherited from super class like...init,destroy and many more that are used to handle the request. can we use more than one controller in web application http://www.allinterview.com/showanswers/99407.html We can have multiple controllers but if it is a struts framework then it voilates MVC design since we cannot have more than one controller in MVC Hi Frieds, I am new to servlet why to use servlet in webapplication http://www.allinterview.com/showanswers/98167.html Servlet is a server side technology,for developing serverside application(web applications). In ModelI we use Servlet and Jsp's only.jsp used for Presentation logic and Servlet used for Business logic & as Controller. Why because why business logic written using servlets not in jsp. Jsp used for pr http://www.allinterview.com/showanswers/97968.html In servlets we have resource for developing the business logic but Jsp have the tags for present the output clerly. without session Id can we do any operations like add,update,edit,dele http://www.allinterview.com/showanswers/96511.html what is the control flow in servlet when we send a request? http://www.allinterview.com/showanswers/95482.html -->first request comes from client browser to server (container)which takes the control to the web.xml file. -->in xml file servlet file(.class) will be searched according to the information about the url pattern given in the add describe all about advanced java with presentation http://www.allinterview.com/showanswers/92636.html advanced java is the one which deals with web application components...servlets will deal with the business logic by putting the html code inside java,jsp concentrates on presentation logic by putting the java code inside html.. The EJB will act Can we call destroy() method inside the init() method? What happens w http://www.allinterview.com/showanswers/88259.html Yes you can call init method in destroy. public void destroy(){ try { init(); } catch(Exception e){ } } i am bca student,give me suggest for bright future http://www.allinterview.com/showanswers/82342.html do some business can u give some realtime example in ploymorphism? and inheritance? http://www.allinterview.com/showanswers/81015.html Inheritance is a concept which involves the concept of re usability Ex:Bank Accounts-->SB Account,RD Account,CD Account Polymorphism concept of one existing in many forms Ex:In Graphical User interfaces,AWT when will cookie information destroy? http://www.allinterview.com/showanswers/81014.html cookie is small amount of data and it's store on the client machine that is your browser machine ..Developer to create cookie and set the life time of cookie on our web application example cookie.setMaxAge(1000); the cookie available What is forward() and include() of servlets RequestDispatcher interf http://www.allinterview.com/showanswers/79790.html Forward():By using forward() method of RequestDispatcher ,ew can forward a request to a another resource(i.e servlets,jsp,html....),at finally we can see only called resource output(i.e second resource output ) For exm. we have two servlets,(serv