656 |
14 Apr 08 |
nicklas |
1 |
<?xml version="1.0" encoding="UTF-8" ?> |
1391 |
15 Sep 11 |
nicklas |
2 |
<!-- |
1391 |
15 Sep 11 |
nicklas |
Copyright (C) 2011 Nicklas Nordborg |
1391 |
15 Sep 11 |
nicklas |
4 |
|
1391 |
15 Sep 11 |
nicklas |
This file is part of the Example Code Package for BASE. |
1391 |
15 Sep 11 |
nicklas |
Available at http://baseplugins.thep.lu.se/ |
1391 |
15 Sep 11 |
nicklas |
BASE main site: http://base.thep.lu.se/ |
1391 |
15 Sep 11 |
nicklas |
8 |
|
1391 |
15 Sep 11 |
nicklas |
This is free software; you can redistribute it and/or |
1391 |
15 Sep 11 |
nicklas |
modify it under the terms of the GNU General Public License |
1391 |
15 Sep 11 |
nicklas |
as published by the Free Software Foundation; either version 3 |
1391 |
15 Sep 11 |
nicklas |
of the License, or (at your option) any later version. |
1391 |
15 Sep 11 |
nicklas |
13 |
|
1391 |
15 Sep 11 |
nicklas |
The software is distributed in the hope that it will be useful, |
1391 |
15 Sep 11 |
nicklas |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
1391 |
15 Sep 11 |
nicklas |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1391 |
15 Sep 11 |
nicklas |
GNU General Public License for more details. |
1391 |
15 Sep 11 |
nicklas |
18 |
|
1391 |
15 Sep 11 |
nicklas |
You should have received a copy of the GNU General Public License |
1391 |
15 Sep 11 |
nicklas |
along with BASE. If not, see <http://www.gnu.org/licenses/>. |
1391 |
15 Sep 11 |
nicklas |
21 |
--> |
656 |
14 Apr 08 |
nicklas |
22 |
<servlets xmlns="http://base.thep.lu.se/servlets.xsd"> |
656 |
14 Apr 08 |
nicklas |
23 |
<servlet> |
656 |
14 Apr 08 |
nicklas |
24 |
<servlet-name>HelloWorld</servlet-name> |
1019 |
03 Apr 09 |
nicklas |
25 |
<servlet-class>net.sf.basedb.examples.extensions.servlet.HelloWorldServlet</servlet-class> |
656 |
14 Apr 08 |
nicklas |
26 |
<init-param> |
656 |
14 Apr 08 |
nicklas |
27 |
<param-name>template</param-name> |
1125 |
15 Jun 09 |
nicklas |
28 |
<param-value><![CDATA[ |
1125 |
15 Jun 09 |
nicklas |
29 |
<h2>Hello {user}! Welcome to the Servlet world!</h2> |
1125 |
15 Jun 09 |
nicklas |
30 |
<b>URL:</b> {url}<br> |
1125 |
15 Jun 09 |
nicklas |
31 |
<b>Servlet-path:</b> {servlet-path}<br> |
1125 |
15 Jun 09 |
nicklas |
32 |
<b>Path-info:</b> {path-info}<br> |
1125 |
15 Jun 09 |
nicklas |
33 |
<b>Query string:</b> {query}<br> |
1125 |
15 Jun 09 |
nicklas |
34 |
]]> |
1125 |
15 Jun 09 |
nicklas |
35 |
</param-value> |
656 |
14 Apr 08 |
nicklas |
36 |
</init-param> |
656 |
14 Apr 08 |
nicklas |
37 |
</servlet> |
4238 |
15 Nov 16 |
nicklas |
38 |
<servlet> |
4238 |
15 Nov 16 |
nicklas |
39 |
<servlet-name>ExampleActions</servlet-name> |
4238 |
15 Nov 16 |
nicklas |
40 |
<servlet-class>net.sf.basedb.examples.extensions.servlet.ListExampleActions</servlet-class> |
4238 |
15 Nov 16 |
nicklas |
41 |
</servlet> |
656 |
14 Apr 08 |
nicklas |
42 |
</servlets> |