1
Latest Answer : In every Java program two threads will be activated.One is foreground thread (used for program execution).Second is background thread that is garbage collector. ...
Hiif user disabled the java script option availabe in web browser how do i enable it through program(except )
When we write JavaScript Code in the JSP Page from where the Java Script code will be executed by the Container
one from DATASoURCE second from DriverManager.getConnectionprogram using a DataSource and a PooledConnection is: import javax.naming.*;import javax.sql.*;...Context context = new InitialContext(); DataSource
Latest Answer : import java.sql.*;public class JDBC { connection con = DriverManager.getConnection("jdbc:odbc:url","scott","tiger"); } ...
1)what is main difference between EJB & RMI & SOCKET?2)what is difference between prepareStatement and Statement?
Can I write a return statement in the catch clause,which is followed by a finally block?Will the code compile?How is the code executed?
Hai to all, i have got a problem related to Threads in java. In our application we are using some 40 threads (ie they are used to send the request and fetch the values of the parameters of a particular device )The problem is that some of the threads are going into unknown state (we can say threads are getting hanged) but all the threads has to be run continuously with timers.Our application is using solaris9.0.Is there chance of the OS causing the problem of thread hanging?kindly mail ur comments
I have created one MVC architecture.But i am getting the error asHTTP Status 500 - --------------------------------------------------------------------------------type Exception reportmessage description
I have a program for send a mail using java.i have successfully compile the program in my local system. In runtime i need SMTP server name.if i send a mail means SMTP server need for my local system.otherwise how to check my SMTP server name.Help me please!