Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How can i Create a file on the client side

 
Pranav Jaidka
Ranch Hand
Posts: 264
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all
is there a way in which i can create a file on the client side which contains a string which is passed to a servlet on the server side.....NO COOKIES please because there is a certain size restriction on cookies......
thanks
pranav
 
Tony Alicea
Desperado
Sheriff
Posts: 3226
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Passed by who, the browser? Doubtful. Open to corrections.
 
Brent Worden
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Instead of storing the string in a cookie, store an ID in a cookie that your servlet can map to the actual string. On requests, your servlet gets the ID from the cookie and looks up the string that is identified by the ID.
------------------
Brent Worden
http://www.Brent.Worden.org/
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic