form field values

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

form field values

Vasileios.Kantartzis
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:[hidden email]