User Profile
Collapse
-
Thanks young. The link helped me out of my problem.... -
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... -
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
... -
Thanks a lot .. i'll try downloading drivers for my mouse
i'm using logitech wheel mouse....Leave a comment:
-
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... -
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... -
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...Leave a comment:
-
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 -
Instead of ae.getSource()= =b1 in 'if' condition
u try replacing with
ae.getActionCom mand().equals(b 1.getLabel())Leave a comment:
-
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? -
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);...Leave a comment:
-
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 classnameLeave 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?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 ..... -
-
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? -
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:... -
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?
No activity results to display
Show More
Leave a comment: