-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jan,
On 5/19/2009 3:47 AM, Jan Peters wrote: > I developed a mapserver client application that embeds a > Flash object within a JSP page using a taglib to trigger a JSP > database query to create a new map for the viewer. Wow! When you say "embeds a Flash object within a JSP page", do you mean that your JSP generates a .swf document, or are you saying that the HTML your JSP generates causes a .swf document to be fetched by the browser? The difference is big: JSP was built to generate text-based content, not binary content. Yes, you /can/ trick it into generating binary content, but you have to be very careful. > All of this works > perfectly in Firefox but Internet Explorer exits with the error "Site > [mysite] cannot be loaded. Process terminated." Wow, does MSIE actually crash? Sounds like you are serving a broken .swf file and the plug-in is crashing. What version of MSIE are you running? What version of the Flash plug-in? If you don't include the Flash document embedded in the HTML document, does MSIE still crash? Try simply using HTML comments to remove it: <!-- <embed src="...." /> - --> > The page loads the first part > of the HTML content of the JSP (I can see the heading of the page) > and tries to display the Flash part (I can see the grey box of the > container) but then IE exits (btw: the page also loads perfectly well > when I just use plain HTML - but then I loose the JSP functionality, > of course). Interesting. So, if you generate an HTML page (say, using Firefox) using this JSP and then browse it using MSIE, everything is okay? It's only when you use the JSP dynamically with MSIE that it breaks? > This is my mod_jk log in debug mode: How about an access log instead of the mod_jk one? > It seems that Firefox "ignores" the missing mappings while IE does > not. What missing mappings? If you're talking about mod_jk, there's no interaction between the browser and mod_jk: the bytes are just being shuttled back and forth between httpd and Tomcat. > The JSP contains the following JSP part: > > <p> > <%@ taglib uri="taglib.tld" prefix="j" %> > </p> I agree with Hassan: it's odd to declare a taglib in the middle of a page. You should really put this at the top of the page. > <j:jscall name="f" > url="http://[mysite]/jsp-examples/ct/ClimateConnector.jsp"/> > <j:jscall name="f2" > url="http://[mysite]/jsp-examples/ct/ClimateConnectorTemp.jsp"/> So, what HTML does this generate? I must admit, I don't understand the usefulness of this tag library, since you can use <jsp:include> to do the same thing if I understand this tag properly. You could also use an external .js file and call functions in it. <shrug> > without the taglibs the JSP loads in IE. Maybe you have a bug in your javascript. Have you examined the error console in Firefox? How about loading something similar in MSIE? > I am a bit stuck here. Any > ideas and suggestions how to configure my mod_jk e.g. or what else > might be wrong are greatly welcome. I use Apache 2.2.3, Tomcat 5.5.23 > and mod_jk 1.2.28. Why do you suspect mod_jk is the problem, here? - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkoS/fYACgkQ9CaO5/Lv0PBfzQCeKB4SCvCSgDdBUgjMb1Tq9n1V NiwAoJnmJnfAjDB3Gr3eLMJZpGuDfB2A =KD/t -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org