Author
getting the current date and formatting it.
Robin John
Ranch Hand
Joined: Sep 10, 2008
Posts: 270
Hi,
I want to show the current date in my jsp. How to achieve that using the default tag libraries ?
currently I'm using
but when I include the following in my jsp it gives "Cannot find the tag library descriptor for "http://java.sun.com/jsp/jstl/fmt" error.
but it works. How does it work even if its giving me the error ?
Time is what we want the most, but what we use the worst. -- William Penn
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56185
How can it work and give you an error at the same time?
[Smart Questions ] [JSP FAQ ] [Books by Bear ] [Bear's FrontMan ] [About Bear ]
Robin John
Ranch Hand
Joined: Sep 10, 2008
Posts: 270
Hi Bear,
It gives me an error in eclipse :( but when I refresh my web page it gives me the value. attached screen shots for the error. Thanks a lot for responding.
jsp error.JPG
working page.JPG
webpage error.JPG
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56185
Please reveal when it's an IDE error. Obviously, the IDE is wrong. :rolleyes:
subject: getting the current date and formatting it.