-
Which of the following correctly defines JSP technology
Skill/Topic: FundamentalsA) JSP page is a text-based document that describes how to process a request to create a response. B) JSP page is a text-based document that describes how to process a to response create a request. C) JSP page is a xml-based document that describes how to process a request to create a response. D) JSP page is a xml-based document that describes how to process a to response...
-
-
The JspPage interface defines the __________ and ____ method which the page writer can use in their pages and are invoked in much the same manner as the ____ and _____ methods of a servlet.
Skill/Topic: JSP Life CycleA) jspInit(), jspDestroy(), init() , destroy()B) init(),jspDestroy(),jspInit(),destroy()C) destroy(),jspDestroy(),jspInit(),init()D) init(),destroy(),jspInit(), jspDestroy()
-
Which of the following statements is true regarding the scope of the ‘session’ in JSP? (Multiple choice)
Skill/Topic: JSP Life CycleA) Objects with session scope are accessible from pages processing requests that are in the same session as the one in which they were created.B) It is not legal to define an object with session scope from within a page that is not session-aware.C) All references to the object shall be released after the associated session ends.D) References to objects with session scope...
-
Which of the following statements are trueI cookie.setMaxAge(0) – delete the cookieII cookie.setMaxAge(1) –the cookie will live before it expiresIII cookie.setMaxAge(-1) – the cookie will not be stored beyond this session.
Skill/Topic: JSP Life CycleA) I onlyB) II, III onlyC) I, II onlyD) I, II, III
-
State true or false -- The < % return; % > simply aborts the processing of JSP
Skill/Topic: JSP Life CycleA) TrueB) FalseExplanation: Because your JSP is just a servlet method
-
Which of the following points is true regarding the general and selling point of Servlet (Multiple choice)
Skill/Topic: ServletsA) A Servlet can handle multiple requests concurrently, and synchronize requests. B) Servlet support systems such as online real-time conferencing. C) Servlet can forward requests to other servers and Servlet. D) Servlet can be used to balance load among several servers that mirror the same content, and to partition a single logical service over several servers, according to task...
-
Which of the following statements is true about the ServletInterface ? (Multiple choice)
Skill/Topic: ServletsA) The central abstraction in the Servlet API is the Servlet interface. B) All Servlet implement this interface, either directly or, more commonly, by extending a class that implements it such as HttpServlet.Servlets > Generic Servlet > HttpServlet > MyServlet.C) The Servlet interface declares, but does not implement, methods that manage the Servlet and its communications with...
-
Which packages in the java provide the writing of the Servlet
Skill/Topic: ServletsA) javaxB) javaC) java.ioD) java.lang
-
-
-
Java Web application project Issue
hi,Actually i m doing my project on java, its a web application project.i am generating the reports from jdbc. but the requirement is it should has to print in the form of MS-Excel. i used the poi api but i m not getting it out. can u help me please....
-
-
-
-
-
-
-
-
JSP Interview Questions
Ans