2009-08-26 4 views

답변

2

는 액션 내에서 다음을 수행에서 당신을 무엇을 중지이야?

return Redirect("http://www.otherapp.com/product/category"); 

당신이 하드 코드 http://www.otherapp.com하지 않으려는 경우에 당신이 그것을 위해 web.config 파일 내부에 구성 설정을 넣을 수 ...?

0

당신은 RedirectResult를 사용할 수 있습니다

public ActionResult SomeAction() 
{ 
    // do stuff... 
    return Redirect("http://myurl.com"); 
} 
관련 문제