File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes multipart form/data- form field Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "multipart form/data- form field " Watch "multipart form/data- form field " New topic

multipart form/data- form field

CS Gajanan

Joined: Feb 08, 2004
Posts: 4
Hi all,
In my application, I am using form action enctype attribute as multipart form/data. Threfore teh form field are becoming available with getParameter() or getParameterValue() in requested JSP.
My question is how to make form fields avalable in called JPS with action enctype=multipart form/data?
Prakash Dwivedi
Ranch Hand

Joined: Sep 28, 2002
Posts: 452
Hello Gajanan,
r u using file upload in ur page?,
if yes than you must be using some utility to upload that binary file, you can retrieve all ur request parameter through that utility,
orielly's cos.jar is one such library.

Prakash Dwivedi (SCJP2, SCWCD, SCBCD)
"Failure is not when you fall down, Its only when you don't get up again"
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63844

JavaRanch is a community of people from all over the world, many of who are not native English speakers. While using abbreviations like "u" instead of spelling out "you" is convenient when text messaging your friends on a cell phone or in a chat room, it presents an extra challenge to those that are already struggling with English. Additionally, such shortcuts may confound automated translation tools that patrons of the Ranch may be making use of.
I would like to ask for your help in making the content of JavaRanch a little easier to read for everybody that visits here by not using such abbreviations.
JSP Forum Bartender

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: multipart form/data- form field
It's not a secret anymore!