java/nekurak.net-web/web/WEB-INF/sun-web.xml
changeset 186 b0f7d9ab4a07
parent 185 60658773f604
child 187 e7b3ef7aaef4
     1.1 --- a/java/nekurak.net-web/web/WEB-INF/sun-web.xml	Sun Jul 10 20:17:56 2011 +0200
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,31 +0,0 @@
     1.4 -<?xml version="1.0" encoding="UTF-8"?>
     1.5 -<!DOCTYPE sun-web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Application Server 9.0 Servlet 2.5//EN" "http://www.sun.com/software/appserver/dtds/sun-web-app_2_5-0.dtd">
     1.6 -<sun-web-app error-url="">
     1.7 -	<context-root>/nekurak.net-web</context-root>
     1.8 -	<class-loader delegate="true"/>
     1.9 -	<parameter-encoding default-charset="UTF-8"/>
    1.10 -	<session-config>
    1.11 -		<session-properties>
    1.12 -			<!--
    1.13 -				Aby se nám do URL nedostávalo ;jsessionid=…
    1.14 -				ve výchozím stavu jsou obě true,
    1.15 -				enableCookies nemusíme uvádět,
    1.16 -				skrze enableURLRewriting zakážeme vkládání ID do URL,
    1.17 -				uživatelům bez cookies nebudou fungovat relace.
    1.18 -				Viz http://www.i-coding.de/www/en/glassfish/configuration/session-id.html
    1.19 -			-->
    1.20 -			<property name="enableCookies" value="true"/>
    1.21 -			<property name="enableURLRewriting" value="false"/>
    1.22 -		</session-properties>
    1.23 -	</session-config>
    1.24 -	<jsp-config>
    1.25 -		<property name="keepgenerated" value="true">
    1.26 -			<description>Keep a copy of the generated servlet class' java code.</description>
    1.27 -		</property>
    1.28 -	</jsp-config>
    1.29 -	<security-role-mapping>
    1.30 -		<!-- TODO: opravit role vs. skupiny (tabulka v DB) -->
    1.31 -		<role-name>opravneny</role-name>
    1.32 -		<group-name>bezny</group-name>
    1.33 -	</security-role-mapping>
    1.34 -</sun-web-app>