Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- Math.ceil()
- toFixed()
- selectedIndex
- 주석이 먹히지 않을 때
- Git
- removeClass
- SUB함수
- selectoptions
- 파일질라설치오류
- hide
- 파일질라다운로드
- calc.minus
- addClass
- index %
- ctrl+/
- push오류
- calc.plus
- Parent
- is_check
- slideUp
- 소스트리인증실패
- 증가값
- excel중복체크
- Excel
- 파일질라설치
- Math.round()
- 1521
- FileZilla설치
- Math.floor()
- FileZilla다운로드
Archives
- Today
- Total
잡동사니에도 사랑을
[21.10.06]elInput.jsp / elResult.jsp(el) 본문
728x90
반응형
////////elInput.jsp
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<form name="calcForm" method="get" action="elResult.jsp">
<table border="1" cellspacing="0" cellpadding="5">
<tr>
<td width="50" align="center">X</td>
<td>
<input type="text" name="x">
</td>
</tr>
<tr>
<td width="100" align="center">Y</td>
<td>
<input type="text" name="y">
</td>
</tr>
<tr>
<td colspan="2" align="center">
<input type="submit" value="계산">
<input type="reset" value="취소">
</td>
</tr>
</table>
</form>
</body>
</html>
////////elResult.jsp
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
${param['x'] } + ${param['y'] } = ${param['x'] + param['y'] }<br>
${param['x'] } - ${param['y'] } = ${param['x'] - param['y'] }<br>
${param.x } * ${param.y } = ${param.x * param.y }<br>
${param['x'] } / ${param['y'] } = ${param['x'] / param['y'] }<br>
</body>
</html>
728x90
반응형
'JAVA_EE > EL-JSTL' 카테고리의 다른 글
[21.10.07] jstlExam / jstlTest(jstl) (0) | 2021.10.07 |
---|---|
[21.10.07] start.jsp / sendProc / sendResult / forwardProc / forwardResult(exam) - 페이지 이동(sendRedirect 와 forward 이용) (0) | 2021.10.07 |
[21.10.06] image.jsp / today.jsp / main.jsp(exam) (0) | 2021.10.07 |
[21.10.06]elInput2.jsp / elResult2.jsp(el) (0) | 2021.10.07 |
[21.10.06] elTest.jsp(el) (0) | 2021.10.07 |