I could not find a better spot to post this so I hope this is OK.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Redliner</title> <meta charset="utf-8"> <script type="text/javascript"> var _baseURL = "http://192.168.20.14:8080/emap/client/"; var _locateURL= _baseURL + "emap.jsp"; var _parentWindow = null; function doResize() { //used to force an applet refresh when on XP/ jvm 1.4 and user resizes window // document.redlinerapplet.width = parseInt(document.redlinerapplet.width) + 1; // document.redlinerapplet.width = parseInt(document.redlinerapplet.width) + 1 } /* Called from the RedlinerContainer in RedlinerApplet after Redliner Locate button is clicked. */ function locateRedline(theExtent) { var theCoords = theExtent.split(","); if ((_parentWindow != null) && (_parentWindow.closed)) { openNewViewer(theCoords) } else if (_parentWindow == null){ if((top.parent.opener != null) && (!top.parent.opener.closed)){ _parentWindow = top.parent.opener.top; zoomMap(theCoords); } else { openNewViewer(theCoords); } } else { zoomMap(theCoords); } } function openNewViewer(theCoords) { var theURL = _locateURL + "?STARTLEFT=" + theCoords[0] + "&" + "STARTBOTTOM=" + theCoords[1] + "&" + "STARTRIGHT=" + theCoords[2] + "&" + "STARTTOP=" + theCoords[3] ; _parentWindow = window.open(theURL,"","status=yes,scrollbars=no,location=yes,resizable=yes,height=600,width=800"); } function zoomMap(theCoords) { /* _parentWindow.MapFrame.zoomToEnvelope(theCoords[0],theCoords[1],theCoords[2],theCoords[3]); //alert("HONU is zooming to Redliner extent."); */ } function closeWindow() { setTimeout("self.close();",2000); } function doLoad() { } function doUnload() { } </script> </head> <body onunload="doUnload();" onload="doLoad();" onresize="doResize();" bottommargin="0" topmargin="0" leftmargin="0" rightmargin="0"> <object codetype="application/java" classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" align="baseline" name="redlinerapplet" width="1827" height="855" style="display:block;"> <param name="archive" value="http://192.168.20.14:8080/emap/client/classes/redliner.jar,http://192.168.20.14:8080/emap/client/classes/jsobject.jar,http://192.168.20.14:8080/emap/client/classes/iText-5.0.0.jar" /> <param name="code" value="com.ema.redline.client.RedlinerApplet.class" /> <param name="redline_properties" value="http://192.168.20.14:8080/emap/client/classes/redlineclient.properties" /> <param name="imageurl" value="http://192.168.20.14/images/redlines/rl_8435.png" /> <param name="minx" value="280185.3765951926" /> <param name="miny" value="238372.34460712216" /> <param name="maxx" value="391504.8210396371" /> <param name="maxy" value="290467.65112053213" /> <param name="username" value="keith" /> </object> </body> </html>
Java does work in firefox and chrome. The plugins are working and I have another application which opens just fine. This one just doesn't seem to work. I am very new to java and I inherited this code.
The Java console does not even come up when I go to the page. I can see the source code but the page is just blank.
Thanks for your help
Ray