Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Implementing cancel for long running web reuests  RSS feed

 
Nikhil agarwal
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Flow of control :
User submits a form in portlet
At backend a database search operation is intiated.
As intial response ,canel button is presented to user.
if users cancels the search then it is redirected to previous page.
else after completion of search result page is rendered.

Can anybody suggest how to implement it in portlets.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!