Solved

Save to webserver

Posted on 2004-09-20
6
265 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
Comment Utility
0
 

Assisted Solution

by:Jollina
Jollina earned 100 total points
Comment Utility
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
Comment Utility
you need some server side component (such as a servlet) to handle saving the uploaded file to disk.
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 92

Expert Comment

by:objects
Comment Utility
0
 

Author Comment

by:Zeman4323
Comment Utility
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
Comment Utility
:)
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…

762 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

6 Experts available now in Live!

Get 1:1 Help Now