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
22951) 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 4328how to create Calculator GUI using Gridbaglayout as like as Window Calculator??????????? (Open calculator Go-->Run-->type calc-->Enter)
TCS,
1 10194Write a java program to find out the sum of harmonic series : 1 + ½ + 1/3 + ……… up to nth term , for any value of n.
2 15678Will it be called overriding if I do not change the parameters or return type, instead throw a different exception in the method signature.
4 8322Post New Advanced Java Questions
Explain how will the struts know which action class to call when you submit a form?
How would you reatach detached objects to a session when the same object has already been loaded into the session?
What is the difference between session and entity beans?
Do we need to override service() method
Define the remote object implementation?
What is ioc concept?
What is the relation between the infobus and rmi?
Is the infobus client side only?
Why is actionform a base class rather than an interface?
What do you mean by Socket Programming?
What is a tasks priority and how is it used in scheduling?
Why doesn’t the focus feature on the tag work in every circumstance?
What is the difference between the session.get() method and the session.load() method?
What is threadfactory?
What is the diffrence between a local-tx-datasource and a xa-datasource? Can you use transactions in both?