File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes How can i Create a file on the client side Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "How can i Create a file on the client side" Watch "How can i Create a file on the client side" New topic
Author

How can i Create a file on the client side

Pranav Jaidka
Ranch Hand

Joined: Sep 14, 2000
Posts: 264
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

Joined: Jan 30, 2000
Posts: 3222
    
    5
Passed by who, the browser? Doubtful. Open to corrections.


Tony Alicea
Senior Java Web Application Developer, SCPJ2, SCWCD
Brent Worden
Ranch Hand

Joined: Nov 26, 2001
Posts: 50
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/


Brent Worden
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How can i Create a file on the client side
 
Similar Threads
Cookie Detection
session never expires in javaranch
Disabling Cookies
can we create folder in client machine using EJB RMI?
session ID changes