This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure 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
  • 0
  • 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
  • 0
  • 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
  • 0
  • 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/
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic