Hi all,

I have 2 JSP Pages, page 1 contains attachment button for (attachment to be uploaded) and Done button for navigating to second JSP page. Currently Done button is not wait for the attachment to be uploaded .When user clicks on Done Button if attachment is in processing I need to display warning message like "attachment have not been attached. if you continue, attachment will be lost".with OK Cancel buttons.

Can anyone pleasesuggest
Thanks in advance.

Recommended Answers

All 2 Replies

Any ideas plsease..

Only way I can see for this to work is Ajax with asynchronous call that will enable your button only once upload is done.

PS: We are not 24/7 service for you to drop a question and give you immediate answer

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.