(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 <anji...@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-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org