Solved

Can a java applet write files in the server???

Posted on 2001-09-05
5
370 Views
Last Modified: 2012-05-07
Hi, Can a java applet create and write files in the  static server, where the applet itself is situated? Is there any restriction? Note also, I want to run the applet through a client mechine (browser) and whenever I want I want to create a file in the server, with specified name and path. If possible, please write some code also.

Subhasis.
0
Comment
Question by:mitra_subhasis
5 Comments
 
LVL 6

Expert Comment

by:kotan
ID: 6456184
Questions Asked : 9
Last 10 Grades Given :
Question Grading Record : 0 Answers Graded / 0 Answers Received
0
 

Accepted Solution

by:
infy_geek earned 20 total points
ID: 6456581
Hi,

  you will have to make this a trusted applet. U can try using rmi to write to a file on the server side. Or else, handle an event such as button click to send a response to the server with the reqd,. info to write to a file
0
 
LVL 3

Expert Comment

by:daitt
ID: 6456698
You can place a servlet at the server (same IP that the applet comes from). The applet then sends the request to servlet. The servlet will create the file according to the request.
0
 
LVL 20

Expert Comment

by:Venabili
ID: 8932587
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

- points for infy_geek

Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
Venabili
EE Cleanup Volunteer
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Android studio getdrawable(int) is deprecated 4 123
numbers ascending pyramid 101 214
ejb example issues 3 28
Bot application - advice 3 39
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
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…
This video teaches viewers about errors in exception handling.

821 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