简体   繁体   中英

Provide System.Web.HttpRequest as a parameter to an ActionResult method

i have a problem because on my Controller I have a method, which one, needs a parameter and that parameter is a System.Web.HttpRequest type. But i don't have any idea of how to pass it to my controller and how to use it... I've tried with an Ajax function. Does someone has an idea?

使用下一个代码: HttpContext.Current ,并返回准备好用于管理错误的完整对象。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM