2013年12月8日星期日

jsp pages from multiple forms , you can pass values ??to multiple pages ? Seek solutions .

enter: < ; input type = "text" name = "name1" />


Please enter :


Please enter :


Please enter :


After 1.jsp page to form values ​​, String gname = request.getParameter ("name1"); gname = null; seek solutions !
------ Solution ---------------------------------------- different action ----
each form form. submit it sends a request to a different page ah
------ Solution -------------------------------- ------------
with js control submit.

button into ordinary button, add the onclick event . Method in jump on it
------ Solution -------------------------------- ------------
you delete the phrase on it. enctype = "multipart / form-data". . As for how to use the phrase , you go to Baidu under very clear .
------ For reference only -------------------------------------- -
Yeah , action I set up , the problem is the last pass is empty, a submit form control one from
------ For reference only ----------- ----------------------------
have code? Tried quite right.
------ For reference only -------------------------------------- -
Thank really useful!

没有评论:

发表评论