• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

getting the current date and formatting it.

 
Robin John
Ranch Hand
Posts: 281
Eclipse IDE Java Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64205
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can it work and give you an error at the same time?
 
Robin John
Ranch Hand
Posts: 281
Eclipse IDE Java Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
[Thumbnail for jsp error.JPG]
working page.JPG
[Thumbnail for working page.JPG]
webpage error.JPG
[Thumbnail for webpage error.JPG]
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64205
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please reveal when it's an IDE error. Obviously, the IDE is wrong. :rolleyes:
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic