Advertisement
Guest User

Untitled

a guest
Jan 21st, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.15 KB | None | 0 0
  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" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5">
  3. <servlet>
  4.  
  5. <servlet-name>Example</servlet-name>
  6. <servlet-class>com.ex.ExampleServlet</servlet-class>
  7. </servlet>
  8. <servlet-mapping>
  9.  
  10. <servlet-name>Example</servlet-name>
  11. <url-pattern>/test</url-pattern>
  12. </servlet-mapping>
  13. </web-app>
  14.  
  15. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  16. "http://www.w3.org/TR/html4/loose.dtd">
  17.  
  18. <html>
  19. <head>
  20. <meta http-equiv="Content-Type" content="text/html; charset=windows-1256">
  21. <title>Login Page</title>
  22. </head>
  23.  
  24. <body>
  25. <form action="test">
  26.  
  27. Please enter your username
  28. <input type="text" name="un"/><br>
  29.  
  30. Please enter your password
  31. <input type="text" name="pw"/>
  32.  
  33. <input type="submit" value="submit">
  34.  
  35. </form>
  36. </body>
  37. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement