Advertisement
andersonalmada

Untitled

Jun 27th, 2022
1,036
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="https://jakarta.ee/xml/ns/jakartaee" xmlns:web="http://xmlns.jcp.org/xml/ns/javaee" xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-app_5_0.xsd http://xmlns.jcp.org/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="5.0">
  3.   <display-name>Primeiro</display-name>
  4.   <welcome-file-list>
  5.     <welcome-file>index.jsp</welcome-file>
  6.   </welcome-file-list>
  7.   <error-page>
  8.     <location>/error.jsp</location>
  9.   </error-page>
  10.   <context-param>
  11.     <param-name>country</param-name>
  12.     <param-value>Brazil</param-value>
  13.   </context-param>
  14.   <servlet>
  15.     <description></description>
  16.     <display-name>Hello</display-name>
  17.     <servlet-name>Hello</servlet-name>
  18.     <servlet-class>br.ufc.mandacaru.Hello</servlet-class>
  19.     <init-param>
  20.       <description>notebook is red</description>
  21.       <param-name>product</param-name>
  22.       <param-value>notebook</param-value>
  23.     </init-param>
  24.   </servlet>
  25.   <servlet-mapping>
  26.     <servlet-name>Hello</servlet-name>
  27.     <url-pattern>/Hello</url-pattern>
  28.   </servlet-mapping>
  29.   <servlet>
  30.     <description></description>
  31.     <display-name>Ok</display-name>
  32.     <servlet-name>Ok</servlet-name>
  33.     <servlet-class>br.ufc.mandacaru.Ok</servlet-class>
  34.   </servlet>
  35.   <servlet-mapping>
  36.     <servlet-name>Ok</servlet-name>
  37.     <url-pattern>/Ok</url-pattern>
  38.   </servlet-mapping>
  39.   <filter>
  40.     <display-name>HelloFilter</display-name>
  41.     <filter-name>HelloFilter</filter-name>
  42.     <filter-class>br.ufc.mandacaru.filter.HelloFilter</filter-class>
  43.   </filter>
  44.   <filter-mapping>
  45.     <filter-name>HelloFilter</filter-name>
  46.     <url-pattern>/Hello</url-pattern>
  47.   </filter-mapping>
  48. </web-app>
Advertisement
RAW Paste Data Copied
Advertisement