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