Using Tomcat - Avant go page timeout

Hello,

I am actually developing an application for Palm devices using Tomcat and AvantGo. I have some XML/XSL stuff which I transform to HTML using a Servlet. Several different parameters can be passed to the Servlet.

In AvantGo I created a custom channel which calls this Servlet. The first page contains links to other pages using the same Servlet with different parameters.

When synchronizing the Palm, AvantGo returns only the first page of my application, any other page contains the error message: "Timed Out. AvantGo closed the connection to this page because it was idle too long"

The synchronization lasts also about 2 Minutes, so no doubt about the correctness of the timeout message.

When browsing through the application with a normal browser or even with the Palm emulator - on the same or on a different machine - there is no problem and speed is fast enough.

I do not know if AvantGo opens several connections to Tomcat which cannot reply to them in a certain laps of time...

Any suggestions?

TIA,

Dominik

[1081 byte] By [e99dstana] at [2007-9-28 0:08:36]
# 1

I just found the answer myself:

I put in the XSL for a link "?&param1=value1&param2=value2" which works best with a standard browser.

But IT DOES NOT WORK WITH AvantGo (and some other handheld browsers).

So put instead "<servletname>?&param1=value1&param2=value2"

Dominik

e99dstana at 2007-7-7 17:29:17 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...