|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Save information of session in txt file
I want to save the session content
(cart shopping information: items, qty, etc.) in a txt file. I want to do it with a servlet. How can do it? |
|
#2
|
|||
|
|||
|
You'd be saving this text file on the server, is that what you want? And in what format do you want to save this info? Human readable or as something the jvm can make back into objects? What code do you have so far?
|
|
#3
|
|||
|
|||
|
You'd be saving this text file on the server, is that what you want? And in what format do you want to save this info? Human readable or as something the jvm can make back into objects? What code do you have so far?
I want a txt file. For axample: Order: 12000 Name: JC Article: Book Price: 12E |
|
#4
|
|||
|
|||
|
I'm sorry, you did not answer all of my questions. Do you want this file saved on the server then? What code do you have so far, anything? or were you wanting someone to show you how to do it from start to finish?
|
|
#5
|
|||
|
|||
|
Do you want this file saved on the server then?
- Yes The content of the file have to be the content of the cart. |
|
#6
|
|||
|
|||
|
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Java Help > Save information of session in txt file |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|