Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using DatePicker in JSP

 
RaviNada Kiran
Ranch Hand
Posts: 528
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have a start Date and End Date in my screen .So i had used Date Pickers written in JavaScript for this .

Copied from this site : webpage

How should i extract this Date in my Servlet ? How to use SimpleDateFormat?

 
Vinoth Thirunavukarasu
Ranch Hand
Posts: 164
Android Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is the example will be help you.
example
 
RaviNada Kiran
Ranch Hand
Posts: 528
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Vinoth , really valuable information, once again thanks a lot.

 
RaviNada Kiran
Ranch Hand
Posts: 528
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One ore doubt is that will the Date Pickers in javascript will be producing Date Format or String Format??
 
saumil baxi
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use Jquery Date Picker. I find it very nice

http://docs.jquery.com/UI/Datepicker
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64629
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moved to the HTML/JavaScript forum.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64629
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The jQuery date picker is rather nice and very easy to use. It instruments a normal input text field so dealing with it on the server is the same as dealing with any other text field. The date format can be specified to be anything you want.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic