Advanced Java Interview Questions
Questions Answers Views Company eMail

A user of a web application sees a jsessionid argument in the URL whenever a resource is accessed. What does this mean? a. The form must have the field jsessionid b. URL rewriting is used as the session method c. Cookies are used for managing sessions


1) which method of the RequestDispatcher cannot be called once the output is sent to the client? a. forward b. include c. both a&b 2) which interface should an object implement to get notified of changes to the list of active sessions in a web application? a. HttpSessionListener b. HttpSessionActivationListener c. HttpSessionAttributeLIstener 3) A user can select multiple locations from a list box on an HTML form, which of the following methods can be used to retrieve all the selected location? a. getParameter() b. getParameterValues() c. getParamValues() 4) which of the following methods should be used to send character text to the client? a. ServletResponse.getWriter() b. ServletResponse.getOutputStream() c. ServletResponse.getOut() 5) which implicit object is always available in a JSP page? a. exception b. session c. out 6) which inclusion mechanism doesn't include the source of the page, rather the output of the page. a. include directive b. jsp:include action c. Bothe a& b 7) which attribute of the page controls whether a page participates in session or not? a. session-allowed b. session c. isSession

1 2502

Difference Between java & javax

Sun Microsystems, Wipro,

5 17687

is servlet,struts are threadsafe or not.please telme correct answer


1 2501

difference between apllet and interface class


1 1761

Thread life cycle?


3 2849

what is the difference between System.out.println and out.println in java


9 20799

how to create Calculator GUI using Gridbaglayout as like as Window Calculator??????????? (Open calculator Go-->Run-->type calc-->Enter)


1 6313

how java is os independent language ?

3 2539

Write a java program to find out the sum of harmonic series : 1 + ½ + 1/3 + ……… up to nth term , for any value of n.

2 12105

Different between Struts and Spring? or Why use Spring, if you are already using Struts?


3 3154

Does Java pass arguments by value or reference?


5 5386

Difference between JRE and JVM?

HeadStrong, Infotech,

3 4168

Will it be called overriding if I do not change the parameters or return type, instead throw a different exception in the method signature.


4 4579

How will the struts know which action class to call when you submit a form?


6 4748

Post New Advanced Java Questions

Un-Answered Questions { Advanced Java }

Explain about thread synchronization inside a monitor?


How primary key is implemented in Oracle?


Where we can write Rmi registry in the code, without having to write it at the command prompt?


What are the services in RMI ?


How to deploy Jar, War files in J2EE?


What is table mutation and how do you avoid it?


If we opened Windows Internet Explorer 4 times, does it starts 4 processes or 4 threads?


What class is used to create Server side object ?


What is TL and its use?


Do we need to override service() method


what is an isolation level?


difference between  ejb,struts,hibernate,spring and jsp


what are memory considerations of jsp compares to other web components?


How a component can be placed on Windows?


How database connectivity in XML is achieved?