Meaningless Drivel is fun!
The moose likes I/O and Streams and the fly likes creating text files using IO Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "creating text files using IO" Watch "creating text files using IO" New topic

creating text files using IO

sameera kocharekar

Joined: Apr 23, 2001
Posts: 23
hi there
well i am creating a shopping cart and writing into text files
but the problem id that the jsp pages have become vere slow and they take a lot of time to load
is this IOStreams creating problems
could there be a better solutions to this like writing a XML file or accessing a databse rather than writing files
plz do reply as soon as possible
thanks in advance

Harish Kashyap
Ranch Hand

Joined: Jun 14, 2000
Posts: 118
u can use the jsp session to store data throughout the shopping and when its complete, store it into a database using java.sql classes
go through the shopping cart example which is included in the examples that comes with the jsp engine
I agree. Here's the link:
subject: creating text files using IO
It's not a secret anymore!