how to read the contents of uploaded file

2009-09-10 Thread KIRTI CHOPRA

hi all
can you please help me with how can i start with how i can read the content
of the file uploaded using struts 2.0 and display them in jsp in table
format.

since i am new to struts i am not able to think of where should i start from
and for saving that uploaded file i should give which path real or absolute
-- 
View this message in context: 
http://www.nabble.com/how-to-read-the-contents-of-uploaded-file-tp25384149p25384149.html
Sent from the Struts - User mailing list archive at Nabble.com.


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



Re: how to read the contents of uploaded file

2009-09-10 Thread Wes Wannemacher
It's really not related to struts... Struts has done it's job in your
case, now it's time for you to use other techniques commonly referred
to as programming :)

Since you are trying to read an excel spreadsheet, I would suggest you
look at the POI library and then just expose a bean or array of beans
that you can loop through in your view and create your table. Another
alternative would be to look at the displaytable taglib to present the
data after parsing the file with POI.

-Wes

On Thu, Sep 10, 2009 at 10:17 AM, KIRTI CHOPRA
kirtichopra2...@gmail.com wrote:

 hi all
 can you please help me with how can i start with how i can read the content
 of the file uploaded using struts 2.0 and display them in jsp in table
 format.

 since i am new to struts i am not able to think of where should i start from
 and for saving that uploaded file i should give which path real or absolute
 --
 View this message in context: 
 http://www.nabble.com/how-to-read-the-contents-of-uploaded-file-tp25384149p25384149.html
 Sent from the Struts - User mailing list archive at Nabble.com.


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





-- 
Wes Wannemacher

Head Engineer, WanTii, Inc.
Need Training? Struts, Spring, Maven, Tomcat...
Ask me for a quote!

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



Re: how to read the contents of uploaded file

2009-09-10 Thread KIRTI CHOPRA

Thank you so much

-kirti
-- 
View this message in context: 
http://www.nabble.com/how-to-read-the-contents-of-uploaded-file-tp25384149p25395100.html
Sent from the Struts - User mailing list archive at Nabble.com.


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