Guest User

2020 - curso java ee - exemplo 002 web.xml

a guest
Jan 14th, 2020
107
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="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id="WebApp_ID" version="3.0">
  3. <display-name>OlaServlet</display-name>
  4. <welcome-file-list>
  5. <welcome-file>OlaWeb</welcome-file>
  6. <welcome-file>index.html</welcome-file>
  7. <welcome-file>index.htm</welcome-file>
  8. <welcome-file>index.jsp</welcome-file>
  9. <welcome-file>default.html</welcome-file>
  10. <welcome-file>default.htm</welcome-file>
  11. <welcome-file>default.jsp</welcome-file>
  12. </welcome-file-list>
  13. <servlet>
  14. <servlet-name>OlaServlet</servlet-name>
  15. <servlet-class>meupacote.OlaWeb</servlet-class>
  16. </servlet>
  17. <servlet-mapping>
  18. <servlet-name>OlaServlet</servlet-name>
  19. <url-pattern>/OlaWeb</url-pattern>
  20. </servlet-mapping>
  21. </web-app>
RAW Paste Data