Ok, Andy.  This is the scenario:

User navigates to send.html page---user clicks 'browse' button to find the
file to be sent----user clicks 'send' button---the mail sends out the file
with email.

The problem with the jsp program I have right now is when user click 'send',
the file is uploaded to the server then sent out.  It will not be allowed
with our new clustered servers.

Yes, I am taking the route you mentioned in your message: sends the file
from client's machine as an email attachment.  Can you throw some light on
this?  Some websites? Or sample codes?

Thanks a lot,

Roland



On 5/21/02 9:39 PM, "Andy Engle" <[EMAIL PROTECTED]> wrote:

> On 5/21/02 10:15 AM, "Roland Dong" <[EMAIL PROTECTED]> wrote:
>
>> I am writing a jsp program in which user can send email attachment.  Since
>> users are not allowed to upload file from their local machine to the server.
>> Is there a way to write a jsp program which can send out the email
>> attachment WITHOUT first uploading the file to the sever?  It is urgent ,
>> please help.
>
> Maybe I am missing something, but I'd say it's technically impossible to
> send a file from a server that doesn't have that file.  Of course you can
> send the file from the client's machine as an e-mail attachment, but the
> user would have to specifically attach the file to the e-mail message, and
> that would of course bypass the whole process of even using the web in the
> first place.  I'd say take that route -- how difficult can it be?
>
> To send a file from the web server without that file existing on the server,
> you would need to incorporate some sort of mindreading-like software, which
> I have never seen or heard of being successfully implemented.
>
>
> Regards,
> Andy
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://archives.java.sun.com/jsp-interest.html
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.jsp
> http://www.jguru.com/faq/index.jsp
> http://www.jspinsider.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com
  • ... Duc Nguyen
    • ... Jiri Chaloupka
    • ... Терещенков Павел Евгеньевич
    • ... Roland Dong
      • ... Andy Engle
        • ... Roland Dong
      • ... Richard Yee
        • ... Roland Dong
    • ... M Sankar

Reply via email to