• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Displaying local time using jstl tags

 
krish chaitu
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
[ October 11, 2007: Message edited by: krish chaitu ]

I have to get timestamp & date from my server when user opens the web page that we are going to design.

please help me with a code sample that i can use & use jstl to call the class & display the date & timestamp.

Thanks in advance
krish

[ October 11, 2007: Message edited by: krish chaitu ]
[ October 11, 2007: Message edited by: krish chaitu ]
 
Paul Clapham
Sheriff
Posts: 20980
31
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The tag has a "timeZone" attribute you can use for that.
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch!

This forum might not be your best choice for a serious question.

We have a JSP forum that might be better for JSTL topics. Maybe one of the nice moderators here will move it for you...
[ October 11, 2007: Message edited by: marc weber ]
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64717
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Or even one of the mean ones!
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic