Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

creating text files using IO  RSS feed

 
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
Boost this thread!