Richard, Thanks for your reply.
Actually, it is ONE jsp handles both upload and email attachment. //upload.jsp ...... ...... //upload file <up:parse> �File is: <up:getName id="A"/> <% name="test/test1/"+A; %> <up:saveFiles path="test/testdir/" /> </up:parse> ..... ..... //attache file <mt:attach file=""> <%=name%> </mt:attach> ..... ..... I was told by our IT department user will not be able to upload file from local machine because the servers are clustered. In other words, I will not be able to have local file uploaded to test/testdir directory. Not even a tmp or shared directory. So I am wondering if there is a work around? Thanks a lot. RD On 5/20/02 12:02 PM, "Richard Yee" <[EMAIL PROTECTED]> wrote: > RD, > Do you know why you can't upload files anymore? Are you uploading and > sending on two different JSP pages? If that is the case, the requests might > be going to different servers in the cluster and the uploaded temporary > file is not on the same machine as the request for sending the mail. One > thing you can try is to use a shared directory that is accessible to all of > the servers to store the file. > > Regards, > > Richard > > At 11:31 AM 5/20/2002 -0500, you wrote: >> I am using two taglibs to handle sending an email attachment. >> >> One taglib handles uploading the file to the server. The other handles >> sending out the file as email attachment. >> >> So I need first upload the file from local disk to the server. My problem >> is that with new clustered server configuration in our company, it is >> impossible for a user to upload local file to the server. >> >> Is there a way I could bypass the uploading part? Basically, send out the >> attachment file directly without the need to upload the file to the server >> first? >> >> Please help. >> >> RD >> >> =========================================================================== >> 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 ==========================================================================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
