about current date display in jsp file(label or text box)

hello experts, i am new to Java studio creator..i want to show the current date and time in the static text box or text field....please help me.. thanks in advance......
[183 byte] By [mestoganesha] at [2007-11-26 23:43:07]
# 1
Hi!Try something like:staticText1.setValue(new GregorianCalendar().getTime());Thanks,Roman.
-Grif-a at 2007-7-11 15:12:45 > top of Java-index,Development Tools,Java Tools...
# 2
Thank you, It works fine...
mestoganesha at 2007-7-11 15:12:45 > top of Java-index,Development Tools,Java Tools...