Not able to run Java3d on internet explorer
Hi there,
I have made an application using Java3D api (1.3.1). And, i have deployed it on WebLogic server. When i run this application with installed java3d environment(java3d-1_3_1-windows-i586-opengl-sdk.exe) on Internet Explorer 6.0, it works fine. But when i uninstall the Java3D environment & try to run the application i get this error ::
java.lang.ExceptionInInitializerError
at com.aramco.wellplot.view.multilateral.TopView.createCanvas3D(TopView.java:1054)at com.aramco.wellplot.view.multilateral.TopView.<init>(TopView.java:223)
at com.aramco.wellplot.view.WellPlotViewer.openFile(WellPlotViewer.java:1140)
at com.aramco.wellplot.view.WellPlotViewer.access$6000371(WellPlotViewer.java:27)
at com.aramco.wellplot.view.WellPlotViewer$2.mouseClicked(WellPlotViewer.java:339)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:208)
at java.awt.Component.processMouseEvent(Component.java:5024)
at java.awt.Component.processEvent(Component.java:4818)
at java.awt.Container.processEvent(Container.java:1380)
at java.awt.Component.dispatchEventImpl(Component.java:3526)
at java.awt.Container.dispatchEventImpl(Container.java:1437)
at java.awt.Component.dispatchEvent(Component.java:3367)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3214)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2938)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2859)
at java.awt.Container.dispatchEventImpl(Container.java:1423)
at java.awt.Component.dispatchEvent(Component.java:3367)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.awt)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:270)
at java.security.AccessController.checkPermission(AccessController.java:401)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:542)
at java.lang.SecurityManager.checkPackageAccess(SecurityManager.java:1513)
at sun.applet.AppletSecurity.checkPackageAccess(AppletSecurity.java:166)
at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:109)
at java.lang.ClassLoader.loadClass(ClassLoader.java:262)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:322)
at javax.media.j3d.GraphicsConfigTemplate3D.<clinit>(GraphicsConfigTemplate3D.java:55)
... 23 more
I have included the required Java3D JAR files with my JSP page. I have also provided the DLL files but still getting the same error. The following code is written in JSP page ::
<HTML>
<HEAD>
<TITLE>Application</TITLE>
</HEAD>
<BODY LEFTMARGIN="0" RIGHTMARGIN="0" TOPMARGIN="0" BOTTOMMARGIN="0" BGCOLOR="#C0C0C0">
<APPLET WIDTH="100%" HEIGHT="100%"
CODE="wellplot.view.Viewer.class"
ARCHIVE="wp.jar,clib.jar,j3dutils.jar,j3dcore.jar,vecmath.jar, j3d.dll, j3dutils.dll, j3daudio.dll"
CODEBASE=".">
<PARAM NAME = "DEBUG" VALUE = 'TRUE'>
<PARAM NAME = "USERNAME" VALUE = 'WP'>
<PARAM NAME = "PASSWORD" VALUE = 'WP'>
<PARAM NAME = "DB_URL" VALUE = 'ABC:1521:ORION'>
<PARAM NAME = "RUN_ID" VALUE = '1'>
<PARAM NAME = "PLOT_TYPE" VALUE = '<%= plotType %>'>
</APPLET>
</BODY>
</HTML>
Please help me out to resolve this exception. thx in advance.
Regards,
Prashant
Prashant,
what you are doing with the HTML-code above is to use the IE inbuilt Java VM. This VM is very old and corresponds to the Java 1.1 Specification. Java 3D requires a Java2 Platform.
To run Java 2 Applets in IE you must use the Java Plugin JPI. I think, there is also a JPI Forum.
In a few words: If you have installed the actual Java 2 SDK from SUN (JPI is included) you can replace the Java VM in the IEs Options Menue (there is a checkbox in the advanced options)
To run Java 2 Applets in your customers IE you must change the applet tag in your HTML code into a Plugin-Tag. This is different for Mozilla and IE and therefore a complex task. You will find a tool named HTML-Converter within your Java home directory, which will help you to convert an applet tag into correct Plugin-Code.
Regards,
Oliver
Similar Messages
-
Not able to doenload reports in Internet Explorer 7
Hi,
I am not able to download the report in IE7, where as in mozilla I am able to do that.
Also in previous version of IE I was able to do the same.
right now it is showing an error stating: Internet Explorer was not able to open this Internet site.
Can any one suggest a help in this regard
Thanks
Shashank GuptaI am getting the below error. And we are getting this prob
lem on all the systems
Internet explorer can not download saw.dll from www.xyz.com
Internet explorer was not able to open this internet site.The requested site is either unavailable or can not be found. -
Not able to see legends on Internet Explorer 8
I have a Flex Application that works great in Internet Explorer 9 and Firefox. However with Internet Explorer it does not show the colors for the legends, just the values. Do you guys could give me any ideas what I need to change in my code so that IE 8 shows the legend colors? You can see on the image attached that the colors show correctly on the map but the legend does not show the colors for each values.! Thank you for any help!
Here is the code
<?xml version="1.0" encoding="utf-8"?>
<mx:Application
xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:esri="http://www.esri.com/2008/ags"
paddingBottom="8" paddingLeft="8"
paddingRight="8" paddingTop="8"
backgroundColor="0xffffff"
layout="vertical" >
<!-- Start Declarations -->
<fx:Declarations>
<esri:SimpleFillSymbol id="mouseOverSymbol" alpha="0.5" color="0x808080">
<esri:SimpleLineSymbol width="0" color="#000000"/>
</esri:SimpleFillSymbol>
<esri:SimpleFillSymbol id="defaultsym" alpha="0.01" color="#E0E0E0" >
<esri:SimpleLineSymbol width="1" color="#000000"/>
</esri:SimpleFillSymbol>
<!-- End Declarations -->
</fx:Declarations>
<fx:Script>
<![CDATA[
import com.esri.ags.Graphic;
import com.esri.ags.SpatialReference;
import com.esri.ags.events.GraphicEvent;
import com.esri.ags.geometry.Extent;
import com.esri.ags.layers.*;
import com.esri.ags.symbols.SimpleFillSymbol;
import com.esri.ags.symbols.SimpleLineSymbol;
import mx.collections.ArrayCollection;
import mx.controls.RadioButton;
import mx.controls.TextArea;
import mx.events.DropdownEvent;
import mx.events.ItemClickEvent;
private function closeHandler(evt:DropdownEvent):void
try
myLabel.text = ComboBox(evt.target).selectedItem.label;
catch(error:Error){
trace("Caught Error: "+error);
private function loadLayerName():void
myLegend.layers = null;
layerPanel.removeAllChildren();
//loop through each layer and add as a radiobutton
for(var i:uint = 0; i < (dynamicLayer.layerInfos.length); i++)
var radioBtn:RadioButton = new RadioButton;
radioBtn.groupName = "radioBtnGroup";
radioBtn.value = i;
radioBtn.label = dynamicLayer.layerInfos[i].name;
if (dynamicLayer.layerInfos[i].name == "Direct Impact (Million $)")
radioBtn.label = "Direct Impact";
else if (dynamicLayer.layerInfos[i].name == "Total Impact (Million $)")
{radioBtn.label = "Total Impact";
else if (dynamicLayer.layerInfos[i].name == "Total Impact (Jobs)")
{radioBtn.label = "Total Impact";
else if (dynamicLayer.layerInfos[i].name == "Direct Impact (Jobs)")
{radioBtn.label = "Direct Impact";
else
{radioBtn.visible= false;
layerPanel.addChild(radioBtn);
/* myDividerBox.getDividerAt(0).visible = false; */
//set the visible layer the first radio button
radioBtnGroup.selectedValue = 0;
dynamicLayer.visibleLayers = new ArrayCollection([0]);
myLegend.layers = [dynamicLayer];
myLegend.visible = true;
private function radioClickHandler(event:ItemClickEvent):void
myLegend.layers = null;
// update the visible layers to only show the layer selected
dynamicLayer.visibleLayers = new ArrayCollection([event.index]);
myLegend.layers = [dynamicLayer];
myLegend.visible = true;
private function changeEvt(event:Event):void {
if (yearcombo.selectedItem.year == "2007")
measures.filterFunction=filter1
measures.refresh()
myURL.dataProvider=measures
myLegend.visible = true;
else if (yearcombo.selectedItem.year == "2009")
measures.filterFunction=filter2
measures.refresh();
myLegend.visible = true;
public function filter1(item:Object):Boolean
if (item.year=="2007") return true
else return false
public function filter2(item:Object):Boolean
if (item.year=="2009") return true
else return false
private function clickEvt(event:Event):void {
if (yearcombo.selectedItem.year == "2007")
measures.filterFunction=filter3
measures.refresh()
myURL.dataProvider=measures
else if (yearcombo.selectedItem.year == "2009")
measures.filterFunction=filter4
measures.refresh();
public function filter3(item:Object):Boolean
if (item.year=="2007") return true
else return false
public function filter4(item:Object):Boolean
if (item.year=="2009") return true
else return false
private function clickEv2(event:Event):void {
if (yearcombo.selectedItem.year == "2007")
measures.filterFunction=filter5
measures.refresh()
else if (yearcombo.selectedItem.year == "2009")
measures.filterFunction=filter6
measures.refresh();
else if (yearcombo.selectedItem.year == 2007 && myURL.selectedIndex==8)
myLegend.layers = null;
layerPanel.removeAllChildren();
public function filter5(item:Object):Boolean
if (item.year=="2007") return true
else return false
public function filter6(item:Object):Boolean
if (item.year=="2009") return true
else return false
/* IF YOU WANT TO INCLUDE OTHER VALUES IN THE MAP TOOLTIP LIKE COUNTY NAME AND THE LABEL OF THE SELECTED ITEM
if (myURL.selectedIndex==0)
myTextArea.htmlText = "<b>County: </b>" + gr.attributes.NAME + "\n"
+ "<b>Measure: </b>" + myURL.selectedItem.label + gr.attributes.ForDirIndOut.toString()
public function fLayer_graphicAddHandler(event:GraphicEvent):void
event.graphic.addEventListener(MouseEvent.MOUSE_OVER, onMouseOverHandler);
event.graphic.addEventListener(MouseEvent.MOUSE_OUT, onMouseOutHandler);
public function onMouseOverHandler(event:MouseEvent):void
//Place the lines of code that don't change based on the selections once.
var graphic:Graphic = Graphic(event.currentTarget);
graphic.symbol = mouseOverSymbol;
var htmlText:String = graphic.attributes.htmlText;
var textArea:TextArea = new TextArea();
textArea.width= 110
textArea.height = 25
//The particular year doesn't seem to have an impact on anything but the definetionExpression
//so there is no need to evaluate it each time
/* if (yearcombo.selectedItem.year == "2007"){
fLayer.definitionExpression = "DATA_YEAR_TXT like '2007'";
}else if(yearcombo.selectedItem.year == "2009"){
fLayer.definitionExpression = "DATA_YEAR_TXT like '2009'";
fLayer.definitionExpression = "DATA_YEAR_TXT like '"+ yearcombo.selectedItem.year+"'";
//This part is always the same so only do it once
textArea.htmlText = myURL.selectedItem.label; */
/* for each (var item:object in fLayer.getItemAt(i)
if (myURL.selectedItem.namefield == fLayer.tableDetails.fields){ */
/* if (myURL.selectedItem.namefield == fLayer.outFields
textArea.htmlText = graphic.attributes.ForDirIndOut.toString();
private function locateBoundary(event:Event) : void
layerCOUNTIES.definitionExpression = "STATE = '" + (event.currentTarget as TextArea).data.STATEFP + "'";
try{
if (radioBtnGroup.selectedValue == 0){
if(myURL.selectedIndex == 0){
textArea.htmlText = graphic.attributes.ForDirIndOut.toString();
}else if(myURL.selectedIndex == 1 ){
textArea.htmlText = graphic.attributes.ForDirEmp.toString();
}else if(myURL.selectedIndex == 2){
textArea.htmlText = graphic.attributes.ForDirLabInc.toString();
}else if(myURL.selectedIndex == 3){
textArea.htmlText = graphic.attributes.ForIndirBusTax.toString();
}else if(myURL.selectedIndex == 4){
textArea.htmlText = graphic.attributes.LogDirIndOut.toString();
}else if(myURL.selectedIndex == 5){
textArea.htmlText = graphic.attributes.LogDirEmp.toString();
}else if(myURL.selectedIndex == 6){
textArea.htmlText = graphic.attributes.LogDirLabInc.toString();
}else if(myURL.selectedIndex == 7){
textArea.htmlText = graphic.attributes.LogIndirBusTax.toString();}
else if(myURL.selectedIndex == 8){
textArea.htmlText = graphic.attributes.PrimaryPaperDirIndOut.toString();}
else if(myURL.selectedIndex == 9){
textArea.htmlText = graphic.attributes.PrimaryPaperDirEmp.toString();}
else if(myURL.selectedIndex == 10){
textArea.htmlText = graphic.attributes.PrimaryPaperDirLabInc.toString();}
else if(myURL.selectedIndex == 11){
textArea.htmlText = graphic.attributes.PrimaryPaperIndirBusTax.toString();}
else if(myURL.selectedIndex == 12){
textArea.htmlText = graphic.attributes.PrimarySolidIndOut.toString();}
else if(myURL.selectedIndex == 13){
textArea.htmlText = graphic.attributes.PrimarySolidEmp.toString();}
else if(myURL.selectedIndex == 14){
textArea.htmlText = graphic.attributes.PrimarySolidLabInc.toString();}
else if(myURL.selectedIndex == 15){
textArea.htmlText = graphic.attributes.PrimarySolidIndBusTax.toString();}
else if(myURL.selectedIndex == 16){
textArea.htmlText = graphic.attributes.SecondPaperDirIndOut.toString();}
else if(myURL.selectedIndex == 17){
textArea.htmlText = graphic.attributes.SecondPaperDirEmp.toString();}
else if(myURL.selectedIndex == 18){
textArea.htmlText = graphic.attributes.SecondPaperDirLabInc.toString();}
else if(myURL.selectedIndex == 19){
textArea.htmlText = graphic.attributes.SecondPaperIndirBusTax.toString();}
else if(myURL.selectedIndex == 20){
textArea.htmlText = graphic.attributes.SecondSolidDirIndOut.toString();}
else if(myURL.selectedIndex == 21){
textArea.htmlText = graphic.attributes.SecondSolidDirEmp.toString();}
else if(myURL.selectedIndex == 22){
textArea.htmlText = graphic.attributes.SecondSolidDirLabInc.toString();}
else if(myURL.selectedIndex == 23){
textArea.htmlText = graphic.attributes.SecondSolidBusTax.toString();}
myMap.infoWindow.show(myMap.toMapFromStage(event.stageX, event.stageY));
else if (radioBtnGroup.selectedValue == 1){
if(myURL.selectedIndex == 0){
textArea.htmlText = graphic.attributes.ForTotImpIndOut.toString();
}else if(myURL.selectedIndex == 1 ){
textArea.htmlText = graphic.attributes.ForTotImpEmp.toString();
}else if(myURL.selectedIndex == 2){
textArea.htmlText = graphic.attributes.ForTotImpLabInc.toString();
}else if(myURL.selectedIndex == 4){
textArea.htmlText = graphic.attributes.LogTotImpIndOut.toString();
}else if(myURL.selectedIndex == 5){
textArea.htmlText = graphic.attributes.LogTotImpEmp.toString();
}else if(myURL.selectedIndex == 6){
textArea.htmlText = graphic.attributes.LogTotImpLabInc.toString();}
else if(myURL.selectedIndex == 8){
textArea.htmlText = graphic.attributes.PrimaryPaperTotImpIndOut.toString();}
else if(myURL.selectedIndex == 9){
textArea.htmlText = graphic.attributes.PrimaryPaperTotImpEmp.toString();}
else if(myURL.selectedIndex == 10){
textArea.htmlText = graphic.attributes.PrimaryPaperTotImpLabInc.toString();}
else if(myURL.selectedIndex == 12){
textArea.htmlText = graphic.attributes.PrimarySolidTotImpIndOut.toString();}
else if(myURL.selectedIndex == 13){
textArea.htmlText = graphic.attributes.PrimarySolidTotImpEmp.toString();}
else if(myURL.selectedIndex == 14){
textArea.htmlText = graphic.attributes.PrimarySolidTotImpLabInc.toString();}
else if(myURL.selectedIndex == 16){
textArea.htmlText = graphic.attributes.SecondPaperTotImpIndOut.toString();}
else if(myURL.selectedIndex == 17){
textArea.htmlText = graphic.attributes.SecondPaperTotImpEmp.toString();}
else if(myURL.selectedIndex == 18){
textArea.htmlText = graphic.attributes.SecondPaperTotImpLabInc.toString();}
else if(myURL.selectedIndex == 20){
textArea.htmlText = graphic.attributes.SecondSolidIndOut.toString();}
else if(myURL.selectedIndex == 21){
textArea.htmlText = graphic.attributes.SecondSolidEmp.toString();}
else if(myURL.selectedIndex == 22){
textArea.htmlText = graphic.attributes.SecondSolidLabInc.toString();}
myMap.infoWindow.show(myMap.toMapFromStage(event.stageX, event.stageY));
myMap.infoWindow.content=textArea;
myMap.infoWindow.label = graphic.attributes.NAME;
myMap.infoWindow.closeButtonVisible = false;
myMap.infoWindow.width = 120;
catch(error:Error){
trace("Caught Error: "+error);
//Place the lines of code that don't change based on the selections once.
public function onMouseOutHandler(event:MouseEvent):void
var gr:Graphic = Graphic(event.target);
gr.symbol = defaultsym;
myMap.infoWindow.hide();
]]>
</fx:Script>
<fx:Style>
@namespace esri "http://www.esri.com/2008/ags";
@namespace s "library://ns.adobe.com/flex/spark";
@namespace mx "library://ns.adobe.com/flex/mx";
@namespace esri "http://www.esri.com/2008/ags";
@namespace components "com.esri.ags.components.*";
components|InfoWindow
background-alpha : 0.7;
border-style : solid;
</fx:Style>
<mx:HBox width="930" height="800" id="mapHbox" horizontalAlign="center" >
<mx:HBox width="80">
</mx:HBox>
<mx:HBox id="myHBox" width="800" height="600" backgroundColor="0xffffff" >
<mx:VBox height="590" width="358" >
<!-- <mx:Panel
width="356" height="100%"
color="0x000000"
borderAlpha="0.15"
>
-->
<mx:Canvas height="100%" width="100%" backgroundColor="0xffffff" >
<esri:Map id="myMap" openHandCursorVisible="false"
height="100%"
logoVisible="false"
doubleClickZoomEnabled="false"
scrollWheelZoomEnabled="false"
zoomSliderVisible="false"
scaleBarVisible="false" scale="4000000" >
<esri:extent>
<esri:Extent xmin="-10736651.061900" ymin="4024099.909700" xmax="-10409195.669800" ymax="3440153.831100" >
<esri:SpatialReference wkid="102100"/>
</esri:Extent>
</esri:extent>
<esri:ArcGISDynamicMapServiceLayer id="dynamicLayer2"
url="http://tfs-24279/ArcGIS/rest/services/RADIO_BUTTONS/counties_layer/MapServer" />
<esri:ArcGISDynamicMapServiceLayer id="dynamicLayer" name=" "
alpha="1"
load="loadLayerName()"
url="http://tfs-24279/ArcGIS/rest/services/{myURL.selectedItem.value}/MapServer" />
<esri:FeatureLayer id="fLayer"
graphicAdd="fLayer_graphicAddHandler(event)"
mode="snapshot"
outFields="*"
symbol="{defaultsym}"
url= "http://tfs-24279/ArcGIS/rest/services/RADIO_BUTTONS/feature_layer_0709_five/FeatureServer/ 0" />
</esri:Map>
</mx:Canvas>
<!-- </mx:Panel>-->
</mx:VBox>
<mx:VBox height="590" width="20" >
</mx:VBox>
<mx:Canvas height="500" width="400" backgroundColor="0xffffff"
horizontalScrollPolicy="off"
verticalScrollPolicy="off" >
<mx:VBox width="420" height="50%" paddingLeft="5" paddingTop="10" paddingRight="10" paddingBottom="10"
verticalGap="8">
<mx:Form >
<mx:FormItem label="Year :" >
<mx:ComboBox id="yearcombo" selectedIndex="0" labelField="label" width="100%" change="changeEvt(event)" >
<mx:ArrayCollection id="year" >
<fx:Object label="2007" year="2007" />
<fx:Object label="2009" year="2009" />
</mx:ArrayCollection>
</mx:ComboBox>
</mx:FormItem>
<mx:FormItem label="Measure:">
<mx:ComboBox id="myURL" selectedIndex="48" width="80%" mouseOver="clickEv2(event)" close="closeHandler(event)" >
<mx:ArrayCollection id="measures" >
<fx:Object id="forindout07" label="Forestry Industry Output" value="RADIO_BUTTONS/TFEI_07_forest_industry_output" year="2007" labeltext="Industry Output" />
<fx:Object id="foremp07" label="Forestry Employment " value="RADIO_BUTTONS/TFEI_07_forest_employment" year="2007" />
<fx:Object id="forlabinc07" label="Forestry Labor Income " value="RADIO_BUTTONS/TFEI_07_forest_labincome" year="2007" />
<fx:Object id="forindbustax07" label="Forestry Indirect Business Tax" value="RADIO_BUTTONS/TFEI_07_forest_business_tax" year="2007" />
<fx:Object id="forindout09" label="Forestry Industry Output " value="RADIO_BUTTONS/TFEI_09_forest_industry_output2" year="2009" />
<fx:Object id="foremp09" label="Forestry Employment " value="RADIO_BUTTONS/TFEI_09_forest_employment" year="2009" />
<fx:Object id="forlabinc09" label="Forestry Labor Income " value="RADIO_BUTTONS/TFEI_09_forest_labincome2" year="2009" />
<fx:Object id="forindbustax09" label="Forestry Indirect Business Tax" value="RADIO_BUTTONS/TFEI_09_forest_business_tax" year="2009" />
<fx:Object id="logindout07" label="Logging Industry Output" value="RADIO_BUTTONS/TFEI_07_logging_industry_output" year="2007" />
<fx:Object id="logemp07" label="Logging Employment " value="RADIO_BUTTONS/TFEI_07_logging_employment" year="2007" />
<fx:Object id="loglabinc07" label="Logging Labor Income " value="RADIO_BUTTONS/TFEI_07_logging_labincome" year="2007" />
<fx:Object id="logindbustax07" label="Logging Indirect Business Tax" value="RADIO_BUTTONS/TFEI_07_logging_business_tax" year="2007" />
<fx:Object id="logindout09" label="Logging Industry Output " value="RADIO_BUTTONS/TFEI_09_logging_industry_output" year="2009" />
<fx:Object id="logemp09" label="Logging Employment " value="RADIO_BUTTONS/TFEI_09_logging_employment" year="2009" />
<fx:Object id="loglabinc09" label="Logging Labor Income " value="RADIO_BUTTONS/TFEI_09_logging_labincome" year="2009" />
<fx:Object id="logindbustax09" label="Logging Indirect Business Tax" value="RADIO_BUTTONS/TFEI_09_logging_business_tax" year="2009" />
<fx:Object id="ppindout07" label="Primary Paper Industry Output" value="RADIO_BUTTONS/TFEI_07_primary_paper_industry_output" year="2007" />
<fx:Object id="ppemp07" label="Primary Paper Employment " value="RADIO_BUTTONS/TFEI_07_primary_paper_employment" year="2007" />
<fx:Object id="pplabinc07" label="Primary Paper Labor Income " value="RADIO_BUTTONS/TFEI_07_primary_paper_labincome" year="2007" />
<fx:Object id="ppindbustax07" label="Primary Paper Indirect Business Tax" value="RADIO_BUTTONS/TFEI_07_primary_paper_business_tax" year="2007" />
<fx:Object id="ppindout09" label="Primary Paper Industry Output " value="RADIO_BUTTONS/TFEI_09_primary_paper_industry_output" year="2009" />
<fx:Object id="ppemp09" label="Primary Paper Employment " value="RADIO_BUTTONS/TFEI_09_primary_paper_employment2" year="2009" />
<fx:Object id="pplabinc09" label="Primary Paper Labor Income " value="RADIO_BUTTONS/TFEI_09_primary_paper_labincome2" year="2009" />
<fx:Object id="ppindbustax09" label="Primary Paper Indirect Business Tax" value="RADIO_BUTTONS/TFEI_09_primary_paper_business_tax" year="2009" />
<fx:Object id="psindout07" label="Primary Solid Industry Output" value="RADIO_BUTTONS/TFEI_07_primary_solid_industry_output" year="2007" />
<fx:Object id="psemp07" label="Primary Solid Employment " value="RADIO_BUTTONS/TFEI_07_primary_solid_employment" year="2007" />
<fx:Object id="pslabinc07" label="Primary Solid Labor Income " value="RADIO_BUTTONS/TFEI_07_primary_solid_labincome" year="2007" />
<fx:Object id="psindbustax07" label="Primary Solid Indirect Business Tax" value="RADIO_BUTTONS/TFEI_07_primarysolid_business_tax" year="2007" />
<fx:Object id="psindout09" label="Primary Solid Industry Output " value="RADIO_BUTTONS/TFEI_09_primary_paper_industry_output" year="2009" />
<fx:Object id="psemp09" label="Primary Solid Employment " value="RADIO_BUTTONS/TFEI_09_primary_solid_employment" year="2009" />
<fx:Object id="pslabinc09" label="Primary Solid Labor Income " value="RADIO_BUTTONS/TFEI_09_primary_solid_labincome" year="2009" />
<fx:Object id="psindbustax09" label="Primary Solid Indirect Business Tax" value="RADIO_BUTTONS/TFEI_09_primarysolid_business_tax" year="2009" />
<fx:Object id="spindout07" label="Secondary Paper Industry Output" value="RADIO_BUTTONS/TFEI_07_secondary_paper_output" year="2007" />
<fx:Object id="spemp07" label="Secondary Paper Employment " value="RADIO_BUTTONS/TFEI_07_secondary_paper_employment" year="2007" />
<fx:Object id="splabinc07" label="Secondary Paper Labor Income " value="RADIO_BUTTONS/TFEI_07_secondary_paper_labincome" year="2007" />
<fx:Object id="spindbustax07" label="Secondary Paper Indirect Business Tax" value="RADIO_BUTTONS/TFEI_07_secondary_paper_business_tax" year="2007" />
<fx:Object id="spindout09" label="Secondary Paper Industry Output " value="RADIO_BUTTONS/TFEI_09_secondary_paper_output2" year="2009" />
<fx:Object id="spemp09" label="Secondary Paper Employment " value="RADIO_BUTTONS/TFEI_09_secondary_paper_employment" year="2009" />
<fx:Object id="splabinc09" label="Secondary Paper Labor Income " value="RADIO_BUTTONS/TFEI_09_secondary_paper_labincome" year="2009" />
<fx:Object id="spindbustax09" label="Secondary Paper Indirect Business Tax" value="RADIO_BUTTONS/TFEI_09_secondary_paper_business_tax" year="2009" />
<fx:Object id="ssindout07" label="Secondary Solid Industry Output" value="RADIO_BUTTONS/TFEI_07_secondary_solid_industry_output" year="2007" />
<fx:Object id="ssemp07" label="Secondary Solid Employment " value="RADIO_BUTTONS/TFEI_07_secondary_solid_employment" year="2007" />
<fx:Object id="sslabinc07" label="Secondary Solid Labor Income " value="RADIO_BUTTONS/TFEI_07_secondary_solid_labincome" year="2007" />
<fx:Object id="ssindbustax07" label="Secondary Solid Indirect Business Tax" value="RADIO_BUTTONS/TFEI_07_secondary_solid_business_tax" year="2007" />
<fx:Object id="ssindout09" label="Secondary Solid Industry Output " value="RADIO_BUTTONS/TFEI_09_secondary_solid_industry_output" year="2009" />
<fx:Object id="ssemp09" label="Secondary Solid Employment " value="RADIO_BUTTONS/TFEI_09_secondary_solid_employment" year="2009" />
<fx:Object id="sslabinc09" label="Secondary Solid Labor Income " value="RADIO_BUTTONS/TFEI_09_secondary_solid_labincome" year="2009" />
<fx:Object id="ssindbustax09" label="Secondary Solid Indirect Business Tax" value="RADIO_BUTTONS/TFEI_09_secondary_solid_business_tax" year="2009" />
<fx:Object id="blank" label=" " />
</mx:ArrayCollection>
</mx:ComboBox>
</mx:FormItem>
</mx:Form>
<mx:VBox id="layerPanel" width="50%" height="8%" verticalGap="3" paddingLeft="17">
<mx:RadioButtonGroup id="radioBtnGroup" itemClick="radioClickHandler(event)" />
</mx:VBox>
<mx:VBox height="2%">
</mx:VBox>
<mx:VBox paddingLeft="17" height="10%" >
<mx:Canvas id="legendPanel" width="100%" >
<mx:Label id="myLabel" text=" " fontWeight="bold" />
<esri:Legend id="myLegend"
layers="{[dynamicLayer]}"
map="{myMap}" visible="false"
respectCurrentMapScale="false" />
</mx:Canvas>
</mx:VBox>
<mx:VBox>
<mx:TextArea width="275" borderAlpha="0" height="200" >
<mx:htmlText >
<![CDATA[<font size='11'><b>Note:</b> Counties in white indicate either no data is available for that measure or the data has been supressed due to confidentiality.</font>
]]>
</mx:htmlText>
</mx:TextArea>
</mx:VBox>
</mx:VBox>
</mx:Canvas>
</mx:HBox>
</mx:HBox>
</mx:Application>Here is the HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Texas Forestry Economic Impact</title>
<style type="text/css">
<!--
body {
font: 100%/1.4 Verdana, Arial, Helvetica, sans-serif;
background: #42413C;
margin: 0;
padding: 0;
color: #FFF;
p {
margin-top: 0; /* removing the top margin gets around an issue where margins can escape from their containing div. The remaining bottom margin will hold it away from any elements that follow. */
padding-right: 14px;
padding-left: 15px; /* adding the padding to the sides of the elements within the divs, instead of the divs themselves, gets rid of any box model math. A nested div with side padding can also be used as an alternate method. */
font-size: medium;
color: #333;
font-family: Calibri;
text-align: left;
a img { /* this selector removes the default blue border displayed in some browsers around an image when it is surrounded by a link */
border: none;
/* ~~ Styling for your site's links must remain in this order - including the group of selectors that create the hover effect. ~~ */
a:link {
color: #FFF;
text-decoration: none; /* unless you style your links to look extremely unique, it's best to provide underlines for quick visual identification */
a:visited {
color: #FFF;
text-decoration: none;
.container table tr td Menu a {
color: #FFF;
text-decoration: none;
a:hover, a:active, a:focus { /* this group of selectors will give a keyboard navigator the same hover experience as the person using a mouse. */
text-decoration: underline;
color: #FFF;
font-size: small;
/* ~~ this fixed width container surrounds the other divs ~~ */
.container {
width: 960px;
background: #FFF;
margin: 0 auto; /* the auto value on the sides, coupled with the width, centers the layout */
/* ~~ the header is not given a width. It will extend the full width of your layout. It contains an image placeholder that should be replaced with your own linked logo ~~ */
.header {
background: #6f8d5c;
/* ~~ This is the layout information. ~~
1) Padding is only placed on the top and/or bottom of the div. The elements within this div have padding on their sides. This saves you from any "box model math". Keep in mind, if you add any side padding or border to the div itself, it will be added to the width you define to create the *total* width. You may also choose to remove the padding on the element in the div and place a second div within it with no width and the padding necessary for your design.
.content {
padding: 10px 0;
/* ~~ The footer ~~ */
.footer {
padding: 10px 0;
background: #6f8d5c;
/* ~~ miscellaneous float/clear classes ~~ */
.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
float: right;
margin-left: 8px;
.fltlft { /* this class can be used to float an element left in your page. The floated element must precede the element it should be next to on the page. */
float: left;
margin-right: 8px;
.clearfloat { /* this class can be placed on a <br /> or empty div as the final element following the last floated div (within the #container) if the #footer is removed or taken out of the #container */
clear:both;
height:0;
font-size: 1px;
line-height: 0px;
.container .content table tr td {
color: #FFF;
font-weight: bold;
text-align: center;
.container table tr td {
text-align: center;
color: #FFF;
font-family: Calibri;
font-size: small;
.container table {
font-size: xx-small;
table {
font-size: 9px;
.container table tr td p a {
text-align: center;
table tr td p a {
text-align: center;
.container .footer table tr td .footer {
color: #FFF;
font-size: small;
text-align: center;
.container p {
font-size: medium;
-->
</style>
<script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
<script type="text/javascript">
function updateSwfSize(myHeight, myWidth)
var flexibleGorillaSwf = document.getElementById("FlashID");
flexibleGorillaSwf.height = myHeight;
flexibleGorillaSwf.width = myWidth;
</script>
</head>
<body id="body" >
<div class="container">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#6f8d5c"><img src="assets/Banner5.jpg" width="960" height="120" alt="banner" /></td>
</tr>
<tr>
<td height="31" bgcolor="#6f8d5c"><a href="Home.html">Home</a> - <a href="Highlights.html">Highlights</a> - <a href="EcoImpactTX.html" title="Map" target="_self">Summary Tool</a> - <a href="maps.html" style="font-weight: bold; font-size:medium; target="_self">Maps</a> - <a href="charts.html" target="_self">Charts</a> - <a href="Report.html" target="_self">Download Reports</a> - <a href="FAQs.html" target="_self">FAQs</a> - <a href="ContactUs.html" target="_self"> Contact Us</a> - <a href="http://txforestservice.tamu.edu/main/default.aspx"> TFS Home</a><a href="http://txforestservice.tamu.edu/main/default.aspx"></a></td>
</tr>
<tr>
<td height = "0" bgcolor="#FFFFFF"> </td>
</tr>
</table>
<p > <span style="font-size:x-large; color:#000">Thematic Maps</span></p>
<p>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="930" height="1950" id="FlashID" title="map">
<param name="movie" value="maps.swf" />
<param name="quality" value="high" />
<param name="swfversion" value="6.0.65.0" />
<!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don't want users to see the prompt. -->
<param name="expressinstall" value="Scripts/expressInstall.swf" />
<param name="SCALE" value="exactfit" />
<!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
<!--[if !IE]>-->
<object data="maps.swf" type="application/x-shockwave-flash" width="930" height="1950">
<!--<![endif]-->
<param name="quality" value="high" />
<param name="swfversion" value="6.0.65.0" />
<param name="expressinstall" value="Scripts/expressInstall.swf" />
<param name="SCALE" value="exactfit" />
<!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
<div>
<h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
</div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</p>
<p><!-- end .content --></p>
<div class="footer">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="0" bgcolor="#6f8d5c"><p class="footer"><a href="Home.html">Home</a> - <a href="Highlights.html">Highlights</a> - <a href="EcoImpactTX.html" title="Map" target="_self">Summary Tool</a> - <a href="maps.html"><span style="font-weight:bolder"><span style="font-size:medium">Maps</span></span></a></a> - <a href="charts.html">Charts</a> - <a href="Report.html" target="_self">Download Reports</a> - <a href="FAQs.html" target="_self">FAQs</a> - <a href="ContactUs.html" target="_self">Contact Us</a> - <a href="http://txforestservice.tamu.edu/main/default.aspx">TFS Home</a><a href="http://txforestservice.tamu.edu/main/default.aspx"></a></p></td>
</tr>
</table>
</div>
</div>
<!-- end .container --></div>
<script type="text/javascript">
swfobject.registerObject("FlashID");
</script>
</body>
</html> -
Hi,
i just installed the 9ids release 2..
i started oc4j instance version 1.3.1.8
i created one fmb in default path forms90 and comiled the same in the
same directory..
when i run the browser it is throwing following error:
FROM 92050 Failed to connect to the server /forms90/190servlet-1
Details
Java Exception
java.io.ioexception: Negative content length from
http://servername:8888/forms90/
the following error occured
(code=dns_no_data) the ip address was not found during the
Dns lookup
Please tell me detailed configuration what i have to made in
regedit or forms90.cfg and environment file..
No idea how i can proceed now..
Thanks in advance
aspHi all,
HMMM.. i fixed the problem.. but still need some help
in my url i specified local host instead of servername and i am able to run the form on the web.
http:localhost:8888/forms90/f90servlet?form=....etc(working fine)
instead of
http:itxkjdkk:8888/forms90/f90servlet?form=
This is throwing error FRM92050
but the problem is when ever i run the fmb from form builder in the IE browser
it is taking the http://itxkjdkk:8888/forms90/f90servlet..so throwing error so i have to manually replace the url in browser to localhost:8888
How can i set this through in formsweb.cfg..i did try to
http:localhost:8888/forms90/f90servlet?form=....in server_url parameter of the
formsweb.cfg but still it is taking http://itxkjdkk:8888/forms90/f90servlet when i run the form on web..
pls help
asp -
Firefox will not open forms (i.e. registration forms, class schedule, flyer, etc.) on certain websites. Updated Adobe Reader and Re-installed and updated FF. Still will not open the forms. Tried Internet Explorer with no problem at all. Tried FF on a different computer w/ no problem. Help please?
I also have this problem. I cannot open links from a discussion board I frequent nor can I open links from my email. Also after opening my email, I cannot go to any other sites except my home page. I can then go no where else.
When I close Firefox and try to reopen it, it does nothing! I have to bring up the Task Manager and end the Firefox process before I can get back in.
To the best of my knowledge, this problem started with the new update to Ver. 3.6.9. I am running Windows XP Media Center 2005 -
Always facing the "Not Responding" issue while launching the internet explorer 11. I have tried reset in advanced, deleting all cookies, history and all. Also I did change the default site to https://www.google.com. But no result.
Some times after some time, able click on new tab and did open any urls. But it is rare. Please help me on this issue. Because of this unable to work with QTP/UFT tool.
I am getting on top of the screen the below error -
Error on top the ie screen :
res:/ieframe.dll/acr_error.htm#google.com,https://www.google.com/ - Internet Explorer (Not Responding)
I am getting at the bottom of the screen the below error -
Error at the bottom of the ie screen :
A problem with this webpage caused Internet Explorer to close and reopen the tab.Hi,
Please refer to the following link to troubleshoot this issue:
http://msdn.microsoft.com/en-us/library/dn338138.aspx
Check the browser add-ons
Check the browser rendering mode
Then, please also make sure to install latest Windows Updates which might address this issue.
Update your anti-virus program and perform a security scan incase some virus cause this issue.
Yolanda Zhu
TechNet Community Support -
Not able to run validation using validation.xml & validator-rules.xml
Hello Friends,
I am not able to run validation using validation.xml & validator-rules.xml.
Entire code in running prefectly but no error messages are prompted.
Following is my code:
File Name : struts-config.xml
<struts-config>
<!-- Form Beans Configuration -->
<form-beans>
<form-bean name="searchForm"
type="com.solversa.SearchForm"/>
</form-beans>
<!-- Global Forwards Configuration -->
<global-forwards>
<forward name="search" path="/search.jsp"/>
</global-forwards>
<!-- Action Mappings Configuration -->
<action-mappings>
<action path="/search"
type="com.solversa.SearchAction"
name="searchForm"
scope="request"
validate="true"
input="/search.jsp">
</action>
</action-mappings>
<!-- Message Resources Configuration -->
<message-resources
parameter="ApplicationResources"/>
<!-- Validator Configuration -->
<plug-in className="org.apache.struts.validator.ValidatorPlugIn">
<set-property property="pathnames"
value="/WEB-INF/validator-rules.xml,
/WEB-INF/validation.xml"/>
</plug-in>
</struts-config>
<br> File Name : <b> validation.xml </b>
<form-validation>
<formset>
<form name="searchForm">
<field property="name" depends="minlength">
<arg key="label.search.name" position = "0"/>
<arg1 name="minlength" key="${var:minlength}" resource="false"/>
<var>
<var-name>minlength</var-name>
<var-value>5</var-value>
</var>
</field>
<field property="ssNum" depends="mask">
<arg0 key="label.search.ssNum"/>
<var>
<var-name>mask</var-name>
<var-value>^\d{3}-\d{2}-\d{4}$</var-value>
</var>
</field>
</form>
</formset>
</form-validation>
<br> File Name : <b> SearchForm.java </b>
package com.jamesholmes.minihr;
import java.util.List;
import org.apache.struts.validator.ValidatorForm;
public class SearchForm extends ValidatorForm
private String name = null;
private String ssNum = null;
private List results = null;
public void setName(String name) {
this.name = name;
public String getName() {
return name;
public void setSsNum(String ssNum) {
this.ssNum = ssNum;
public String getSsNum() {
return ssNum;
public void setResults(List results) {
this.results = results;
public List getResults() {
return results;
<br> File Name : <b> SearchAction.java </b>
package com.jamesholmes.minihr;
import java.util.ArrayList;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.struts.action.Action;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
public final class SearchAction extends Action
public ActionForward execute(ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws Exception
EmployeeSearchService service = new EmployeeSearchService();
ArrayList results;
SearchForm searchForm = (SearchForm) form;
// Perform employee search based on what criteria was entered.
String name = searchForm.getName();
if (name != null && name.trim().length() > 0) {
results = service.searchByName(name);
} else {
results = service.searchBySsNum(searchForm.getSsNum().trim());
// Place search results in SearchForm for access by JSP.
searchForm.setResults(results);
// Forward control to this Action's input page.
return mapping.getInputForward();
<br> File Name : <b> EmployeeSearchService.java </b>
package com.jamesholmes.minihr;
import java.util.ArrayList;
public class EmployeeSearchService
/* Hard-coded sample data. Normally this would come from a real data
source such as a database. */
private static Employee[] employees =
new Employee("Bob Davidson", "123-45-6789"),
new Employee("Mary Williams", "987-65-4321"),
new Employee("Jim Smith", "111-11-1111"),
new Employee("Beverly Harris", "222-22-2222"),
new Employee("Thomas Frank", "333-33-3333"),
new Employee("Jim Davidson", "444-44-4444")
// Search for employees by name.
public ArrayList searchByName(String name) {
ArrayList resultList = new ArrayList();
for (int i = 0; i < employees.length; i++) {
if (employees.getName().toUpperCase().indexOf(name.toUpperCase()) != -1) {
resultList.add(employees[i]);
return resultList;
// Search for employee by social security number.
public ArrayList searchBySsNum(String ssNum) {
ArrayList resultList = new ArrayList();
for (int i = 0; i < employees.length; i++) {
if (employees[i].getSsNum().equals(ssNum)) {
resultList.add(employees[i]);
return resultList;
<br> File Name : <b> Employee.java </b>
package com.solversa;
public class Employee
private String name;
private String ssNum;
public Employee(String name, String ssNum) {
this.name = name;
this.ssNum = ssNum;
public void setName(String name) {
this.name = name;
public String getName() {
return name;
public void setSsNum(String ssNum) {
this.ssNum = ssNum;
public String getSsNum() {
return ssNum;
Pls help me out.
Not able to prompt errors.Hello Friends,
I am not able to run validation using
validation.xml & validator-rules.xml.
Entire code in running prefectly but no error
messages are prompted.
Following is my code:
File Name : struts-config.xml
<struts-config>
<!-- Form Beans Configuration -->
<form-beans>
<form-bean name="searchForm"
type="com.solversa.SearchForm"/>
ans>
<!-- Global Forwards Configuration -->
<global-forwards>
<forward name="search" path="/search.jsp"/>
global-forwards>
<!-- Action Mappings Configuration -->
<action-mappings>
<action path="/search"
type="com.solversa.SearchAction"
name="searchForm"
scope="request"
validate="true"
input="/search.jsp">
tion>
</action-mappings>
<!-- Message Resources Configuration -->
<message-resources
parameter="ApplicationResources"/>
<!-- Validator Configuration -->
<plug-in
className="org.apache.struts.validator.ValidatorPlugI
">
<set-property property="pathnames"
value="/WEB-INF/validator-rules.xml,
/WEB-INF/validation.xml"/>
>
</struts-config>
<br> File Name : <b> validation.xml </b>
<form-validation>
<formset>
<form name="searchForm">
<field property="name" depends="minlength">
<arg key="label.search.name" position = "0"/>
<arg1 name="minlength" key="${var:minlength}"
resource="false"/>
<var>
<var-name>minlength</var-name>
<var-value>5</var-value>
</var>
</field>
<field property="ssNum" depends="mask">
<arg0 key="label.search.ssNum"/>
<var>
<var-name>mask</var-name>
<var-value>^\d{3}-\d{2}-\d{4}$</var-value>
</var>
</field>
/form>
</formset>
form-validation>
<br> File Name : <b> SearchForm.java </b>
package com.jamesholmes.minihr;
import java.util.List;
import org.apache.struts.validator.ValidatorForm;
public class SearchForm extends ValidatorForm
private String name = null;
private String ssNum = null;
private List results = null;
public void setName(String name) {
this.name = name;
public String getName() {
return name;
public void setSsNum(String ssNum) {
this.ssNum = ssNum;
public String getSsNum() {
return ssNum;
public void setResults(List results) {
this.results = results;
public List getResults() {
return results;
<br> File Name : <b> SearchAction.java </b>
package com.jamesholmes.minihr;
import java.util.ArrayList;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.struts.action.Action;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
public final class SearchAction extends Action
public ActionForward execute(ActionMapping
mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws Exception
EmployeeSearchService service = new
EmployeeSearchService();
ArrayList results;
SearchForm searchForm = (SearchForm) form;
// Perform employee search based on what criteria
was entered.
String name = searchForm.getName();
if (name != null && name.trim().length() > 0) {
results = service.searchByName(name);
else {
results =
service.searchBySsNum(searchForm.getSsNum().trim());
// Place search results in SearchForm for access
by JSP.
searchForm.setResults(results);
// Forward control to this Action's input page.
return mapping.getInputForward();
<br> File Name : <b> EmployeeSearchService.java </b>
package com.jamesholmes.minihr;
import java.util.ArrayList;
public class EmployeeSearchService
/* Hard-coded sample data. Normally this would come
from a real data
source such as a database. */
ivate static Employee[] employees =
new Employee("Bob Davidson", "123-45-6789"),
new Employee("Mary Williams", "987-65-4321"),
new Employee("Jim Smith", "111-11-1111"),
new Employee("Beverly Harris", "222-22-2222"),
new Employee("Thomas Frank", "333-33-3333"),
new Employee("Jim Davidson", "444-44-4444")
// Search for employees by name.
public ArrayList searchByName(String name) {
ArrayList resultList = new ArrayList();
for (int i = 0; i < employees.length; i++) {
if
(employees.getName().toUpperCase().indexOf(name.toU
pperCase()) != -1) {
resultList.add(employees[i]);
return resultList;
// Search for employee by social security number.
public ArrayList searchBySsNum(String ssNum) {
ArrayList resultList = new ArrayList();
for (int i = 0; i < employees.length; i++) {
if (employees[i].getSsNum().equals(ssNum)) {
resultList.add(employees[i]);
return resultList;
<br> File Name : <b> Employee.java </b>
package com.solversa;
public class Employee
private String name;
private String ssNum;
public Employee(String name, String ssNum) {
this.name = name;
this.ssNum = ssNum;
public void setName(String name) {
this.name = name;
public String getName() {
return name;
public void setSsNum(String ssNum) {
this.ssNum = ssNum;
public String getSsNum() {
return ssNum;
Pls help me out.
Not able to prompt errors.
Hi,
Your error message are not displaying because u does not made Message-Resoucrce property file (Resource Bundle) when you make it .
give it entry in
struts-config.xml
<message-resources parameter="ApplicationResources" />
and
define key and corresponding error message to key in this ApplicationResources i.e
#Error Resources
label.search.ssNum=Plz Enter correct ssNum -
Not able to run python programs on OSx maverics
I bought Mac book pro 1.5 yrs back, and it came with OSx 10.6 now few months back I upgraded to OSx maverics and since then I am not able to run python tools properly. Just importing something in the python commandline i get segmentation fault 11.
now I just tried
import os
and i got segmentation fault with below error,
Process:
Python [1230]
Path:
/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/ MacOS/Python
Identifier:
Python
Version:
2.7.4 (2.7.4)
Code Type:
X86-64 (Native)
Parent Process: bash [883]
Responsible:
Terminal [749]
User ID:
501
Date/Time:
2015-01-15 09:46:08.784 +0530
OS Version:
Mac OS X 10.9.2 (13C64)
Report Version: 11
Anonymous UUID: A975CB81-1635-0611-4AD9-0DC61C4EC9A0
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
VM Regions Near 0:
-->
__TEXT
0000000100000000-0000000100001000 [
4K] r-x/rwx SM=COW /Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents /MacOS/Python
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 readline.so
0x00000001002f2f97 call_readline + 647
1 org.python.python
0x0000000100008e92 PyOS_Readline + 274
2 org.python.python
0x000000010000a6e8 tok_nextc + 104
3 org.python.python
0x000000010000ae93 PyTokenizer_Get + 147
4 org.python.python
0x0000000100005a8a parsetok + 218
5 org.python.python
0x00000001000e8af2 PyParser_ASTFromFile + 146
6 org.python.python
0x00000001000e9dd3 PyRun_InteractiveOneFlags + 243
7 org.python.python
0x00000001000ea0be PyRun_InteractiveLoopFlags + 78
8 org.python.python
0x00000001000ea8d1 PyRun_AnyFileExFlags + 161
9 org.python.python
0x000000010010155d Py_Main + 3101
10 org.python.python
0x0000000100000f14 0x100000000 + 3860
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000100322290 rcx: 0x0000000102000000 rdx: 0x0000000000000a00
rdi: 0x0000000000000000 rsi: 0x00000001002f3254 rbp: 0x00007fff5fbff2d0 rsp: 0x00007fff5fbff200
r8: 0x0000000102000000 r9: 0x0000000000000000 r10: 0x0080002140000003 r11: 0x0000000000000001
r12: 0x0000000000000001 r13: 0x0000000000000009 r14: 0x00007fff5fbff290 r15: 0x00007fff5fbff210
rip: 0x00000001002f2f97 rfl: 0x0000000000010206 cr2: 0x0000000000000000
Logical CPU:
1
Error Code:
0x00000004
Trap Number:
14
Binary Images:
0x100000000 -
0x100000fff +org.python.python (2.7.4 - 2.7.4) <A450FF23-FAE2-B1D7-E70F-5511C3FAD379> /Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents /MacOS/Python
0x100003000 -
0x10016fff7 +org.python.python (2.7.4, [c] 2004-2013 Python Software Foundation. - 2.7.4) <D4B4F67F-D7AA-AECF-2E7C-6C605A9B1EA9> /Library/Frameworks/Python.framework/Versions/2.7/Python
0x1002f1000 -
0x1002f3fff +readline.so (???) <CDBF1919-7992-8A7E-5F30-D429DB67EF51> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/rea dline.so
0x100700000 -
0x10071effb libedit.2.dylib (39) <1B0596DB-F336-32E7-BB9F-51BF70DB5305> /usr/lib/libedit.2.dylib
0x10072f000 -
0x100783fe7 +libncursesw.5.dylib (5) <3F0079C0-01C1-3CB8-19CA-F9B49AA4F4A4> /Library/Frameworks/Python.framework/Versions/2.7/lib/libncursesw.5.dylib
0x7fff64d5d000 -
0x7fff64d90817 dyld (239.4) <2B17750C-ED1B-3060-B64E-21897D08B28B> /usr/lib/dyld
0x7fff88329000 -
0x7fff8833aff7 libsystem_asl.dylib (217.1.4) <655FB343-52CF-3E2F-B14D-BEBF5AAEF94D> /usr/lib/system/libsystem_asl.dylib
0x7fff8833b000 -
0x7fff88340ff7 libunwind.dylib (35.3) <78DCC358-2FC1-302E-B395-0155B47CB547> /usr/lib/system/libunwind.dylib
0x7fff88b16000 -
0x7fff88b3dff7 libsystem_network.dylib (241.3) <8B1E1F1D-A5CC-3BAE-8B1E-ABC84337A364> /usr/lib/system/libsystem_network.dylib
0x7fff88b3e000 -
0x7fff88b5aff7 libsystem_kernel.dylib (2422.90.20) <20E00C54-9222-359F-BD98-CB79ABED769A> /usr/lib/system/libsystem_kernel.dylib
0x7fff88de4000 -
0x7fff88e14fff libncurses.5.4.dylib (42) <BF763D62-9149-37CB-B1D2-F66A2510E6DD> /usr/lib/libncurses.5.4.dylib
0x7fff88e15000 -
0x7fff88e1bff7 libsystem_platform.dylib (24.90.1) <3C3D3DA8-32B9-3243-98EC-D89B9A1670B3> /usr/lib/system/libsystem_platform.dylib
0x7fff88e8c000 -
0x7fff88ea7ff7 libsystem_malloc.dylib (23.10.1) <A695B4E4-38E9-332E-A772-29D31E3F1385> /usr/lib/system/libsystem_malloc.dylib
0x7fff891a9000 -
0x7fff891f7fff libcorecrypto.dylib (161.1) <F3973C28-14B6-3006-BB2B-00DD7F09ABC7> /usr/lib/system/libcorecrypto.dylib
0x7fff892a2000 -
0x7fff892acfff libcommonCrypto.dylib (60049) <8C4F0CA0-389C-3EDC-B155-E62DD2187E1D> /usr/lib/system/libcommonCrypto.dylib
0x7fff892c0000 -
0x7fff89312fff libc++.1.dylib (120) <4F68DFC5-2077-39A8-A449-CAC5FDEE7BDE> /usr/lib/libc++.1.dylib
0x7fff8a0de000 -
0x7fff8a105ffb libsystem_info.dylib (449.1.3) <7D41A156-D285-3849-A2C3-C04ADE797D98> /usr/lib/system/libsystem_info.dylib
0x7fff8b079000 -
0x7fff8b080fff libcompiler_rt.dylib (35) <4CD916B2-1B17-362A-B403-EF24A1DAC141> /usr/lib/system/libcompiler_rt.dylib
0x7fff8b081000 -
0x7fff8b082ffb libremovefile.dylib (33) <3543F917-928E-3DB2-A2F4-7AB73B4970EF> /usr/lib/system/libremovefile.dylib
0x7fff8b083000 -
0x7fff8b23bff3 libicucore.A.dylib (511.31) <167DDD0A-A935-31AF-B5B9-940268EC3A3C> /usr/lib/libicucore.A.dylib
0x7fff8bb00000 -
0x7fff8bb2ffd2 libsystem_m.dylib (3047.16) <B7F0E2E4-2777-33FC-A787-D6430B630D54> /usr/lib/system/libsystem_m.dylib
0x7fff8c3a5000 -
0x7fff8c3a6ff7 libsystem_blocks.dylib (63) <FB856CD1-2AEA-3907-8E9B-1E54B6827F82> /usr/lib/system/libsystem_blocks.dylib
0x7fff8cd63000 -
0x7fff8cd65ff7 libquarantine.dylib (71) <7A1A2BCB-C03D-3A25-BFA4-3E569B2D2C38> /usr/lib/system/libquarantine.dylib
0x7fff8d8fa000 -
0x7fff8d923ff7 libc++abi.dylib (49.1) <21A807D3-6732-3455-B77F-743E9F916DF0> /usr/lib/libc++abi.dylib
0x7fff8dbcc000 -
0x7fff8dbd3ff7 libsystem_pthread.dylib (53.1.4) <AB498556-B555-310E-9041-F67EC9E00E2C> /usr/lib/system/libsystem_pthread.dylib
0x7fff8dbfb000 -
0x7fff8dbffff7 libcache.dylib (62) <BDC1E65B-72A1-3DA3-A57C-B23159CAAD0B> /usr/lib/system/libcache.dylib
0x7fff8ddf9000 -
0x7fff8de00ff8 liblaunch.dylib (842.90.1) <38D1AB2C-A476-385F-8EA8-7AB604CA1F89> /usr/lib/system/liblaunch.dylib
0x7fff8de01000 -
0x7fff8de43ff7 libauto.dylib (185.5) <F45C36E8-B606-3886-B5B1-B6745E757CA8> /usr/lib/libauto.dylib
0x7fff8de4d000 -
0x7fff8de51ff7 libsystem_stats.dylib (93.90.3) <1A55AF8A-B6C4-3163-B557-3AD25DA643A8> /usr/lib/system/libsystem_stats.dylib
0x7fff8ecd8000 -
0x7fff8eebdfff com.apple.CoreFoundation (6.9 - 855.14) <617B8A7B-FAB2-3271-A09B-C542E351C532> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7fff90c81000 -
0x7fff90c89fff libsystem_dnssd.dylib (522.90.2) <A0B7CF19-D9F2-33D4-8107-A62184C9066E> /usr/lib/system/libsystem_dnssd.dylib
0x7fff90c8b000 -
0x7fff90c8cff7 libDiagnosticMessagesClient.dylib (100) <4CDB0F7B-C0AF-3424-BC39-495696F0DB1E> /usr/lib/libDiagnosticMessagesClient.dylib
0x7fff91b4f000 -
0x7fff91b54fff libmacho.dylib (845) <1D2910DF-C036-3A82-A3FD-44FF73B5FF9B> /usr/lib/system/libmacho.dylib
0x7fff91c4e000 -
0x7fff91c55ff3 libcopyfile.dylib (103) <5A881779-D0D6-3029-B371-E3021C2DDA5E> /usr/lib/system/libcopyfile.dylib
0x7fff91d91000 -
0x7fff91e1aff7 libsystem_c.dylib (997.90.3) <6FD3A400-4BB2-3B95-B90C-BE6E9D0D78FA> /usr/lib/system/libsystem_c.dylib
0x7fff91e6e000 -
0x7fff91e77ff3 libsystem_notify.dylib (121) <52571EC3-6894-37E4-946E-064B021ED44E> /usr/lib/system/libsystem_notify.dylib
0x7fff9272c000 -
0x7fff9272dff7 libsystem_sandbox.dylib (278.11) <5E5A6E09-33A9-391A-AB34-E57D93BB1551> /usr/lib/system/libsystem_sandbox.dylib
0x7fff92ede000 -
0x7fff92f02fff libxpc.dylib (300.90.2) <AB40CD57-F454-3FD4-B415-63B3C0D5C624> /usr/lib/system/libxpc.dylib
0x7fff93601000 -
0x7fff93602ff7 libSystem.B.dylib (1197.1.1) <BFC0DC97-46C6-3BE0-9983-54A98734897A> /usr/lib/libSystem.B.dylib
0x7fff9363c000 -
0x7fff937e9f27 libobjc.A.dylib (551.1) <AD7FD984-271E-30F4-A361-6B20319EC73B> /usr/lib/libobjc.A.dylib
0x7fff93b8e000 -
0x7fff93b8eff7 libkeymgr.dylib (28) <3AA8D85D-CF00-3BD3-A5A0-E28E1A32A6D8> /usr/lib/system/libkeymgr.dylib
0x7fff949e8000 -
0x7fff949ebff7 libdyld.dylib (239.4) <CF03004F-58E4-3BB6-B3FD-BE4E05F128A0> /usr/lib/system/libdyld.dylib
0x7fff94df0000 -
0x7fff94df2ff3 libsystem_configuration.dylib (596.13) <B51C8C22-C455-36AC-952D-A319B6545884> /usr/lib/system/libsystem_configuration.dylib
0x7fff95357000 -
0x7fff95358fff libunc.dylib (28) <62682455-1862-36FE-8A04-7A6B91256438> /usr/lib/system/libunc.dylib
0x7fff95380000 -
0x7fff95391ff7 libz.1.dylib (53) <42E0C8C6-CA38-3CA4-8619-D24ED5DD492E> /usr/lib/libz.1.dylib
0x7fff95392000 -
0x7fff953acfff libdispatch.dylib (339.90.1) <F3CBFE1B-FCE8-3F33-A53D-9092AB382DBB> /usr/lib/system/libdispatch.dylib
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 1192
thread_create: 0
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=76.9M resident=147.6M(192%) swapped_out_or_unallocated=16777216.0T(22877170565120%)
Writable regions: Total=46.0M written=2644K(6%) resident=3112K(7%) swapped_out=0K(0%) unallocated=42.9M(93%)
REGION TYPE
VIRTUAL
===========
=======
Kernel Alloc Once
4K
MALLOC
37.6M
MALLOC (admin)
16K
STACK GUARD
56.0M
Stack
8192K
VM_ALLOCATE
8K
__DATA
1432K
__LINKEDIT
66.2M
__TEXT
10.7M
__UNICODE
544K
shared memory
4K
===========
=======
TOTAL
180.5M
Model: MacBookPro9,2, BootROM MBP91.00D3.B06, 2 processors, Intel Core i5, 2.5 GHz, 4 GB, SMC 2.2f38
Graphics: Intel HD Graphics 4000, Intel HD Graphics 4000, Built-In, 1024 MB
Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1600 MHz, 0x02FE, 0x45424A3230554638424455302D474E2D4620
Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1600 MHz, 0x02FE, 0x45424A3230554638424455302D474E2D4620
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xF5), Broadcom BCM43xx 1.0 (5.106.98.100.22)
Bluetooth: Version 4.2.3f10 13477, 3 services, 15 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
Serial ATA Device: APPLE HDD HTS547550A9E384, 500.11 GB
Serial ATA Device: HL-DT-ST DVDRW GS31N
USB Device: Hub
USB Device: Android
USB Device: FaceTime HD Camera (Built-in)
USB Device: Hub
USB Device: Hub
USB Device: IR Receiver
USB Device: Apple Internal Keyboard / Trackpad
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
Thunderbolt Bus: MacBook Pro, Apple Inc., 25.1
I would really appreciate if some one can help solve the above issue.That is always a classpath issue. Fix your classpath so it uses the J2ee.jar. If you are using an IDE you will have to look up how to add JARs to the IDE's classpath, which is usually not the same as the system classpath.
-
Not able to run a report on BiPublisher version 10.1.3.4
I am using Bipublisher version 10.1.3.4. i am not able to run the Report. I am calling this report using
webservice from java code.I have added entry "Guest" in Guest Folder name also i have
checked the checkbox AllowGuest acess in Admin->ServerConfiguration tab.
i have xdo file in location /Guest/Test/InvoiceBatchReport/InvoiceBatchReport.xdo
I am getting exception at line following line
ReportResponse reportResp = (ReportResponse) call.invoke( new Object[] {report, "Administrator", "Administrator"} );
following is the exception detail
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: oracle.apps.xdo.webservice.exception.OperationFailedException: PublicReportService::generateReport failed: due to unable to read
ReportDataFile [Guest/Test/InvoiceBatchReport/InvoiceBatchReport.xdo]
faultActor:
faultNode:
faultDetail:
{}oracle.apps.xdo.webservice.exception.OperationFailedException:null
{http://xml.apache.org/axis/}hostname:GTMDevWS
oracle.apps.xdo.webservice.exception.OperationFailedException: PublicReportService::generateReport failed: due to
unable to read ReportDataFile
[Guest/Test/InvoiceBatchReport/InvoiceBatchReport.xdo]
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
at
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
at
org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContex
t.java:1087)
can any body provide me the solution ?I missed to attach the source code.following is mine source code.
public static void runReport() throws Exception {
final String bipEndpoint = "http://localhost:9706/xmlpserver/services/PublicReportService?wsdl";
final String bipNamespace = "http://xmlns.oracle.com/oxp/service/PublicReportService";
final String xdofile = "/Guest/Test/InvoiceBatchReport/InvoiceBatchReport.xdo";
// set up the call object
Service service = new Service();
Call call = (Call) service.createCall();
call.setTargetEndpointAddress(new URL(bipEndpoint));
// TEST Run Report
System.out.println("TESTING runReport Service BEGIN");
// register the ReportRequest class
QName reportReq = new QName(bipNamespace, "ReportRequest");
call.registerTypeMapping(ReportRequest.class, reportReq, BeanSerializerFactory.class, BeanDeserializerFactory.class);
// register the ParamNameValue class
QName nmvals = new QName(bipNamespace, "ParamNameValue");
call.registerTypeMapping(ParamNameValue.class, nmvals, BeanSerializerFactory.class, BeanDeserializerFactory.class);
// register the BIPReportResponse class
QName reportRespqn = new QName(bipNamespace, "ReportResponse");
call.registerTypeMapping(ReportResponse.class, reportRespqn, BeanSerializerFactory.class, BeanDeserializerFactory.class);
// Default return type based on what we expect
call.setOperationName( new QName(bipNamespace, "runReport" ));
call.addParameter( "ReportRequest", reportReq, ParameterMode.IN );
call.addParameter("admin", XMLType.XSD_STRING, ParameterMode.IN);
call.addParameter("yuvraj79", XMLType.XSD_STRING, ParameterMode.IN);
call.setReturnClass(ReportResponse.class);
ParamNameValue[] paramNmVals = new ParamNameValue[2];
paramNmVals[0] = new ParamNameValue(false, "dept", null) ;
paramNmVals[1] = new ParamNameValue(false, "emp", new String[] {"*"}) ;
ReportRequest report = new ReportRequest("pdf", "en-US", "Simple",false, null, "/Guest/Test/InvoiceBatchReport/InvoiceBatchReport.xdo",null, xdofile, -1);
// issue the reques
ReportResponse reportResp = (ReportResponse) call.invoke( new Object[] {report, "Administrator", "Administrator"} );
System.out.println("Return ReportResponse: ContentType = " + reportResp.getReportContentType());
// Save the report
byte[] binaryBytes = reportResp.getReportBytes();
OutputStream out = new FileOutputStream("D:\\temp\\out.pdf");
out.write(binaryBytes);
out.close();
System.out.println("Success for Run Report");
} -
Salve, ho appena comprato il mio ipod di 8G.. connettendomi wi-fi al router di casa mia, aprendo safari (o le altre applicazioni che richiedono la connessione internet) spunta la finestra con scritto "Impossibile aprire pagine, Safari non può aprire la pagina perché non è connesso a Internet" Ho provato e riprovato, ma niente! Spero possiate aiutarmi, grazie! :)
Hello, I've just bought my ipod (8Gb)... even with the wi-fi I'm not able to access to the internet, opening any app that needs internet my ipod shows this " Cannot open page, Safari cannot open the page because it is not connected to the internet" I tried and I tried but it was useless..! I hope You can help me! Thank you and sorry if my english isn't rightI can connect to the site using another computer on my network. It's completely isolated to my iMac.
-
Not able to run the Jdeveloper Pages in Local Machine
Dear All,
I am developing Custom OAF Pages in R12. while am not able to run the page in Local Machine Currently i am using Remote VPN. same page i import into server am able to run in Application.
The error says:
1, Increae the time limit bye setting the JRAD.RUNREG.TIMEOUT Parameter in ide.parameters file loacted in System directory.
I found the file . am not able to find the JRAD.RUNREG.TIMEOUT Parameter option
2, Check the Host Name in the Preferances, Under Embeded OC4J.
I Verified same and using the Default Local IP Address.
I am using Jdeveloper Version : p8431482_R12_GENERIC.zip
Please help me. I approciate before
Thanks
Venkat Reddy Pulichintha
00971502644919
[email protected]Dear Gaurav,
Thanks for you quick replay
For this Patch number (p8431482_R12_GENERIC.zip), there is no (JAVA Options: remove this statement: -DFND_JDBC_STMT_CACHE_SIZE=200 -DCACHENODBINIT=true)
Please guide me furthe steps. any other settings requird.
Thanks
Venkat Reddy Pulichintha
00971502644919
[email protected] -
Could not able to RUN Java Programs in JRE 1.5.08
hi
I am using Jdk 1.5.8.
I don�t have any problem in compiling the files.
but i could not able to run the program through windows cmd prompt.
Say name of the java file is newFile (no packages).
When i try to run the program by using java newFile it raises a ClassNotFoundException.
it s the same case when try to set any JDBC drivers ..
is there any problem in my class path settings? Please help me out to fix this problemif your current directory is not in the classpath,you should include it in the classpath.
To do that you can include .(dot) to your classpath variable.
http://java.sun.com/j2se/1.3/docs/tooldocs/win32/classpath.html -
i have the new ipad and inserted a new tata docomo sim in it, it shows network but is not able to connect to the internet,,, can any1 plzz help me out
Let's start with the most obvious? Have you paid for service? If yes, thry THIS.
-
I am not able to run a Windows Azure application
I have a very strange issue.
I am not able to run a windows azure application which has a WCF service and mschart in it. Following are the steps to reproduce the error:
1) Create a new windowsazureapplication with a blank asp.net webrole
2) Now add a new WCfService
3) run to check it runs ok
http://i.stack.imgur.com/1g6gW.png
4) now in one of the pages include mschart, and open the design of the page to make sure the webconfig is changed to use the mschart.
5) now try to run the project.
I am getting error message like this one:
enter image description here
Is this a problem with windows azure or am I doing somthing wrong?
FYI: This is not my first project on windows azure.
RuchitRamiAs far as I know Toshiba doesnt support such Microsoft stuff so I think Microsoft is the right adres for such issues.
Have you already checked what Microsoft say about that? -
I'm not able to run a simple Hello Program in java
I have just now installed jdk 1.3.1_2.
I have set the path and class path.
I'm able to compile the class without any errors but am not able to run the program.
when i say java Hello(after compiling Hello.java), i'm seeing the following error:
Exception in thread "main" java.lang.NoclassDefFoundError:Hello
Thanks in advance in this regardHmm..
Okay.. set aside any import or package stuffs.. lets say about a simple HelloWorld program which is called Hello.class. It resides in c:\, which means the full path is c:\Hello.class.
Make sure you got one of your path as c:\jdk1.3\bin(assuming you are using jdk 1.3).
If you are in the same directory as Hello.class, which is c:\>, you can execute the class file by typing:
C:\>java Hello
If you are not in the same directory and you wishes to run the class file, example you are in directory temp now:
C:\Temp>java -cp C:\ Hello
So the cp set will be just c:\. Hope that answers your question somehow.. well... if I never intepret it wrongly.
Maybe you are looking for
-
Send an email to a mail box when generate a xml publisher report in R12
Dears, I faced a tough problem about xml publisher, there is a user's requirement, they want to send an email to a common mail box after user run the xml publisher report in EBS R12 instance, and they can check the report in mail box, I have not met
-
Zen Vision M: Vanishing Album
Yes I know another Album Art problem but the how, why and what next has really got me puzzled!?I have a ZVM 30GB synced to a PC with WMP . Until recently absolutely no issues with my ZVM and Album Art; the occassional missing picture if auto sync was
-
Sometimes while making a phone call, the person can not hear me but phone is not muted
I have Iphone 6 and sometimes like once a month, when i make a phone call, the person can not hear me.
-
Publishing mobile and desktop applications - Android APP
I successfully published an .apk to my android phone, but in the message "The APK was was successfully packaged NOTE The application has been packaged with a shared runtime. Then I get a message on my phone that I need to install Adobe Air on the pho
-
Nokia Observation Camera not able to remember GPRS...
Hello! I have an old nokia observation camera (Type: PT-2, model: Nokia Observation Camera) that works fine except it cannot remember changes made to one setting, namely the GPRS contact name. I am guessing that the flash memory of the device has gon