• Post Reply Bookmark Topic Watch Topic
  • New Topic

Simple Date and Time picker in JSP  RSS feed

 
khadar valli
Greenhorn
Posts: 26
Java MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

Please help me in adding date and time picker to a JSP. I really don't have any idea for implementing.

Thanks,
Khadar.
 
Tim Moores
Saloon Keeper
Posts: 4024
94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's really an HTML/JavaScript issue - the fact that the page was created by a JSP makes no difference.

Start by picking an existing date picker and check how it works, maybe something like http://jqueryui.com/datepicker/
 
Liutauras Vilda
Sheriff
Posts: 4917
334
BSD
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, welcome to the Ranch.

I believe you'll have to provide more details on what have you tried and where you stuck at. Currently your provided information isn't sufficient, so don't expect to get much of a help if any, based on that.
 
khadar valli
Greenhorn
Posts: 26
Java MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Vilda,

Actually my requirement is to take the date and time from the user. As of now i had used text field for this. but i wanted to make it easier by using date and time picker. I am not aware of this implementation. I wanted to know the process to achieve this.

Thanks,
Khadar.
 
khadar valli
Greenhorn
Posts: 26
Java MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tim Moores wrote:That's really an HTML/JavaScript issue - the fact that the page was created by a JSP makes no difference.

Start by picking an existing date picker and check how it works, maybe something like http://jqueryui.com/datepicker/



Thanks @Moores, But I want to accept both date and time as well.

Thanks,
Khadar.

 
Tim Moores
Saloon Keeper
Posts: 4024
94
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That was just an example. Search for "Javascript date time picker" and you'll find plenty.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!