Appendix JSP.C. Packaging JSP Pages


This appendix shows two simple examples of packaging a JSP page into a WAR for delivery into a web container. In the first example, the JSP page is delivered in source form. This is likely to be the most common example. In the second example the JSP page is compiled into a servlet that uses only Servlet 2.2 and JSP 1.1 API calls; the servlet is then packaged into a WAR with a deployment descriptor such that it looks as the original JSP page to any client.

This appendix is non-normative. Actually, strictly speaking, the appendix relates more than to the Servlet 2.2 capabilities to the JSP 1.1 capabilities. The appendix is included here as this is a feature that JSP page authors and JSP page authoring tools are interested in.



Java 2 Platform, Enterprise Edition. Platform and Component Specifications
Java 2 Platform, Enterprise Edition: Platform and Component Specifications
ISBN: 0201704560
EAN: 2147483647
Year: 2000
Pages: 399

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