Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to print the date in jsp by retrieving it from table

 
vijayendra sandeep vulligundam
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have inserted date in table but iam unable to retrive it...please help me to retrive that and dispaly it in a jsp...i have the query to retrive but i dont know how to get that date and print it in my jsp page.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64838
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Copy the dat our of the resultset and into a collection or other appropriate construct. In the page controller. set that data as scoped variable in request scope. You can then acces the scoped variable on the JSP via the EL and JSTL.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic