You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Va...@nc3a.nato.int on 2005/08/25 10:09:08 UTC
form field values
Hello all,
I have builded a file upload form with some text fields as well
The actual upload is ok but I am unable to read the form fields.
I have modeled mycode after the user guide regarding the file upload
A snipet of the appropriate code is as follows
if (item.isFormField()){
processFormFields(item)
}
void processFormFields(FileItem item)
{
if (item.getFieldName() =="xxx"
String xxx = item.getFieldValue();
}
I then issing the values into the appropriate object.
What I get I null values
Vhat is wrong with this approach ?
Does any one have an alternative to suggest ?
Thanking you in advanced
V.(Billy) Kantartzis
Surveilance & Reconnaissance Recource Centre
Command & Control Systems Devision
T:+31(0)70374-3706
F: +31(0)70374-3079
E:vasileios.kantartzis@nc3a.nato.int