request.比如说:a=request(1)和a=request.form(1)有什么区别吗?注:我知道request是接收from提交的值,我的意思是:request和request.from之间有什么区别吗?

来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/25 17:07:52
request.比如说:a=request(1)和a=request.form(1)有什么区别吗?注:我知道request是接收from提交的值,我的意思是:request和request.from之

request.比如说:a=request(1)和a=request.form(1)有什么区别吗?注:我知道request是接收from提交的值,我的意思是:request和request.from之间有什么区别吗?
request.
比如说:a=request(1)和a=request.form(1)有什么区别吗?
注:我知道request是接收from提交的值,我的意思是:request和request.from之间有什么区别吗?

request.比如说:a=request(1)和a=request.form(1)有什么区别吗?注:我知道request是接收from提交的值,我的意思是:request和request.from之间有什么区别吗?
获取以表单提交的post类型的值,
也就是获取
这种方式提交的值
request包含各种方式的值,没有指名是什麽,所以
Request.Form() Request.QueryString()等都包含在裏面,但是它们之间有个优先级问题,比如
当我们提交这个表单时同时传递了两个id值,一个是form裏input 的id它以post方式提交,而另一个是action裏的url传递了一个以get方式提交的id
那麽我们如果用Request("id")得到的是哪一个值?就得据其优先级才知道,一般应该是get比post优先级高些,
但是,如果我用Request.Form("id")一定得到的是以post提交的input裏输入的值,而用Request.QueryString("id")得到的一定是以get方式提交的值,所以我建议养成好习惯都写全,不要都用Request(),除非我们能够确认只有一个不会有重复,
其实除了上面的两种Request还能得到很多的东西.

request.比如说:a=request(1)和a=request.form(1)有什么区别吗?注:我知道request是接收from提交的值,我的意思是:request和request.from之间有什么区别吗? a=request.Form(aa) 是什么意思? a request for advice String basePath = request.getScheme()+://+request.getServerName()+:+request.getServerPort()+pat on request ,on a request ,in request the form will be sent to you A,on request b,on a request c,in request make a request什么意思 是make a request吗make a request 还是give a request actions = trim(request(action)) keys = trim(request(keytext)) 英语翻译4月27日Dick LiuMm~Could you accept my friend request?long time no see how're you doing?4月28日Andreea Stellanothing pretty much.4月28日Dick LiuCould you accept my friend request?4月29日Andreea Stellai don't accept stanger's reques A browser runns on your computer.When you type in a URL or click a link,your browser sends a reques翻译 A browser runns on your computer.When you type in a URL or click a link,your browser sends a reques翻译 Bad Request Your browser sent a request that this server could not understand.Size of a request he An application form will be sent to you ________.A.on request B.on a request C.in request Bad Request Your browser sent a request that thiBad Request Your browser sent a request that this server could not understand.Error code:58 Parser Error:[e G] ngsort_id=request.QueryString(ngsort_id)解释 mainMenu = JSONArray.fromObject(request.getAttribute(mainMenu)); JSTL 改成JSTL的形式String skin=default;String contextPath = request.getContextPath();String basePath = request.getScheme()+://+request.getServerName()+:+request.getServerPort()+contextPath+/; 如何解决Your browser sent a request that this server could not understand?Bad RequestYour browser sent a request that this server could not understand. Error code: 64 Parser Error: [Cookie: rush=0; __utma=97936925.1953276405.1315418289.1315418328