/web/DRCP/war/WEB-INF/jsp/hello.jsp

http://drcp.googlecode.com/ · JavaServer Pages · 36 lines · 29 code · 7 blank · 0 comment · 0 complexity · 165adfd6b73d21b935ca1081a593c1b3 MD5 · raw file

  1. <%@ page language="java" contentType="text/html; charset=UTF-8"
  2. pageEncoding="UTF-8"%>
  3. <%@ taglib prefix="html" uri="/WEB-INF/struts-html.tld" %>
  4. <%@ taglib prefix="logic" uri="/WEB-INF/struts-logic.tld" %>
  5. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  6. <html>
  7. <head>
  8. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  9. <title>Insert title here</title>
  10. </head>
  11. <body>
  12. <html:form action="/hello.do?action=show" >
  13. attribute0
  14. <html:text property="attribute0"/>
  15. <br>
  16. attribute1
  17. <html:text property="attribute1" />
  18. <br>
  19. attribute2
  20. <html:text property="attribute2" />
  21. <br>
  22. attribute3
  23. <html:text property="attribute3" />
  24. <br>
  25. <html:submit>submiT</html:submit>
  26. </html:form>
  27. <%= request.getAttribute("d")%>
  28. </body>
  29. </html>