Solved

Save to webserver

Posted on 2004-09-20
6
270 Views
Last Modified: 2012-05-05
Is it possible to make an applet save to the webserver.  I am willing to hear any solutions that could possibly work.  Basically trying to save a small text file through an applet

Thanks
0
Comment
Question by:Zeman4323
6 Comments
 
LVL 6

Accepted Solution

by:
CodingExperts earned 100 total points
ID: 12109340
0
 

Assisted Solution

by:Jollina
Jollina earned 100 total points
ID: 12110434
Yes its possible but its no easy solution.

I had that problem. I wanted to save log files to a server.
My solution was that I had to use rmi classes. I used one application running on the server as a service and created stub object of it.
The stub object is made accessible in the applet.
So in your application you can have a method named saveFile() and that methode is accessible in your applet and can be called from there.
The application can of course save to server.

If you want samples just let me know.

bstrg
Jollina
0
 
LVL 92

Assisted Solution

by:objects
objects earned 100 total points
ID: 12117901
you need some server side component (such as a servlet) to handle saving the uploaded file to disk.
0
ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

 
LVL 92

Expert Comment

by:objects
ID: 12117904
0
 

Author Comment

by:Zeman4323
ID: 12126813
all your answers were great, thanks alot.  ince everyone helped so much i split the points, I hope everyone is happy with that.

Thanks Again
0
 
LVL 92

Expert Comment

by:objects
ID: 12128811
:)
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
thymeleaf natural templating vs JSP 2 104
print map entry 34 69
replace a word with other 1 44
pagenation logic how it is working in my code 1 31
INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question