Doug Bell wrote:The concept of thread safe is simply that the program state (fields/objects/variables) behaves correctly when multiple simultaneous threads are using a resource.
It's perhaps more useful to look at what it means to not be thread safe. Code is not thread safe when it performs an operation that relies on the underlying state not being changed by another thread without guaranteeing that the state cannot be changed by another thread.
Vani Jay wrote:I am referring to a file and not importing.
but the code I am working from example says like this. So I don't understand where the Import is coming from? Any thoughts?
Vani Jay wrote:import com.actionRegistrationaction;
public static int register(Registrationaction jjform)
Caused by: java.net.ConnectException: Connection timed out: connect
java.sql.SQLRecoverableException: IO Error: The Network Adapter could not establish the connection`enter code here
Ralf Coby wrote:Yeah, that's what i wanna want to do.
The problem is, that my cipher-bytearray only accepts 128 fields.
So, I first tried to save the "128 fields" in an Arraylist, which should be one package.
Like: b.get(0) is equals to byte.
Mo Alexwainy wrote:Also, the below js runs anytime in my servlet whenever i execute it. It does not run at anytime later on.
out.println("document.getElementById('myBody').innerHTML = '';");
omar tawfeek wrote:can you give me an example how to get difference between date using Jdatechooser , when i always subtract date 2 to date 1 , i always get an error saying date cannot be converted to int .
also can JTable1.getValueAt method get the date format from table or it can only get number values ?