Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

printining the values

843838Sep 13 2005 — edited Sep 13 2005
Hello all i have a variable called ct defined in a javascript method.in the same method i use system.out.println which is just for debugging purpose which prints the details in the console..

i wan to print this variable along with system.out.println .how can i do that

when i say llike this it gives me a error
<script language="javascript">
function clock()
{
var  ct;
.......
....
<%
 System.out.println(" the value is "+ct );

%>
it gives me error how do i print ct

thanks in advance
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 11 2005
Added on Sep 13 2005
3 comments
78 views