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

Reply via email to