CURL - 서블릿 파라미터 전송하기
대충.........
{HttpFormParam "key", "value"},
{HttpFormParam "key", "value"},
{HttpFormParam "key", "value"}
.... 이렇게 키와 값으로 이루어진 것을 보내버린다.
set (self._rv, error?, message) =
{gp-request-rv show-progress?=false,
{mygui.scripts-url.concat self._servlet},
charset = {get-character-encoding-by-name "euc-kr"},
|| 파라미터
{HttpFormStringParam "svc_mode", "R"},
{HttpFormStringParam "cmd", "amlp.code.service.CodeService"}, || 룰 점수 조회 부분
{HttpFormStringParam "menuId", "COM_CMN_1010M"},
{HttpFormStringParam "sid", "COM_CMN_1010M"},
{HttpFormStringParam "action", "S"},
{HttpFormStringParam "sqlId", "Code_SQL.code_rule_score_select_sql"},
ing-proc = {proc {count:int}:void}
}
대충 이런 방식......
다만, 프레임워크가 어떤 거냐에 따라 달라지겠지 ........-_-;
'Languages > CURL' 카테고리의 다른 글
| CURL - enqueue-event (0) | 2011.09.01 |
|---|---|
| CURL - 프레임에서 보내는 레코드 메시지 제거 (0) | 2011.09.01 |
| CURL - WEB 2.0 시대 - 그 중 가장 오래된 객체지향 언어 (0) | 2011.09.01 |