Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

creating text files using IO

 
sameera kocharekar
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
sam
 
Harish Kashyap
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Pay attention! Tiny ad!
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!