Click here to Skip to main content
16,006,531 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have jsp page with browse button and two text boxes .i want to send browsed file content with given text value on second jsp page my first jsp code is given below

<FORM ENCTYPE="multipart/form-data" ACTION="upload1.jsp" METHOD="post">

i use form enctype="multipart/form-data" to send file content but in this case the file content is being sent but textboxes values become null on another page

//second jsp page//

String contentType = request.getContentType();
String text1=request.getParameter("textbox1");
String text1=request.getParameter("textbox2");
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900