commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vernon <vern...@gatewaytech.com>
Subject Re: FileUpload question
Date Mon, 05 May 2003 23:41:53 GMT

Yes. Use the following code segment to catch the text field.

FileItem i = ...;
if(i.isFormField() && "text_field_name".equals(i.getFieldName() )
	String text = i.getString();


On Mon, 5 May 2003 15:59:00 -0700, Jeffrey Kunzelman 
<jeff@discountpetfood.net> wrote:

> Is it possible to have a form with text fields and a file upload field?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
>



-- 
Vernon

Mime
View raw message