Services | Updates | Contact

JSP

Interview Question Directory - Complete Interview Question Database Home :: Interview-Questions :: J2EE :: JSP




JSP
Tutorial How do I prevent the output of my JSP or Servlet pages from being cached by the browser?
You will need to set the appropriate HTTP header attributes to prevent the dynamic content output by the JSP page from being cached by the browser. Ju



JSP
Tutorial How does JSP handle run-time exceptions?
One can use the errorPage attribute of the page directive to have uncaught run-time exceptions automatically forwarded to an error processing page. Fo



JSP
Tutorial What are advantages of JSP?
The two main uses of jsps are: * Using jsp?s we can can seperate the presentation logic from business logic very easily(we can also do the same using



JSP
Tutorial How can I implement a thread-safe JSP page?
You can make your JSPs thread-safe by having them implement the SingleThreadModel interface. This is done by adding the directive <%@ page isThreadSaf



JSP
Tutorial What is better approach for enabling thread-safe servlets and JSPs? SingleThreadModel Interface or Synchronization?
Although the SingleThreadModel technique is easy to use, and works well for low volume sites, it does not scale well. If you anticipate your users to



JSP
Tutorial What does the JSP engine do when presented with a JavaServer Page to process?
The JSP engine builds a servlet. The HTML portions of the JavaServer Page become Strings transmitted to print methods of a Print Writer object. The JS



JSP
Tutorial What JSP lifecycle methods can I override?
You cannot override the _jspService() method within a JSP page. You can however, override the jspInit() and jspDestroy() methods within a JSP page. js



JSP
Tutorial What are the lifecycle phases of a JSP?
JSP page looks like a HTML page but is a servlet. When presented with JSP page the JSP engine does the following 7 phases. * Page translation: -pag



JSP
Tutorial What is the difference between directive include and jsp include?
<%@ include>: Used to include static resources during translation time. JSP include: Used to include dynamic content or static content during runtime.



JSP
Tutorial Is JSP technology extensible?
Yes, it is. JSP technology is extensible through the development of custom actions, or tags, which are encapsulated in tag libraries.
Page:  [<<]   1   2   3   4   5   6   7     [>>]

 
  Home | JSP | EJB | JDBC | Java Servlets | WAP | Free JSP Hosting | Spring Framework | Web Services | BioInformatics | Java Server Faces | Jboss 3.0 tutorial | Hibernate | XML
Send your comments, Suggestions or Queries regarding this site at editor@roseindia.net
Copyright © 2007. All rights reserved.