JSP Interview Questions and Answers
JSP : What is the difference between Context init parameter and Servlet init parameter?

What is the difference between Context init parameter and Servlet init parameter?

Servlet init parameters are declared inside the <servlet> tag inside Deployment Descriptor and....
Category: JSP Date: 11/9/2010 10:22:57 AM
JSP : What is servlet mapping?

What is servlet mapping?

The servlet mapping is an association between a URL pattern and a servlet and it is used to map requ....
Category: JSP Date: 11/9/2010 9:50:56 AM
JSP : Why is ActionForm a base class rather than an interface?

Why is ActionForm a base class rather than an interface?

The MVC design pattern is very simple to understand but much more difficult to live with. You just n....
Category: JSP Date: 11/9/2010 8:32:59 AM
JSP : What are the scopes available in JSP?

What are the scopes available in JSP?

page, request, session, application
Category: JSP Date: 11/9/2010 6:55:56 AM
JSP : What are the JSP scripting elements?

What are the JSP scripting elements?

There are three scripting language elements: declarations, scriptlets and expressions.
Category: JSP Date: 11/9/2010 6:22:56 AM
JSP : What is client side refresh?

What is client side refresh?

It is the standard HTTP protocols ways of refreshing the page, and is supported by all browsers. <....
Category: JSP Date: 11/9/2010 4:33:57 AM
JSP : What is the differecnce between JspWriter and PrintWriter?

What is the differecnce between JspWriter and PrintWriter?

JspWriter is buffered but PrintWriter is not.
Category: JSP Date: 11/9/2010 2:11:59 AM
JSP : How can I invoke a JSP error page from a servlet?

How can I invoke a JSP error page from a servlet?

By creating a request dispatcher for the JSP error page, and pass the exception object as a javax.se....
Category: JSP Date: 11/9/2010 1:39:57 AM
JSP : Why doesn't the focus feature on the <html:form> tag work in every circumstance?

Why doesn't the focus feature on the tag work in every circumstance?

Because there is some disagreement between the various browsers, and different versions of the same ....
Category: JSP Date: 11/8/2010 11:50:00 PM
JSP : How will you communicate from an applet to servlet?

How will you communicate from an applet to servlet?

There are three ways to communicate from an applet to servlet and they are: HTTP Communication (Text....
Category: JSP Date: 11/8/2010 11:17:58 PM
JSP : What is the using of “super.init (config)” in servlets ?

What is the using of “super.init (config)” in servlets ?

To access the ServletConfig from the servlet.
Category: JSP Date: 11/8/2010 10:12:56 PM
JSP : What is the container?

What is the container?

container is a runtime support of a system-level entity and provides components with services such a....
Category: JSP Date: 11/8/2010 8:22:59 PM
JSP : How setting a cookie?

How setting a cookie?

Cookie c = new Cookie("name","value"); response.addCookie(c);
Category: JSP Date: 11/8/2010 7:50:57 PM
JSP : How can a servlet refresh automatically?

How can a servlet refresh automatically?

By using client-side refresh or server push.
Category: JSP Date: 11/8/2010 7:17:57 PM
JSP : What is a servlet filter?

What is a servlet filter?

Servlet filters are pluggable web components that used to implement pre-processing and post-processi....
Category: JSP Date: 11/8/2010 6:00:59 PM
2 3 4 5 6 7 8 
Recent Answers
How do you declare destructor in c#?
kumar answered: by implementing finalize and dispose method