ajax response from tomcat by including JSP from a servlet - fails silently when HTML is badly formed.

2006-06-03 Thread Andrew Braae
I am having great trouble with an error that does not show up in the tomcat logging. Hours of googling and frigging around and I am no closer. Would really appreciate any help on this one. Basically I am using a blend of servlets and JSP to build up a response to an ajax request (using rico on th

Re: ajax response from tomcat by including JSP from a servlet - fails silently when HTML is badly formed.

2006-06-04 Thread Andrew Braae
those cases where the trees are completely obscured by the woods. THank you all again. Andrew On 6/4/06, Mladen Adamovic <[EMAIL PROTECTED]> wrote: Andrew Braae wrote: > However if the JSP that produces the HTML content produces anything less > than perfectly-formed HTML, then

Re: query

2006-06-21 Thread Andrew Braae
On at least one version of Oracle (10 IIRC), the default install hijacks port 8080 for "Oracle XDB". When you say you have installed Oracle on a different port, perhaps you are referring to the Oracle port for database traffic, which is normally 1521 - this is a different port which I think is web

Re: Running code on Tomcat startup

2006-06-22 Thread Andrew Braae
I've handled this by using a servlet filter that intercepts all requests (something like this in your web.xml file)... Do Startup Filter /* Then inside the do.. method you can set up your object and attach to either a context such as your session or to the ServletContext (if you want

Re: Running Tomcat as root on Linux

2006-06-28 Thread Andrew Braae
Another option if your main goal is to get tomcat bound to port 80 is to use port forwarding (e.g. iptables works well on linux). Then tomcat can run as any old user on a non-privileged port such as 8080 and you redirect all incoming port 80 traffic to the actual tomcat port. Andrew On 6/29/06,