-=-= 컴퓨터 =-=-/웹프로그래밍
스트러츠1 액션이동시 파라미터 넘기는 법
자게남
2011. 8. 10. 09:41
1. 직접 주소에다 파라미터를 넘기는 경우
"/settlement/Rebate.do?method=main_page&PLCY_NO=1111111
2. 액션 리다이렉트 클래스를 활용하는법
ActionRedirect redirect = new ActionRedirect( "/settlement/Rebate.do?method=main_page" );
redirect.addParameter("PLCY_NO", plcyno);
return redirect;
1번과 2번이 같은거라고 생각됨..
참고주소 : http://gurchin.tistory.com/56?srchid=BR1http%3A%2F%2Fgurchin.tistory.com%2F56