Hi All I hope i need to involve some java script according to Dimitar's suggestion. Any way thanks for ur suggestions. Can we do this way. I am planning to load a trusted applet from the browser which has file upload option and that applet communicates with the servlet using sockets. so as soon as the file is uploaded the servlet intimates the applet. Hope this works but i need to look at the security constraints also. As the client needs some fancy window i am planning go for this. Hope this works out. Any suugestions are most welcome.
Regards Uruj On Friday 11 October 2002 02:41, you wrote: > Nope. I agree that the problem is that it is a fundamental > architecture issue. The browser would need to display some form of > transfer statistics. > > Dimitar Stavrakov wrote: > >Hi Eric, > >It is a little tricky to do it, but maybe you have a better idea that we > > can use? > > > >-----Original Message----- > > From: Eric Noriega [mailto:[EMAIL PROTECTED]] > > >Sent: Thursday, October 10, 2002 2:47 PM > >To: [EMAIL PROTECTED] > >Subject: Re: File Upload > > > > So what you're actually doing is creating a separate transfer window > >in the browser, in effect the thread is created by the browser. Sounds > >hairy. :-P > > > >Dimitar Stavrakov wrote: > >>Hi Eric, > >>You're correct you'll have to run the file upload method as a thread for > >>this to work. > >> > >>Another way of doing it is as follows : > >> > >>I. 1st page - gather all info and submit to 2nd page > >>II. 2nd page - display "Please wait" message and submit info from 1st > >> page to background process ( in our case fileUpload) > >>once background process is completed 2nd page will automatically redirect > > > >to > > > >>III. 3rd page display successive message. > >> > >>Regards, > >> > >> Dimitar > >> > >> > >>-----Original Message----- > >>From: Eric Noriega [mailto:[EMAIL PROTECTED]] > >>Sent: Thursday, October 10, 2002 1:09 PM > >>To: [EMAIL PROTECTED] > >>Subject: Re: File Upload > >> > >> Do you have a reference for this? I think that the servlet request > >>may not be initiated until the client request completes the upload. > >>Otherwise any variables stored after the files in the form would not be > >>accessible until after the upload. (i.e.. the upload is part of the > >>POST transaction, and is basically "done" by the time the servlet is > >>invoked.) > >> > >>Dimitar Stavrakov wrote: > >>>Hi Uruj, > >>> > >>>What you need to do is create a jsp page that reloads itself every n > > > >number > > > >>>of seconds. In your Servlet initialize a variable say uploadFile as > >>> false and put it in the session. Have the jsp page check this variable > >>> every > > > >time > > > >>>it reloads itself. Once the file upload is finished, have the Servlet > >> > >>update > >> > >>>the value of the variable to true, and the have the jsp page redirect to > >>> a success page or whatever you want it to redirect to. > >>> > >>>Regards, > >>> > >>> Dimitar > >>> > >>> > >>>-----Original Message----- > >>>From: Urooj [mailto:[EMAIL PROTECTED]] > >>>Sent: Wednesday, April 10, 2002 7:54 AM > >>>To: [EMAIL PROTECTED] > >>>Subject: Re: File Upload > >>> > >>>You guessed correctly, i am trying to do that but unable to succeed. If > > > >any > > > >>>one can give me a clue i will be thankful to them. > >>>regards > >>>Uruj > >>> > >>>On Thursday 10 October 2002 18:00, you wrote: > >>>>I guess you are asking for a progress bar? > >>>> > >>>>I Googled and found that this has been a topic of much discussion. I > >>>>couldn't find any sample code though. > >>>>Perhaps someone in this list has already solved it elegantly before. > >>>> > >>>>Neela > >>>>----- Original Message ----- > >>>>From: "Urooj" <[EMAIL PROTECTED]> > >>>>To: <[EMAIL PROTECTED]> > >>>>Sent: Wednesday, April 10, 2002 8:02 AM > >>>>Subject: File Upload > >>>> > >>>>>Is there any chance that only by using servlets, when a file is being > >>>>>uploaded i can display a page or a popup window saying "file > >>>>> uploading", > >>>> > >>>>and > >>>> > >>>>>as file upload success page when the file has been uploaded > >>> > >>>successfully. > >>> > >>>>>reagards > >>>>>uruj > >>> > >>>________________________________________________________________________ > >>>__ > > > >_ > > > >>>>>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 > >>> > >>>________________________________________________________________________ > >>>__ > > > >_ > > > >>>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 > >> > >>_________________________________________________________________________ > >>__ 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 > > > >__________________________________________________________________________ > >_ 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 > > ___________________________________________________________________________ > 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