You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1.3 KiB
30 lines
1.3 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
|
|
<description>This MMI allows the users to show the movies in which an actor played.</description>
|
|
<display-name>Cinema database</display-name>
|
|
<distributable/>
|
|
<servlet>
|
|
<description>This MMI allows the users to show the movies in which an actor played.</description>
|
|
<servlet-name>Cinema</servlet-name>
|
|
<servlet-class>cineservlet.Cinema</servlet-class>
|
|
<init-param>
|
|
<description>Database URL</description>
|
|
<param-name>db-url</param-name>
|
|
<param-value>jdbc:postgresql://localhost/cinema?user=cinema</param-value>
|
|
</init-param>
|
|
<init-param>
|
|
<description>Database driver</description>
|
|
<param-name>db-driver</param-name>
|
|
<param-value>org.postgresql.Driver</param-value>
|
|
</init-param>
|
|
</servlet>
|
|
<servlet-mapping>
|
|
<servlet-name>Cinema</servlet-name>
|
|
<url-pattern>/Cinema</url-pattern>
|
|
</servlet-mapping>
|
|
<session-config>
|
|
<session-timeout>
|
|
30
|
|
</session-timeout>
|
|
</session-config>
|
|
</web-app>
|
|
|