JSP.C.2 The JSP Page Packaged as Source in a WAR File


The JSP page can be packaged into a WAR file by just placing it at location " /HelloWorld.jsp "; the default JSP page extension mapping will pick it up. The web.xml is trivial:

 <!DOCTYPE webapp     SYSTEM "http://java.sun.com/j2ee/dtds/web-app_1_2.dtd">  <webapp>     <session-config>             <session-timeout> 1 </session-timeout>     </session-config>  </webapp>


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