User Profile

Collapse

Profile Sidebar

Collapse
crossroadsk
crossroadsk
Last Activity: Nov 12 '07, 10:04 AM
Joined: Nov 2 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Thanks young. The link helped me out of my problem....
    See more | Go to post

    Leave a comment:


  • Help !! Extract data from the middle of an element !!

    Hi All,

    I have an xml file like :

    <root>
    <element1>somef ile_2007.html</element1>
    </root>


    what i'm trying to do is that i need "somefile_2 007" to be extracted using xsl, thereby eliminating the ".html" part.

    Is there any procedure in xsl to do this task?

    Someone please help me on this.

    I have never...
    See more | Go to post

  • crossroadsk
    started a topic OpenSuse 10.2 Installation error

    OpenSuse 10.2 Installation error

    Hi All,

    I'm installing opensuse 10.2 on my system using instlux which uses GRUB loader.That means the source is on hard disk

    My problem is, installation is not able to create SWAP partition. My RAM size is 512MB and i'm giving 2GB space for the SWAP partition.

    I get the error as follows:
    " Failure occurred during following actiom:
    Setting type of partition /dev/hda7 to 82
    ...
    See more | Go to post

  • crossroadsk
    replied to virus attack please help
    Thanks a lot .. i'll try downloading drivers for my mouse

    i'm using logitech wheel mouse....
    See more | Go to post

    Leave a comment:


  • crossroadsk
    started a topic virus attack please help

    virus attack please help

    i'm using windows xp

    a strange virus is residing in my system ... whenever i come across a scrollbar in any window i open .. the virus comes into action ... it takes control of that scroll...

    it scrolls from top to bottom and right to left if there is a scrollbar at the bottom of the window ...

    one more exapmle i can give is ... when i try to use media player classic which comes with k-lite codec...
    See more | Go to post

  • crossroadsk
    started a topic send mail thru java
    in Java

    send mail thru java

    <pre>
    Hi all,

    I'm new to Javamail concept and i got the following exceptions when i tried to send a simple mail.

    First exception is :
    using java Could not connect to SMTP host: smtp.gmail.com, port: 25;

    Second Exception is :
    java.net.Socket Exception: Software caused connection abort: connect

    i'm using Eudora as my mail client and its working fine.
    what...
    See more | Go to post

  • crossroadsk
    replied to Java Timer
    in Java
    Thanks for reply

    solved the problem almost .... just need to control the loop because it is an continuous loop

    Here is the code:
    import java.io.*;
    import java.util.*;
    class TimerTest extends TimerTask
    {
    public static void main(String[] args) throws IOException
    {
    TimerTask tt = new TimerTest();
    Timer t = new Timer();

    /*while (new BufferedReader( new...
    See more | Go to post

    Leave a comment:


  • crossroadsk
    started a topic Java Timer
    in Java

    Java Timer

    Hi ALL,

    I want to print a message for every 5 seconds of the system time

    How should i do it?

    I 've written some code but loop is not correct ....

    Waiting for sugestions ?

    Please help ..

    thanks
    See more | Go to post

  • Instead of ae.getSource()= =b1 in 'if' condition

    u try replacing with

    ae.getActionCom mand().equals(b 1.getLabel())
    See more | Go to post

    Leave a comment:


  • crossroadsk
    replied to Jsp doubt!!!!
    in Java
    Thanks a lot
    See more | Go to post

    Leave a comment:


  • crossroadsk
    started a topic Jsp doubt!!!!
    in Java

    Jsp doubt!!!!

    I am coding a jsp. I want to refer a class which i would place in the classes folder of my tomcat server.
    Is it possible to refer a normal java class through web.xml instead of a servlet or bean?
    or else, is there anyway to access a java(not servlet or bean) class from jsp?
    See more | Go to post

  • I solved this upto some extent

    use this code:

    import java.io.*;
    import java.util.*;
    public class Props
    {
    public static void main(String args[]) throws IOException
    {
    FileInputStream is = new FileInputStream ("sample.doc ");
    FileOutputStrea m fos = new FileOutputStrea m("samp.txt") ;
    Properties prop = new Properties();
    prop.load(is);...
    See more | Go to post

    Leave a comment:


  • crossroadsk
    replied to getClass()
    in Java
    See this example:

    class GetTheClass
    {
    public static void main(String[] args)
    {
    Object obj = new Object();
    String s = new String();
    System.out.prin tln(s.getClass( ));
    System.out.prin tln(obj.getClas s());
    }
    }

    It returns the classname of the object u used to call that method.

    you can use this to know the classname
    See more | Go to post

    Leave a comment:


  • My problem is that whenever i upload a document ... an xml file should get generated with the property attributes of that document


    someone can help me out please?
    See more | Go to post

    Leave a comment:


  • crossroadsk
    replied to Read attributes of a document through XML
    in XML
    Thanks for the support...
    See more | Go to post

    Leave a comment:


  • Read the properties of a document through a java program

    when we right-click and check the properties of any microsoft document or excel sheet, we have some attributes like "title","author " etc..

    i want to get those properties through java and create an XML file.

    How do i read those properties?

    of course i can create an XML after getting those properties....

    Please help me .....
    See more | Go to post

  • i'm using java ... thanks for the reply
    See more | Go to post

    Leave a comment:


  • crossroadsk
    started a topic Read attributes of a document through XML
    in XML

    Read attributes of a document through XML

    i want to read the attributes of a document through XML.
    when we right-click and check the properties of any microsoft document or excel sheet, we have some attributes like "title","author " etc..
    i want to get those properties into my xml document ... is it possible?
    See more | Go to post

  • crossroadsk
    started a topic configure JNDI properties for LDAP server
    in Java

    configure JNDI properties for LDAP server

    I have a problem in configuring JNDI properties for LDAP server

    i created jndi.properties file in the current directory where i'm running a simple java code.

    jndi.properties file which i created consists the following:
    java.naming.fac tory.initial=co m.sun.jndi.ldap .LdapCtxFactory
    java.naming.pro vider.url=ldap://localhost:389

    and i'm using j2eeRI 1.3 to run the following code:...
    See more | Go to post

  • crossroadsk
    started a topic J2EE Server port conflict
    in Java

    J2EE Server port conflict

    i got an error message when i start j2ee server by using the command

    j2ee -verbose

    i'm not able to point out which software uses the same port number.

    Where should i change the port number in server.xml file?
    See more | Go to post
No activity results to display
Show More
Working...