Your Tech Guys Web Hosting Web Hosting, website hosting, web site hosting , web page hosting Apache, PHP, MySQL, PERL, servlets Java, JSP  Your Tech Guys Web Hosting Web Hosting website hosting, web site hosting, web page hosting Apache, PHP, MySQL, PERL, servlets Java, JSP,Python Your Tech Guys Web Hosting Web Hosting website hosting, web site hosting, web page hosting Apache, PHP, MySQL, PERL, servlets Java, JSP,Python Your Tech Guys Web Hosting Web Hosting website hosting, web site hosting, web page hosting Apache, PHP, MySQL, PERL, servlets Java, JSP,Python Your Tech Guys Web Hosting Web Hosting website hosting, web site hosting, web page hosting, Apache, PHP, MySQL, PERL, servlets Java, JSP,Python
Your Tech Guys Web Hosting Web Hosting, website hosting, web site hosting, web page hosting, Apache, PHP, MySQL, PERL, servlets Java, JSP, Python Your Tech Guys Web Hosting Web Hosting, website hosting, web site hosting, web page hosting, Apache, PHP, MySQL, PERL, servlets Java, Python,JSP
Your Tech Guys Web Hosting Web Hosting Sign-Up Your Tech Guys Web Hosting Fund Raising, Fundraising, web hosting, website hosting, web site hosting  Your Tech Guys Web Hosting Resellers web hosting, website hosting, web site hosting Your Tech Guys Web Hosting EZ Site Control Panel for web hosting,website hosting, web site hosting
Your Tech Guys Web Hosting Web Hosting, website hosting, web site hosting , web page hosting Apache, PHP, MySQL, PERL, servlets Java, Python,JSP,  Fundraising
Your Tech Guys Web Hosting Fund Raising, Fundraising, web hosting, website hosting, web site hosting
WWW.

Call Us Toll-Free
(877) 256-0328

Your Tech Guys Web Hosting Welcome Your Tech Guys Web Hosting Web Hosting Plans Overview , Fund Raising, Fundraising, web hosting, website hosting, web site hosting Your Tech Guys Web Hosting Fund Raising, Fundraising, web hosting Your Tech Guys Web Hosting Resellers, web Hosting Your Tech Guys Web Hosting Web Design, web Hosting Your Tech Guys Web Hosting Extra Services,  web Hosting Your Tech Guys Web Hosting Traffic Booster, web hosting Your Tech Guys Web Hosting Traffic Booster, web hosting Your Tech Guys Web Hosting Technical Support,  web Hosting Your Tech Guys Web Hosting webmaster tips,  web Hosting Your Tech Guys Web Hosting 30 Day Money Back, web hosting Your Tech Guys Web Hosting Legal Notices for Web Hosting Your Tech Guys Web Hosting Glossary Computer Terms for web Hosting Your Tech Guys Web Hosting Contact Information - web hosting

Site Map
Your Tech Guys Web Hosting Web Hosting, website hosting, web site hosting , web page hosting Apache, PHP, MySQL, PERL, servlets Java, Python, JSP Your Tech Guys Web Hosting Your Tech Guys Web Hosting Your Tech Guys Web Hosting Your Tech Guys Web Hosting Your Tech Guys Web Hosting

Web Hosting Glossary -
Java Server Pages (JSP)"

Java Server Pages ..... Web Hosting featuring Apache, PHP, MySQL, PERL, servlets Java, JSP, Linux servers  Fundraising Plans. Java Server Pages (JSP)
JSP or JavaServer Pages, known to some as the Java Scripting Preprocessor, is a Java technology that allows developers to dynamically generate HTML, XML or some other type of web page. The technology allows Java code and certain pre-defined actions to be embedded into static content.

The JSP syntax adds additional XML tags, called JSP actions, to be used to invoke built-in functionality. Additionally, the technology allows for the creation of JSP tag libraries that act as extensions to the standard HTML or XML tags. Tag libraries provide a platform independent way of extending the capabilities of a web server.

JSPs are compiled into Servlets by a JSP compiler. A JSP compiler may generate a servlet in Java code that is then compiled by the Java compiler, or it may generate byte code for the servlet directly. In either case, it is helpful to understand how the JSP compiler transforms the page into a Java servlet. For an example, see the following input, and its resulting generated Java servlet.

JSP and Servlets

Architecturally speaking, you can view JSP as a high-level abstraction of servlets that is implemented as an extension of the Servlet 2.1 API.

JSP Syntax A JavaServer Page may be broken down into the following pieces:
  • static data such as HTML
  • JSP directives such as the include directive
  • JSP scripting elements and variables
  • JSP actions
  • custom tags

Static data

Static data is written out to the HTTP response exactly as it appears in the input file. Thus a valid JSP input would be a normal HTML page with no embedded java or actions. In that case, the same data would be sent in the response each and every time by the web server. Of course, the point of JSP is to allow dynamic data to be inserted into the static content.

JSP directives

JSP directives control how the JSP compiler generates the servlet. The following directives are available:
  • include The include directive informs the JSP compiler to include a complete file into the current file. It is as if the contents of the included file were pasted directly into the original file. This functionality is similar to the one provided by the C preprocessor.
    <%@ include file="somefile.ext" %>
  • page There are several options to the page directive.
    • import results in a java import statement being inserted into the resulting file
    • contentType specifies the content that is generated. This should be used if HTML is not used or if the character set is not the default character set.
    • errorPage indicates the page that will be shown if an exception occurs while processing the HTTP request.
    • isErrorPage if set to true, it indicates that this is the error page.
    • isThreadSafe indicates if the resulting servlet is thread safe.
      • <%@ page import="java.util.*" %> //example import
      • <%@ page contentType="text/html" %> //example contentType
      • <%@ page isErrorPage=false %> //example for non error page
      • <%@ page isThreadSafe=true %> //example for a thread safe JSP
      • Note: Only the "import" page directive can be used multiple times in the same JSP.

 
 
 

Add to My Yahoo!

XML icon

Add to Google

 

 

 

 

 

 

 

 

 

 

 

JSP Servlets Tomcat mysql Java JSP Servlets Tomcat mysql Java JSP Servlets Tomcat mysql Java JSP Servlets Tomcat mysql Java JSP at JSP.aldenWEBhosting.com Servlets at servlets.aldenWEBhosting.com Tomcat at Tomcat.aldenWEBhosting.com mysql at mysql.aldenWEBhosting.com Java at Java.aldenWEBhosting.com Web Hosts Portal Web Links Web Links Web Hosting JSP Solutions Web Links JSP Solutions Web Hosting Servlets Solutions Web Links Servlets Solutions Web Hosting Web Links Web Links . . .
.
.
.
.
. .
. . . . . . . . . . . jsp hosting servlets hosting web hosting web sites designed cheap web hosting web site hosting myspace web hosting