Thanks Bear and Paul for prompt replies.
Actually that is my problem too, I tried to use common upload jar's method to retrieve the text box and its value
For instance the notes suggest -
name returns "CaptionVal" which is correct.
but for Value eclipse always complains that the method getString does not exist.
I tried the rest of the methods for the same but none of these returned the value I was looking for
String fieldName = item.getFieldName();
String fileName = item.getName();
String contentType = item.getContentType();
boolean isInMemory = item.isInMemory();
long sizeInBytes = item.getSize();
The jar I am using is
commons-fileupload-1.2.2
commons-io-2.0.1
http://commons.apache.org/fileupload/using.html