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
22461) 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 4262how to create Calculator GUI using Gridbaglayout as like as Window Calculator??????????? (Open calculator Go-->Run-->type calc-->Enter)
TCS,
1 10127Write a java program to find out the sum of harmonic series : 1 + ½ + 1/3 + ……… up to nth term , for any value of n.
2 15593Will it be called overriding if I do not change the parameters or return type, instead throw a different exception in the method signature.
4 8180Post New Advanced Java Questions
Describe responsibilities of Activator?
What is the difference between RMI and Corba?
In RMI, inorder to sent the stub reference to the client, is we have to load the server object first into the memory or can we directly sent reference to the client?
What is Stream Tokenizer?
What is prototype?
What is a tasks priority and how is it used in scheduling?
what is a non-repeatable read?
What are transaction attributes?
Which characters may be used as the second character of an identifier, but not as the first character of an identifier?
What class is the top of the awt event hierarchy?
Explain the difference between object state and behavior?
How are commas used in the intialization and iteration parts of a for statement?
What is the relationship between the canvas class and the graphics class?
How would you create a button with rounded edges?
Can constructors be synchronized in java?