No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I am trying to connect to Mysql from Jsp in Tomcat and I am getting Java.lang.NullPointer Exception. Please provide any help as soon as possible. I have set the web.xml and the server.xml properly. My web.xml contains: [code=xml]<description>MySQL Test App</description> <resource-ref> <description>DB Connection</description> <res-ref-name>jdbc/TestDB</res-ref-name> <res-type>javax.sql.DataSource</res-type> <res-auth>Container</res-auth> </resource-ref>[/code] server.xml I have … |
|
when i compile, it gives the following error : Undefined first referenced symbol in file main /auto/usc/gnu/gcc/4.2.1/bin/../lib/gcc/sparc-sun-solaris2.10/4.2.1/crt1.o ld: fatal: Symbol referencing errors. No output written to a collect2: ld returned 1 exit status Can anyone please tell as to what's going wrong here.[code]I have some code where i want to … |