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. |