Solved

Save to webserver

Posted on 2004-09-20
6
267 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

867 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now