Win a copy of Design for the Mind this week in the Design 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic