struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Li Ying <liying.cn.2...@gmail.com>
Subject Re: Upload file content to text box using struts 1.3.8
Date Tue, 30 Nov 2010 02:30:53 GMT
(1)Select file from a [file input]
(2)Upload it to your Action (by a post)
(3)In your action, read in the CSV data, and store into some
property(let's say CSVDataProperty)
(4)Show your page again, and set the default value of the textarea by
CSVDataProperty



2010/11/30 Anjib Mulepati <anjibcs@hotmail.com>:
> Can anyone help me on getting file content (txt/CSV file) to be load in text
> area of web page?
>
> I have textarea in webpage and want to load the content of the file to that
> textarea. I am using struts 1.3.8. I couldn't fig out how can mimic file
> input button.
>
> Any hint will be appreciated.
>
> Thanks
> Anjib
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message