JSP page uploading an attachment and form data

Hi i am using a JSP page to upload a file..and submit some form data (including textboxes and checkboxes)..and directing the input to another JSP page which sends it to a JDBC bean..

the problem is that i am not able to correctly do so...the request submits all the data at once which contains textfields and checkboxes..so i can not process the data before sending it to a bean

[391 byte] By [bronze-starDukes] at [2007-11-26 12:15:37]
# 1
Hi if i set the enctype="MULTIPART/FORM-DATA" then all the request gets uploaded ...if i set it to enctype="text" then all the form data gets submitted...how to get both of them separately...?Can we use request.getParameter somehow..?
bronzestar at 2007-7-7 14:19:40 > top of Java-index,Archived Forums,Socket Programming...
# 2
u c . if u click submit button .. it sends all in that current page will pass to the server.... so u have to split the page by using two forms.... ex:**<form>......upload</form><form>.... data</form>try
bronzestar at 2007-7-7 14:19:40 > top of Java-index,Archived Forums,Socket Programming...
# 3
Hi,I tried to use this way of submitting the data to two different JSPs on the Submit of a button.But it seems the entire data of a form is submitted or flushed out on clicking on Submit...And it doesn work
bronzestar at 2007-7-7 14:19:40 > top of Java-index,Archived Forums,Socket Programming...
# 4
hipost ur sample code right now... then we discuss our problem
bronzestar at 2007-7-7 14:19:40 > top of Java-index,Archived Forums,Socket Programming...