The JSP Hello World


Resin Support for JSP

The Resin server provides complete support for JSP 1.2 as defined in the Sun specification. All JSP pages must have template text, the HTML, and JSP actions represented by various tags and Java code. In the best cases, the JSP page consists of the <HTML> tags necessary to create the look and feel of the page, and JSP actions are used to execute code defined in both Java classes and JavaBeans. By putting the business logic in Java classes or JavaBeans, you achieve a better separation of functionality. Beginning with Resin 3.0, there is no longer any support for writing JSP pages using JavaScript.

Page Placement

Once Resin has been installed on your machine, it creates a directory called /doc to hold sample Web pages for smaller Web sites. For Web applications, the installation creates a directory called /webapps directory. This directory is designed to hold all of the Web applications and pages hosted by the server. In most cases, Resin creates separate directories for each individual site or application.




Mastering Resin
Mastering Resin
ISBN: 0471431036
EAN: 2147483647
Year: 2002
Pages: 180

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net