Related to Thread.

Hello everbody,

This a a part of my application code. There is a return statement, what I want is to view the value of the 'dWord' before returning, I know this is not possible with the code and I know I have to use Thread.sleep() for the purpose so that to stop the execution of the program for some period of time. Can you please tell me what to do and how to do it?

{

GenerateUrlBean sp = (GenerateUrlBean)form;

sp.seturl(dWord);

System.out.println("The generated Url is:"+dWord);

return mapping.findForward("success");

}

Please advice,

Thank you

[749 byte] By [Zorama] at [2007-11-27 11:46:34]
# 1

Either use System.out.println, or use a debugger.

jverda at 2007-7-29 18:08:18 > top of Java-index,Java Essentials,Java Programming...
# 2

Whatever w = mapping.findForward("success");

System.out.println(w);

return w;

CeciNEstPasUnProgrammeura at 2007-7-29 18:08:18 > top of Java-index,Java Essentials,Java Programming...