The file is being transferred from the browser to the servlet using the "file"
form input type, which POSTS the file as "multipart/form-data" to the servlet.
The servlet handles this data, with help from O'Reilly's MultipartRequest
servlet class, saving it to a file on the web server's filesystem.

For this reason I cannot see what difference the environment would make as
nothing is being executed in the browser. The file transfer succeeds with both
Netscape and IE. However, after the file transfer completes a command should be
executed on this file in order to change its format. This command never executes
when IE is used to send the file, but it works fine with Netscape.

Sounds like yet another good reason not to rely on Microsoft. After all there is
a certain irony in using the words "Microsoft" and "Java" in the same sentence.

Steve






[EMAIL PROTECTED] on 28/06/2000 20:35:42

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:    (bcc: Steven A Lehner/UK/CSC)
Subject:  Re: IE5 and servlets



How are you transferring the file from the browser to the Servlet.  Are you
using an applet-servlet communication link.  Anyhow, however you are doing
it.  Did you check to see if the environments for both Netscape and IE5 are
working properly?  i.e. do you have the right plugins, jvm, etc...  You can
force refresh by holding ctrl and clicking the refresh button.  The browser
will have no knowledge of the servlet, so the problem must be in the
information the browser is recieving and the environment in which it
operates.

Zach

-----Original Message-----
From: Lehner Steven [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 28, 2000 2:19 PM
To: [EMAIL PROTECTED]
Subject: Re: IE5 and servlets


I don't understand what could possibly be going on either. By remote command
execution I mean the servlet executes an operating system command on the web
server. In this case, the servlet uploads a file from the web page to the
server
and then runs a command on the uploaded file.

I doubt there can be anything wrong with my code though, as it works fine
with
Netscape. Could this possibly be due to Internet Explorer caching an old
version
of the servlet? How can I force it to reload the servlet?

Thanks,

Steve






[EMAIL PROTECTED] on 28/06/2000 16:25:55

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:    (bcc: Steven A Lehner/UK/CSC)
Subject:  Re: IE5 and servlets



I do not understand how the browser could have anything to with a Servlet.
What is a remote command execution through servlets?  Please explain.

Thanks

Zach Hensley

-----Original Message-----
From: Lehner Steven [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 28, 2000 11:58 AM
To: [EMAIL PROTECTED]
Subject: IE5 and servlets


I am experiencing quite a bizarre problem where running a servlet through
Netscape to execute a command on the web server works fine, but running the
same
servlet with IE5 fails to run the command on the web server. Has anyone
experienced any similar problems with remote command execution through
servlets
and might know what is going on here?

Many thanks,
Steve

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to