File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Connection timed out Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Connection timed out" Watch "Connection timed out" New topic
Author

Connection timed out

Srinivasa Raghavan
Ranch Hand

Joined: Sep 28, 2004
Posts: 1228
hi,
I have a servlet, it calls a method in a third party API. This method returns a XML document. Browser connection gets timed out Since the xml doc is voluminous. Is there any way to get this doc fom the API


Thanks & regards, Srini
MCP, SCJP-1.4, NCFM (Financial Markets), Oracle 9i - SQL ( 1Z0-007 ), ITIL Certified
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12835
    
    5
The usual approach when a servlet has to get data with a process that takes a long time, is to start a separate Thread to control that process and return a message to the client saying the process has been started.
See for example discussion here at the ranch
Bill
Ajit Chandak
Greenhorn

Joined: Mar 09, 2004
Posts: 2
You may want to check this as well...
here

Servlets spun threads for database access may not be supported in future J2EE versions.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Connection timed out