Search:

Type: Posts; User: Sai

Search: Search took 0.22 seconds.

  1. Replies
    1
    Views
    1,482

    Re: Print out object that is in a tree

    I think it returns a Node object
    try

    getElementName() or getElementValue()

    to get the name n value of node,I m not sure weather it works or not

    Regards
    Sai
  2. Thread: The value of x

    by Sai
    Replies
    3
    Views
    542

    Re: The value of x

    The expression gives the

    boolean object false

    because multiplication preceeds addition..and so 8>9 which results in false
  3. Thread: Parsing CDATA

    by Sai
    Replies
    3
    Views
    1,919

    Re: Parsing CDATA

    hehe that's not the full XML i did some mistake while copying it here ..ok ny way it worked when i parsed with a normal parser.. :D .. thanks for the support
  4. Thread: Parsing CDATA

    by Sai
    Replies
    3
    Views
    1,919

    Parsing ---- CDATA

    Hi,

    Is there any way to extract the content in CDATA sections...?
    as they cannot be parsed..

    for example

    <message><![CDATA[hello world];]></message>

    in the above tag i want to extrat...
  5. Thread: Log Management

    by Sai
    Replies
    1
    Views
    1,438

    Log Management

    Hi,

    I am trying to create logs for my java code which consists of various classes, i am trying to use LOG4J but i didnt find that productive...


    Suggest me a better way or an improvised way of...
  6. [SOLVED] Re: Problem with a tutorial program(Adding the answer of two squared numbers together

    I recommend eclipse...
  7. Thread: SQL in Java

    by Sai
    Replies
    2
    Views
    1,393

    SQL in Java

    java.sql.SQLException: Invalid column index

    Hi i am trying to retrieve some data from the database using the following code


    public class Database {


    public static void main(String arg[])...
  8. [SOLVED] Re: Problem with a tutorial program(Adding the answer of two squared numbers together

    In both of the codes u didnt use the

    Math.sqrt(int) function

    this will do the job



    System.out.println("The square root of 300 + 146 is ");
    double z =Math.sqrt( x + y);
  9. Replies
    3
    Views
    720

    [SOLVED] Re: Writing " to a File

    found it...


    thanks for the help anyway
  10. Replies
    3
    Views
    720

    [SOLVED] Writing " to a File

    HI
    I want to write " to a file

    but i couldn't figure out how to write it...
    Any help is appreciated
    =D>o=>
  11. Replies
    1
    Views
    1,364

    Extracting the BINDING element from WSDL file

    Hi,

    I want to parse a WSDL file and extract the contents of the BINDING element.Can any 1 tell me the java code to parse and extract the required information( i've googled it but couldn't get the...
  12. Thread: WSDL2Java tool

    by Sai
    Replies
    1
    Views
    3,590

    WSDL2Java tool

    hi,

    I am willing to use WSDL2Java tool to create Stub and skeliton classes form a WSDL file.

    I want to know the java code to invoke the tool and pass the URI of the file...

    generally we do...
  13. Thread: Heya..!!!

    by Sai
    Replies
    3
    Views
    445

    Heya..!!!

    Hi folks,

    I am Sai doing my internship, now i m involved in a project developing a client to automate the process of testing web services..!!

    Cya around in the forum..!!
  14. Replies
    2
    Views
    1,263

    Re: Moving files in a Directory

    I guess the issue is resolved
    FYI




    import java.io.*;

    import javax.swing.*;
  15. Replies
    2
    Views
    1,263

    Moving files in a Directory

    Hi,
    I would like to move all my files in a directory to another directory ...

    I used


    new File("source file path").renameTo(new File("destination file path"));


    but i have a trouble...
  16. Replies
    6
    Views
    2,389

    Re: Accessing a method of one class in another class

    but there is a problem..when i can use "t1" directly why will i store it in a string variable?...
    the problem is i can just use the string(i.e classname) so , typecasting with t1 ( as in (t1) O)...
  17. Replies
    6
    Views
    2,389

    Re: Accessing a method of one class in another class

    I have tried

    Class<?> classDefinition = Class.forName(className);

    but still its throwing an exception :confused:
  18. Replies
    6
    Views
    2,389

    Re: Accessing a method of one class in another class

    thanks helloworld922...that does work :-bd

    but i am encountered with this exception always...which is not allowing me from creating the object

    Severity and...
  19. Replies
    6
    Views
    2,389

    Accessing a method of one class in another class

    Hi,
    I am trying to access the method of one class in another class through an object of the former class.
    Constraint is that i have the class name of the first class in a string variable.
    i tried...
Results 1 to 19 of 19