Vložení části stránky z jiného souboru.
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/java/nekurak.net-web/web/WEB-INF/casti/paticka.jsp Wed Jan 06 14:58:42 2010 +0100
1.3 @@ -0,0 +1,4 @@
1.4 +<?xml version="1.0" encoding="UTF-8"?>
1.5 +<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0">
1.6 + <p id="paticka">© 2010 nekurak.net. Licence: Affero GPL.</p>
1.7 +</jsp:root>
1.8 \ No newline at end of file
2.1 --- a/java/nekurak.net-web/web/WEB-INF/web.xml Tue Dec 22 21:09:58 2009 +0100
2.2 +++ b/java/nekurak.net-web/web/WEB-INF/web.xml Wed Jan 06 14:58:42 2010 +0100
2.3 @@ -1,11 +1,11 @@
2.4 <?xml version="1.0" encoding="UTF-8"?>
2.5 <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
2.6 <session-config>
2.7 - <session-timeout>
2.8 - 30
2.9 - </session-timeout>
2.10 + <session-timeout>
2.11 + 30
2.12 + </session-timeout>
2.13 </session-config>
2.14 <welcome-file-list>
2.15 - <welcome-file>index.jsp</welcome-file>
2.16 - </welcome-file-list>
2.17 - </web-app>
2.18 + <welcome-file>index.jsp</welcome-file>
2.19 + </welcome-file-list>
2.20 +</web-app>
3.1 --- a/java/nekurak.net-web/web/index.jsp Tue Dec 22 21:09:58 2009 +0100
3.2 +++ b/java/nekurak.net-web/web/index.jsp Wed Jan 06 14:58:42 2010 +0100
3.3 @@ -12,6 +12,7 @@
3.4 <body>
3.5 <h1>Nekuřák.net</h1>
3.6 <p>Začínáme s J2EE…</p>
3.7 + <jsp:include page="WEB-INF/casti/paticka.jsp"/>
3.8 </body>
3.9 </html>
3.10