From: Clemens E. <lin...@we...> - 2004-10-18 17:34:50
|
Hi again! First of all a big thank you to everybody who have helped me so far. It is not common that list-members are so patent with newbies ;-) >This is a shot in the dark. > >Is the servlet url the same server as the html page? if not, the >browsers maybe killing you. They could be blocking it like they when >attempting to read content from another server via an html page. > >Like I said, this is a shot in the dark. > The really strange thing is that in server-log I see the servlet-output doing the expected stuff. When starting the calc-example first the calc-class is loaded and after this the server prints "-----do GET----" or something like this, withought any error. The calc-demo was taken as is only some paths have been rewritten (namely the java-package of the class and the url in JavaScript to the server). The self-written demo behaves exactly the same with the exception that the POST-Method is used, since I use asychronous calls. That means the server receives the request and maybe(?) responds to it, however it never printed any error or warning message. Maybe that has something to do that I use Jetty (jetty.mortbay.org) as servlet-container. Maybe the servlet has a bug which works with Tomcat and does not work Jetty? Does anybody know the author, maybe (I pray so) he is willed to help me a bit out - maybe he can give me instructions howto debug. Could it maybe be, that the server has problems with my default-encoding (utf8). If binary values (non-chars) are pressed into strngs this can lead to strange problems (experienced myself). Thanks a lot in advance, lg Clemens |