java/nekurak.net-web/web/WEB-INF/glassfish-web.xml
author František Kučera <franta-hg@frantovo.cz>
Tue Apr 23 21:43:37 2013 +0200 (2013-04-23)
changeset 204 bebec432330a
permissions -rw-r--r--
oprava chatu, tabulátory
franta-hg@186
     1
<?xml version="1.0" encoding="UTF-8"?>
franta-hg@186
     2
<!DOCTYPE glassfish-web-app PUBLIC "-//GlassFish.org//DTD GlassFish Application Server 3.1 Servlet 3.0//EN" "http://glassfish.org/dtds/glassfish-web-app_3_0-1.dtd">
franta-hg@186
     3
<glassfish-web-app error-url="">
franta-hg@186
     4
	<context-root>/nekurak.net-web</context-root>
franta-hg@186
     5
	<security-role-mapping>
franta-hg@186
     6
		<!-- TODO: opravit role vs. skupiny (tabulka v DB) -->
franta-hg@186
     7
		<role-name>opravneny</role-name>
franta-hg@186
     8
		<group-name>bezny</group-name>
franta-hg@186
     9
	</security-role-mapping>
franta-hg@186
    10
	<session-config>
franta-hg@186
    11
		<session-properties>
franta-hg@186
    12
			<!--
franta-hg@186
    13
				Aby se nám do URL nedostávalo ;jsessionid=…
franta-hg@186
    14
				ve výchozím stavu jsou obě true,
franta-hg@186
    15
				enableCookies nemusíme uvádět,
franta-hg@186
    16
				skrze enableURLRewriting zakážeme vkládání ID do URL,
franta-hg@186
    17
				uživatelům bez cookies nebudou fungovat relace.
franta-hg@186
    18
				Viz http://www.i-coding.de/www/en/glassfish/configuration/session-id.html
franta-hg@186
    19
			-->
franta-hg@186
    20
			<property name="enableCookies" value="true"/>
franta-hg@186
    21
			<property name="enableURLRewriting" value="false"/>
franta-hg@186
    22
		</session-properties>
franta-hg@186
    23
	</session-config>
franta-hg@186
    24
	<class-loader delegate="true"/>
franta-hg@186
    25
	<jsp-config>
franta-hg@186
    26
		<property name="keepgenerated" value="true">
franta-hg@186
    27
			<description>Keep a copy of the generated servlet class' java code.</description>
franta-hg@186
    28
		</property>
franta-hg@186
    29
	</jsp-config>	
franta-hg@186
    30
	<parameter-encoding default-charset="UTF-8"/>
franta-hg@186
    31
</glassfish-web-app>