This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSP page getting timed out for a time consuming process  RSS feed

Anoop Somasundaran
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am facing a strange problem. I am using JSP and java beans in my application. The normal flow of my application is like on submit, the same jsp page will load again and in the beginning of the page the bean will be called and do some processing and then gain it will return to jsp page and continue loading the page. if redirect is required it ll do after calling the bean.

Now the problem for a time consuming operation(say 45 min), the JSP page is getting timed out(Page cannot be displayed) after 20 min even then the operation will still continue in the server and will complete. Since jsp page got timed out, the user wont get any response. The same code is working fine when the operation duration is relatively small.(say 10-15min).I am sure that there is no issue with session(session timeout is 30 min)

I had set response.setHeader("Expires",0), but no luck.

Any suggestion would be highly appreciated.
Ben Souther
Posts: 13411
Firefox Browser Redhat VI Editor
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!