The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
April 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

File Transfer via HTML

Posted by Jose Chavez on June 02, 2001 at 6:59 PM

>
> Can anyone please tell me how i can write a simple program using a web page (i can design a web page!) that uses java servlet to allow files to be transfered from one location to another ?
> My aim is to design a program that will allow students to send their homework (a basic text file) over a web page that the lecturer can done load and view....
> PLEASE HELP !!!!
>
> Naveed

Naveed -

If you want a simple program, why not just use HTML to
transfer the file? Have you tried ? If you
need to do something specific to the file, you can run a script
after it's on the server, but if all you're looking for is a
feature that'll allow you to design a page around a file transfer,
stick to HTML.

Hope this is what you were looking for. When I was working
with the eVe SDK (http://www.evisionglobal.com) this was something
that could've come in handy. No sense in writing a 100 line servlet
when you can do it in HTML.

Jose Chavez





Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us