What will happen inside init() in servlet. my interviewer asked servlet lifecycle. i said "once servlet is loaded in to memory init() will be called which performs servlet initialization " . Again interview asked what values will be initialized . what is difference between init() and init(ServletConfig config).
2 13279I need some details about an employee. i have only the employee id in my presentation layer(JSP).I entered that ID and click "Show Details" Button. Question is how the JSP pass that id to Controller layer and DAO and what mechanism we are using to retrive data from DB and how the data passed to JSP as a Output. Please explain in detail.
1 5289My application URL : http://localhost:8080/Application/Login.jsp. When a user enter this url in IE then, how it get Login.JSP Page exactly? what are the processes will happen from when we submit the URL to get Login.jsp?
3 45445What is Three tier architecture. Can anyone explain with a Ordinary web application Project? (JSP,Servlets,JAVA,DAO) ?
3 12173We can write any Java Logics in our JSP. Then why we are using servlets(Controller Layer) to interact with the DAO ?
6 11409what is the use of clone method? why user cant overwrite in sub class without its proper defination.
2 62922) Suppose there are 5 directories having lot of files (say txt files) in each directory. 2 things :- 2.1) You want to search for filenames which have a particular pattern. 2.2) Out of these filtered files you want to search for a particular keyword or a search string. How can you achieve this?
2285what is the output??????? public class multireturn { public(int assign x ( int x) { if(4==x) { return 7; } else if (7=x+3) { return 6; } return 5; } }
3 5881Post New TCS Core Java Interview Questions
what is the reproductive cycle of non flowering plants?
please tell me any easy ways of testing the Data warehouse project. In my project we are not using any tools for ETL. we are writing scripts in SCRIPTELLA. And we using Pentaho tool for Reporting How can i test all these. please tell me ASAP. thanks in adavance
Explain what is power center repository?
what kind of technical test that i need to learn because i have an interview tomorrow.. please someone help me..
How do I merge cells in word 2013?
Will Uber cause city congestion?
If we connect a motor and generator together (I mean that the generator gives the motor electricity and the motor gives the generator movement) regardless the losses. Will the generator still generate and the motor still move?
Which domain study artificial included?
how to debug a document manager in oracle apps?
What are the three types of websites?
Explain how to implement workflow in sharepoint?
What is the difference between myisam and innodb?
Tell me what is metallic fibers?
what is the similarity between networking devices?
Page replacement algorithm in Operating System?