Topic: from表单中的参数无法传递?

  Print this page

1.from表单中的参数无法传递? Copy to clipboard
Posted by: wmgreat
Posted on: 2003-03-11 18:36

因为要做上传附件的功能,当我把form的ENCTYPE设置称"multipart/form-data"以后,所有在表单中需要提交的参数都不能被传递到服务器端,如果我把ENCTYPE属性去掉,则一切正常,不知道那位遇到过,是如何解决的

2.Re:from表单中的参数无法传递? [Re: wmgreat] Copy to clipboard
Posted by: jameszhang
Posted on: 2003-03-11 23:37

multipart/form-data只能用于POST,GET中好象不行。

3.Re:from表单中的参数无法传递? [Re: jameszhang] Copy to clipboard
Posted by: wmgreat
Posted on: 2003-03-12 08:36

我使用的就是post方法的

4.Re:from表单中的参数无法传递? [Re: wmgreat] Copy to clipboard
Posted by: dapan
Posted on: 2003-03-12 09:14

你用什么实现Upload?

5.Re:from表单中的参数无法传递? [Re: wmgreat] Copy to clipboard
Posted by: wmgreat
Posted on: 2003-03-12 12:24

smartupload组件

6.Re:from表单中的参数无法传递? [Re: wmgreat] Copy to clipboard
Posted by: snowbug
Posted on: 2003-03-14 00:27

I think you need to use the smartupload to readin the form fields, not by calling the regular request.getParameter() thing.


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923