-
-
Can I call an interface in a JSP?
Pls comment
-
-
-
Which of the tag contains a code fragment valid in the page scripting language.
Skill/Topic: Programming ConstructsA) B) C) D)
-
The response.sendRedirect("……..”); is the response implicit object to redirect the browser to the different resource
Skill/Topic: Programming ConstructsA) TrueB) False
-
To show money format on the JSP page we use __________ class
Skill/Topic: Programming ConstructsA) AirthmaticFormat B) CurrencyFormat C) NumberFormat D) StringBuffer
-
Under JSP 1.0 , the implicit object which can be used for reference is “this”. It is used to refer to the ______________
Skill/Topic: FundamentalsA) Servlet generated by the JSP page B) Servlet called by the jsp page C) Calling the previous JSP page D) None of the above
-
Which of the following are the implicit objects in JSP 1. Application, out 2. config, exception 3. page, pageContext 4. request, response, session
Skill/Topic: FundamentalsA) 1, 2 B) 2, 3 C) 2, 3, 4 D) 1, 2, 3, 4
-
JSP technology is extensible
Skill/Topic: FundamentalsA) TrueB) FalseExplanation: JSP technology is extensible through the development of custom actions, or tags, which are encapsulated in tag libraries.
-
These ____________ listeners are notified when the Servlet context (i.e., the Web application) is initialized and destroyed/
Skill/Topic: JSP Thread ModelA) Session AttributeB) Servlet context attributeC) Session ListenersD) Servlet context listeners
-
The ________ listeners are notified when session objects are created, invalidated, or timed out.
Skill/Topic: JSP Thread ModelA) Session AttributeB) Servlet context attributeC) Session ListenersD) Servlet context listeners
-
Calling of which of the following method causes unpredictable results in the Servlet.
Skill/Topic: ServletsA) doPost()B) doGet()C) System.out.println()D) System.exit(0);Explanation: Might close down the entire Server.
-
-
-
-
-
-
-
JSP Interview Questions
Ans