Dear All,
I've already modified my program based on Mr. Christopher's solution but
thers's still the word "null" in the file.
You probably have a null content variable. String.valueOf(null) returns
"null", so that's probably what's happening.
I only declared URL servletUrl = null b
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Teh,
Teh Noranis Mohd Aris wrote:
> Now, a file name that was input by the user
> was created BUT the problem is that, when I open the file, the word
> "null" was written to the file NOT the file content.
You probably have a null content variable. St
: Monday, March 12, 2007 5:10 AM
Subject: Re: File Content Not Saved To Server
Dear All,
I really need this program to work as soon as possible and need urgent
help! Mr. Christopher Schultz have given suggestions on how to solve the
problem and I've tried his suggestions. Thank you so muc
Dear All,
I really need this program to work as soon as possible and need urgent help!
Mr. Christopher Schultz have given suggestions on how to solve the problem and
I've tried his suggestions. Thank you so much, as half of the problem have been
solved. I've created 3 files as suggested: S
Dear All,
Thank you so much for the explanation, Mr. Christopher Schultz. I understand
that by just using a "file" input type, I can upload a file directly. In fact,
I already construct the program and it is already working. However, I choose to
use applet to get the advantage of Java GUI
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Teh,
Teh Noranis Mohd Aris wrote:
> In
> my program, I want the servlet to load an applet where I can input
> the file name in a given text field and the file content in a given
> text area.
Just out of curiosity, why do you want an applet to do this
Dear All,
First, thank you so much for the reply, Mr. Christopher Schultz. In my
program, I want the servlet to load an applet where I can input the file name
in a given text field and the file content in a given text area. When the user
has input the information, I want to POST the file n
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Teh,
Teh Noranis Mohd Aris wrote:
> I want to save a file name and its content to the computer server at
> directory C:/temp/. I've passed the file name and file content
> parameter from the applet to the servlet. The problem now is that the
> file n