To set the timespan for Request timeout;

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rajeshsia
    New Member
    • Jan 2009
    • 1

    To set the timespan for Request timeout;

    Hi Frienzs,

    If we need to customize Request Timeout timeperiod, then what are different ways to do so?

    Scenario is:

    In my application, I called an action and and itz takin more time to complete the action , but after few mins(about 20 mins, approx...), application interface showing the message with 408 error.So I guess it is request timeout error and I wanna increase the time limit.As i know in ColdFusion its very easy, but i am using servlet,jsp, struts.....

    Suggestion from frnds are really welcome.

    Thanks,
    Raj.
  • BlueRoselet
    New Member
    • Feb 2009
    • 1

    #2
    How to set HTTP request timeout in Struts or Oracle Application Server

    I'm trying to find out the answer to this as well. I'm using Struts and JSP in JDeveloper (OAS OC4J) and cannot find a setting anywhere! In my experience, it seems like there is NO timeout. I want to set the request timeout to something sensible, like 2 minutes, but I can't find the configuration attribute or setting or Class/Method to do this. Anyone have any ideas? Or is this simply impossible?

    Comment

    • r035198x
      MVP
      • Sep 2006
      • 13225

      #3
      JavaEE doesn't have that ASP like setting for timing out. Better kick the task in it's own thread and time it with some timer. You can then control what you display to the user based of the thread's progress.

      Comment

      Working...