It is not about the sequence. Consider these as two different programs.
My question is if I am passing the Runnable job to class A (Thread), still it is not executing it class B.
If I dont override run in class A , both line will print B.?
Hi Bear,
Sorry about the misinterpretation of the question by me as my eyes skipped the part
<%
//This is where I want to use the value which is in the mobNo variable
%>
I thought he would be using the input value on the same page but not inside the jsp tags.
Hi,
you can use a hidden variable on the page and once the user entered value you can set the value of this hidden variable on the same jsp page.
eg. document.getElementById('variableid').value = mobNo;