Home | Add to Favorites | Ebooks Directory | News  
JSP  Resources
Home
JSP  Article
JSP Tutorial 
JSP Example
Books
JSP and XML
JSP Source code
JSP Basics
 

JSP (java server pages ):

JSP is to add server side programming functionalities to java.


 


The features of jsp are
  • segregation of the presentation  and business logic
  • changes made to the code consecutively are automatically updated and recompile once the servlet is reloaded into the server
  • Insertion of java code in the JSP file



A request for a JSP Page results in the generation of a servlet which then sends a response back to the browser


A JSP page consist of HTML and jsp tags The JSP tags include comments and directives, declarations and actions

JSP directives are used to specify general information about a particular page
 

JSP scriplets consists of valid code snippets placed within the <% and the %> tags

JSP expressions are used to directly insert values into the output

JSP actions such as usebean,getProperty,setProperty and forward are used to perform tasks sun as insertion of files ,reusing beans,forwarding a user to another page and instantiating objects

                                                             Go To Index