<?xml version="1.0" encoding="UTF-8"?> <web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd" version="3.1"> <servlet> <servlet-name>Auth</servlet-name> <servlet-class>org.informatika.ojek.Auth</servlet-class> </servlet> <servlet> <servlet-name>Main</servlet-name> <servlet-class>org.informatika.ojek.Main</servlet-class> </servlet> <servlet> <servlet-name>Validate</servlet-name> <servlet-class>org.informatika.ojek.Validate</servlet-class> </servlet> <servlet> <servlet-name>Register</servlet-name> <servlet-class>org.informatika.ojek.Register</servlet-class> </servlet> <servlet-mapping> <servlet-name>Auth</servlet-name> <url-pattern>/login</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>Validate</servlet-name> <url-pattern>/validate</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>Main</servlet-name> <url-pattern>/info</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>Register</servlet-name> <url-pattern>/register</url-pattern> </servlet-mapping> <welcome-file-list> <welcome-file>info</welcome-file> <welcome-file>index.jsp</welcome-file> </welcome-file-list> <session-config> <session-timeout> 30 </session-timeout> </session-config> <display-name>Ojek Identity Service</display-name> <context-param> <param-name>jdbcURL</param-name> <param-value>jdbc:mysql://localhost:3306/db_ojek_account</param-value> </context-param> <context-param> <param-name>jdbcUsername</param-name> <param-value>root</param-value> </context-param> <context-param> <param-name>jdbcPassword</param-name> <param-value>superadmin</param-value> </context-param> </web-app>