Sir the dtd definition file path is to be mentioned in xml file na. in the top of xml file where i need to specify the dtd file path if i give the path as
"C:/Documents and settings/Uhdam/Prj/src/Parser/dtdefintion.dtd " it shows me error and specifies that it should be in the format as below
"/C:/Documents and settings/Uhdam/Prj/src/Parser/dtdefintion.dtd "
So when i use methodname.getA bsolutePath();...
User Profile
Collapse
-
path specification problem not resolved..help me
-
Sir the dtd definition file path is to be mentioned in xml file na. in the top of xml file where i need to specify the dtd file path if i give the path as
"C:/Documents and settings/Uhdam/Prj/src/Parser/dtdefintion.dtd " it shows me error and specifies that it should be in the format as below
"/C:/Documents and settings/Uhdam/Prj/src/Parser/dtdefintion.dtd "
So when i use methodname.getA bsolutePath();... -
When i run my project it runs to certain extent and when it needs the support of dtd and xml it fails at that stage.
It returns error in console as
C:/Documents%20and %20Settings/Uhdam/Prj/src/xmldet/xmlinfo.xml
java.lang.NullP ointerExceptionLeave a comment:
-
-
the error i got was null pointer.. i am sure that the path has to be set without the / in front... but it does not accept so...Leave a comment:
-
Path specification problem
Hi...
i have an xml file and from that i need to refer to the dtds...
In my system the dtd path accepts only if it is set as
"/c:/Documents and settings/.... "
but by default it has to be set as "c:/documents and settings/..."
And because of this when i get absolute path and assign the value for opening a file or saving a file it shows error and i couldnt get... -
-
Thank you...
But how to populate data from object to lists in java. Any suggestions...Leave a comment:
-
populate data from object to lists in java.
Hi...
can somebody tell me how to populate data from object to lists in java.
when can problems like null pointer exception arise when populating objects to lists ?
Help needed as soon as possible...
Thanks in Advance.... -
-
Null pointer Exception
Hi..
I get a null pointer exception error. Please give me a solution as how to access this. The code snippet is as follows.
...Code:public class x { private String y; public String gety() { return y; } public void sety(String m) { this.y = m ; } } public class a { x ax = new x(); ax.sety("Hai"); -
uhdam replied to Nonstatic variable xx cannot be accessed in a static context ---Help Needed Urgentlyin JavaThankyou sir,
But when i created an instance for that nonstatic class and accessed through that instance i am getting the ArrayList size as zero.Leave a comment:
-
uhdam started a topic Nonstatic variable xx cannot be accessed in a static context ---Help Needed Urgentlyin JavaNonstatic variable xx cannot be accessed in a static context ---Help Needed Urgently
Hi
I am unable to access a non static variable in a static context
The variable is an arrayList and in a separate file
I cannot change the corresponding non-static class into static class
Please help me to resolve this problem
I have also tried using getter method -
-
-
I am not using reflection but the tree value is changing. The class values and the method values change at runtime.Leave a comment:
-
JTree Help
In java, How to make a class identify its method when more than one class is present.
Thats suppose i have 4 classes namely class1,class2,c lass3 & class4 and i have one method in each class namely method1 under class1,method2 under class2, method3 under class3 and method4 under class4.
How to print method1 alone under class1 and
method2 alone under class2 and so on.
I am using a JTree.... -
Ok sir.
Actually, I am using XML file system. I am Retrieving XML elements using DOM parser and Storing elements as class Attributes. While executing the parsed file alone (fileScanner.ja va) i am getting the attribute values properly. But when accessing fileScanner.jav a through .jar files, i am getting Null Pointer Exception for the same attribute value.
How to rectify this and execute the same.
Thank you.Leave a comment:
-
Ok sir,
That should be the problem.
But How could a value be converted to icon ?
Thank you.Leave a comment:
No activity results to display
Show More
Leave a comment: