|
JSP Interview questions with answers posted on July 31, 2008, 11:35 am
by Amit Satpute
Explain
why and how to disable session in a JSP page.
Answer - Disabling the session improves the performance of a
JSP container. When a JSP ......
List
down benefits of JSP.
Answer - JSP pages perform with no issues on any
platform........
Answer - Scriptlet tag is a type tag used for inserting Java
Code into JSP............
Answer - The errorPage attribute of the page directive can be
used to redirects the browser..........
Answer - JSPs can be made thread-safe by having them implement
the SingleThreadModel......
Answer - These are the objects that are available for the use
in JSP documents. You don’t need........
Answer - A forward is server side redirect while sendRedirect
is client side redirect.....
Answer - Servlet's life cycle comprises of the following
steps:.....
Answer - There are three forms of JSP scripting elements
that let you insert Java code.......
Answer - When a JSP include directive is used, the included
file's code is added into.....
Answer - A declaration consists of one or more variables or
methods that are used in JSP source.......
Answer - The JSP specification includes standard tags for bean
use and manipulation.......
Answer - The jspInit() method of the javax.servlet.jsp. JspPage
interface is similar to.....
Answer - JSP actions can be used to print a script expression,
create and store a Java Bean.......
Answer - Custom JSP tag is a user defined tag describing the
way its attributes and its body......
Answer - The response implicit objects can be used in the
following manner:...........
|