EL.jsp 784 B

12345678910111213141516171819202122232425262728
  1. <%--
  2. Created by IntelliJ IDEA.
  3. User: x'b'w
  4. Date: 2021/5/21
  5. Time: 15:41
  6. To change this template use File | Settings | File Templates.
  7. --%>
  8. <%@ page contentType="text/html;charset=UTF-8" language="java" %>
  9. <html>
  10. <head>
  11. <title>Title</title>
  12. </head>
  13. <body>
  14. <%-- ${paramValues.nos[0]}--%>
  15. <%-- <form action="${pageContext.request.contextPath}">--%>
  16. <form>
  17. num1:<input type="text" name="num1"><br />
  18. num2:<input type="text" name="num"><br />
  19. num3:<input type="text" name="num"><br>
  20. <input type="submit" value="提交">&nbsp;&nbsp;
  21. <input type="reset" value="重置">
  22. <hr >
  23. num1: ${param.num1}<br>
  24. num2: ${paramValues.num[0]}<br />
  25. num3: ${paramValues.num[1]}<br />
  26. </form>
  27. </body>
  28. </html>