반응형
Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- vue.js
- ChannelPipeline
- Selenium
- weblogic 10
- KAFKA
- docker compose mysql
- cassandra
- Airflow
- Redis Sentinel
- Netty
- redis
- Spring Open Feign
- Docker Compose
- spring cloud
- grafana
- spring boot
- argo cd
- coalesce
- mybatis
- MySQL
- JPA
- docker
- WebLogic
- docker-compose
- RabbitMQ
- netflix oss
- QueryDSL
- Hibernate
- jmeter
- spring boot redis
Archives
- Today
- Total
목록RedirectAttributes (1)
IT.FARMER
redirect / forward Parameter 전체
가끔 전체 적인 parameter를 redirect 파라미터로 보내고 싶은경우가 있다. 이런경우엔 코드가 잘못됬다고 볼수도 있지만. 급한? 처리를 해야할때... RedirectAttributes에 모두 담아 보내버리자. Map attributes = new HashMap(); Enumeration params = request.getParameterNames(); while (params.hasMoreElements()){ String name = (String)params.nextElement(); attributes.put(name, request.getParameter(name)); } redirectAttributes.addAllAttributes(attributes); redirectAttrib..
Spring
2017. 5. 31. 10:58