java/nekurak.net-rest/web/WEB-INF/sun-web.xml
author František Kučera <franta-hg@frantovo.cz>
Wed, 26 Jan 2011 03:23:32 +0100
changeset 179 2ed9f3231a28
parent 145 0efefbf5f8b6
permissions -rw-r--r--
Servlety: základ, detail podniku se už zobrazuje přes servlet
URL budou hezčí, lépe struktorvaná – ale nemůžou se používat relativní jako dotěď,
musíme začínat vždy / (contextPath)

TODO:
- postupně předělat všechny stránky
- opravit javascript
- zkontrolovat další relativní URL
franta-hg@86
     1
<?xml version="1.0" encoding="UTF-8"?>
franta-hg@86
     2
<!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">
franta-hg@86
     3
<sun-web-app error-url="">
franta-hg@145
     4
	<context-root>/nekurak.net-rest</context-root>
franta-hg@145
     5
	<class-loader delegate="true"/>
franta-hg@145
     6
	<jsp-config>
franta-hg@145
     7
		<property name="keepgenerated" value="true">
franta-hg@145
     8
			<description>Keep a copy of the generated servlet class' java code.</description>
franta-hg@145
     9
		</property>
franta-hg@145
    10
	</jsp-config>
franta-hg@145
    11
	<security-role-mapping>
franta-hg@145
    12
		<role-name>redaktor</role-name>
franta-hg@145
    13
		<group-name>redaktor</group-name>
franta-hg@145
    14
	</security-role-mapping>
franta-hg@86
    15
</sun-web-app>