<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" version="2.4" xmlns:xsi="http://www.w3.org/2001/XMLSchema-inst
ance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">

<display-name>Facebook app</display-name>

<filter>
<filter-name>
FaceBookAuthFilter
</filter-name>

<filter-class>
net.theliveweb.facebook.FaceBookAuthFilter
</filter-class>

<init-param>
<param-name>api_key</param-name>
<param-value>12170c778198915cb22f4de14cc895e2</param-value>
</init-param>
<init-param>
<param-name>secret_key</param-name>
<param-value>e4a57179b96cdfe38089827d0d21406d</param-value>
</init-param>

</filter>

<filter-mapping>
<filter-name>FaceBookAuthFilter</filter-name>
<url-pattern>/index.jsp</url-pattern>
</filter-mapping>

 

<servlet>
<display-name>index</display-name>
<servlet-name>index</servlet-name>
<jsp-file>/index.jsp</jsp-file>
</servlet>

<servlet>
<servlet-name>JDBCServlet</servlet-name>
<servlet-class>JDBCServlet</servlet-class>
</servlet>

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" version="2.4" xmlns:xsi="http://www.w3.org/2001/XMLSchema-inst
ance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">

<display-name>Facebook app</display-name>

<filter>
<filter-name>
FaceBookAuthFilter
</filter-name>

<filter-class>
net.theliveweb.facebook.FaceBookAuthFilter
</filter-class>

<init-param>
<param-name>api_key</param-name>
<param-value>12170c778198915cb22f4de14cc895e2</param-value>
</init-param>
<init-param>
<param-name>secret_key</param-name>
<param-value>e4a57179b96cdfe38089827d0d21406d</param-value>
</init-param>

</filter>

<filter-mapping>
<filter-name>FaceBookAuthFilter</filter-name>
<url-pattern>/index.jsp</url-pattern>
</filter-mapping>

 

<servlet>
<display-name>index</display-name>
<servlet-name>index</servlet-name>
<jsp-file>/index.jsp</jsp-file>
</servlet>

<servlet>
<servlet-name>JDBCServlet</servlet-name>
<servlet-class>JDBCServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>index</servlet-name>
<url-pattern>/indexNOW</url-pattern>
</servlet-mapping>

<servlet-mapping>
<servlet-name>JDBCServlet</servlet-name>
<url-pattern>/JDBCServlet</url-pattern>
</servlet-mapping>

</web-app>