일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
Tags
- oracle
- JSON
- JDOM
- swingx
- PLSQL
- MySQL
- ibsheet
- Struts
- 가우스
- iBATIS
- phonegap
- MFC
- appspresso
- jQuery
- sencha touch
- Ajax
- PHP
- tomcat
- Eclipse
- jsr 296
- GPS
- rowspan
- Spring
- Android
- dock
- 선택적조인
- Google Map
- 전자정부프레임워크
- WebLogic
- node.js
Archives
- Today
- Total
Where The Streets Have No Name
request 로 넘어온 모든 변수값 보기 본문
Enumeration enum = request.getParameterNames();
while(enum.hasMoreElements()) {
String key = (String)enum.nextElement();
String value = request.getParameter(key);
out.println(key + " : " + value+"<br>");
}
배열로 넘어온 값 보기 //checkbox나 폼에서 동일 fields 명으로 여러개를 보내면 배열로 넘어온다.
String test[] = request.getParameterValues("test");
if(test != null) {
for(int i=0; i < test.length; i++) {
out.println("test[" + i + "] : " + test[i] + "<br>");
}
}