Solved

Save to webserver

Posted on 2004-09-20
6
285 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

 
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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

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…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
Suggested Courses

628 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