KyaPoocha.com

Huge Collection of Interview Questions


Archive for March, 2006

What utility can you use to show a dynamic listing of running processes? 

Top-The top utility shows a listing of all running processes that is dynamically updated  Read more »

Who owns the data dictionary? 

The SYS user owns the data dictionary. The SYS and SYSTEM users are created when the database is created.  Read more »

Compare Linux credit based algorithm with other scheduling algorithms? 

For the conventional time –shared processes, Linux uses a prioritized, credit-based algorithm. Each process possesses a certain number of scheduling credits; when... Read more »

What is JSP? 

Let’s consider the answer to that from two different perspectives: that of an HTML designer and that of a Java programmer. If you are an HTML designer, you... Read more »

How does a servlet communicate with a JSP page? 

The following code snippet shows how a servlet instantiates a bean and initializes it with FORM data posted by a browser. The bean is then placed into the request,... Read more »

How do you pass control from one JSP page to another? 

Use the following ways to pass control of a request from one servlet to another or one jsp to another. · The RequestDispatcher object ‘s forward method to pass... Read more »

What are advantages of JSP? 

The two main uses of jsps are: 1) Using jsp’s we can can seperate the presentation logic from business logic very easily(we can also do the same using the... Read more »

What is difference between scriptlet and expression? 

What ever we write inside the scriptlet thats become a part of service mathod of jsp generated serlet. and executed with in service method. and treated as html info.... Read more »

Can a JSP page process HTML FORM data? 

Yes. However, unlike servlets, you are not required to implement HTTP-protocol specific methods like doGet() or doPost() within your JSP page. You can obtain the... Read more »

How can I declare methods within my JSP page? 

You can declare methods for use within your JSP page as declarations. The methods can then be invoked within any other methods you declare, or within JSP scriptlets... Read more »

How can I implement a thread-safe JSP page? 

You can make your JSPs thread-safe by having them implement the SingleThreadModel interface. This is done by adding the directive within your JSP page.  Read more »

What JSP lifecycle methods can I override? 

You cannot override the _jspService() method within a JSP page. You can however, override the jspInit() and jspDestroy() methods within a JSP page. jspInit() can... Read more »

What are the implicit objects in JSP & differences between them? 

There are 9 Implicit Objects defined in JSP are : application, config, exception, out, page, pageContext, request, response and session. The main difference between... Read more »

How can I enable session tracking for JSP pages if the browser has disabled cookies? 

We know that session tracking uses cookies by default to associate a session identifier with a unique user. If the browser does not support cookies, or if cookies... Read more »

How long would you expect to work for us if hired? 

Specifics here are not good. Something like this should work: I’d like it to be a long time. Or As long as we both feel I’m doing a good job.  Read more »

Page 7 of 85« First...«56789»...Last »