File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes no working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "no working" Watch "no working" New topic

no working

Rajesh Veluchamy
Ranch Hand

Joined: Jan 15, 2008
Posts: 47
i don't know whether is not working for me only or for everyone...

the output is : "Hello! The time is now"

then what is the use of "<%= getDate() %>" code?

[ January 23, 2008: Message edited by: Bear Bibeault ]

-Rajesh.V<br /> Software Consultant
Bryce Martin
Ranch Hand

Joined: Nov 19, 2007
Posts: 269
it is a scriptlet that calls a date function and prints the date. I hope you get an A
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

When I run it, I see this:
Hello! The time is now Wed Jan 23 08:27:38 EST 2008

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63865

Please be sure to take the time to compose descriptive subjects for your posts; read this for more information.

"no working" is not a good or descriptive subject.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: no working
jQuery in Action, 3rd edition