User Profile

Collapse

Profile Sidebar

Collapse
uhdam
uhdam
Last Activity: May 9 '09, 09:58 AM
Joined: Mar 10 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • uhdam
    started a topic path specification problem not resolved..help me
    in Java

    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();...
    See more | Go to post

  • uhdam
    replied to Path specification problem
    in Java
    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();...
    See more | Go to post

    Leave a comment:


  • uhdam
    replied to Path specification problem
    in Java
    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 ointerException
    See more | Go to post

    Leave a comment:


  • uhdam
    replied to Path specification problem
    in Java
    i got MalformedURL exception: protocol c
    See more | Go to post

    Leave a comment:


  • uhdam
    replied to Path specification problem
    in Java
    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...
    See more | Go to post

    Leave a comment:


  • uhdam
    started a topic Path specification problem
    in Java

    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...
    See more | Go to post

  • uhdam
    replied to populate data from object to lists in java.
    in Java
    I think this should be helpful... will try .. Thank you
    See more | Go to post

    Leave a comment:


  • uhdam
    replied to populate data from object to lists in java.
    in Java
    Thank you...

    But how to populate data from object to lists in java. Any suggestions...
    See more | Go to post

    Leave a comment:


  • uhdam
    started a topic populate data from object to lists in java.
    in Java

    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....
    See more | Go to post

  • uhdam
    replied to Null pointer Exception
    in Java
    Yes sir.. it does...
    See more | Go to post

    Leave a comment:


  • uhdam
    started a topic Null pointer Exception
    in Java

    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");
    ...
    See more | Go to post
    Last edited by Nepomuk; Apr 28 '09, 04:26 PM. Reason: Please use [code] tags

  • Please Reply soon sir... I am in need of it badly...
    See more | Go to post

    Leave a comment:


  • Thankyou sir,

    But when i created an instance for that nonstatic class and accessed through that instance i am getting the ArrayList size as zero.
    See more | Go to post

    Leave a comment:


  • Nonstatic 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
    See more | Go to post

  • uhdam
    replied to JTree Help
    in Java
    Please Help.. A bit Urgent..
    See more | Go to post

    Leave a comment:


  • uhdam
    replied to JTree Help
    in Java
    How to access the same when the data is stored in XML files.
    See more | Go to post

    Leave a comment:


  • uhdam
    replied to JTree Help
    in Java
    I am not using reflection but the tree value is changing. The class values and the method values change at runtime.
    See more | Go to post

    Leave a comment:


  • uhdam
    started a topic JTree Help
    in Java

    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....
    See more | Go to post

  • uhdam
    replied to Integration problem - Null pointer Exception
    in Java
    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.
    See more | Go to post

    Leave a comment:


  • uhdam
    replied to Integration problem - Null pointer Exception
    in Java
    Ok sir,

    That should be the problem.

    But How could a value be converted to icon ?

    Thank you.
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...