-
-
-
-
-
-
JSP Fragment
What is JSP Fragment?
-
-
-
Can I invoke a JSP error page from a servlet?
Yes, you can invoke the JSP error page and pass the exception object to it from within a servlet. The trick is to create a request dispatcher for the JSP error page, and pass the exception object as a javax.servlet.jsp.jspException request attribute. However, note that you can do this from only within controller servlets.If your servlet opens an OutputStream or PrintWriter, the JSP engine will throw...
-
-
-
-
-
-
Which of the following statement is true for the include directive (Multiple choice)
Skill/Topic: Programming ConstructsA) Can be used to incorporate contents from static documents B) It offers option of sharing local variables and better run time efficiencyC) Provides benefit of automatic recompilation. D) It is processed during translation and compilation and does not impose any restrictions on output buffering
-
Java Server Pages technology commonly called JSP technology offers the following advantages(Multiple choice) :-
Skill/Topic: FundamentalsA) Separation of dynamic and static content. B) Support for scripting and tags C) Reuse of components and tags. D) Web access layer for N-tier enterprise application architecture
-
These ______________listeners are notified when attributes are added to, removed from, or replaced in any session.
Skill/Topic: JSP Thread ModelA) Session AttributeB) Servlet context attributeC) Session ListenersD) Servlet context listeners
-
-
-
JSP Interview Questions
Ans