Niranjan:
You might want to grab a copy of our Expresso open-source component library,
at the site listed below. In it's com/javacorporate/common/servlet directory
is a servlet called "Download" that does exactly what you describe,
virtually to the letter. It's also been tested on an AS/400. In fact, it's
the same servlet you use when you go to our site to download a copy of the
library itself!
Hope it's helpful.
Mike
Javacorporate Ltd
http://www.javacorporate.com
> -----Original Message-----
> From: A mailing list for discussion about Sun Microsystem's Java Servlet
> API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
> Niranjan Soni
> Sent: Friday, January 21, 2000 1:54 AM
> To: [EMAIL PROTECTED]
> Subject: DownLoading PDF files on Client machine using Servlets
>
>
> Hi All
>
> I want to download PDF files which are at the server,
> at client machine. The process goes something like
> this.
> 1. The client Logs in and is validated from the
> database.
> 2. Depending upon the Clients identity, the client is
> shown separate folders which shows the list of PDF
> Files that can be downloaded.
> 3. The Client can then select one or more PDF files
> that he/she wants to download.
> 4. The download of the files is initiated to Client
> machine, in the directory specified by him.
> 5. In the end, the userID and files downloaded by him
> are logged in a journel or log file in the database on
> the server.
>
> This process is to run on AS400 server. I am thinking
> of using Servlets to handle this functionality. Can
> this be achieved using Servlets? If yes then how this
> can be achieved?
>
> What other possible approaches can be used. and how
> this can be achieved.
>
> If u guys point to me right direction, i would
> appricate ur help. If there is documentation or some
> help available on this, please tell me about it.
>
> Thanks
> Niranjan
> [EMAIL PROTECTED]
>
>
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com
>
> __________________________________________________________________
> _________
> 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
___________________________________________________________________________
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