반응형
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 | 31 |
Tags
- mybatis
- JPA
- Redis Sentinel
- spring boot
- weblogic 10
- vue.js
- RabbitMQ
- docker compose mysql
- argo cd
- Netty
- MySQL
- docker-compose
- QueryDSL
- ChannelPipeline
- Selenium
- grafana
- Docker Compose
- WebLogic
- cassandra
- spring cloud
- Spring Open Feign
- KAFKA
- redis
- spring boot redis
- docker
- jmeter
- coalesce
- Hibernate
- netflix oss
- Airflow
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