aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Calendar drop down possible in JSP? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Calendar drop down possible in JSP?" Watch "Calendar drop down possible in JSP?" New topic
Author

Calendar drop down possible in JSP?

Linda Thomas
Ranch Hand

Joined: Jun 21, 2004
Posts: 36
Some programs have a listbox to choose a date but when you click on it instead of getting a list of values a small calendar pops up and lets the user pick a date that way.

Is there a way to create this option for a JSP web application? It would be more elegant than a drop down box for month and day and year.

Thanks!!!
Linda
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

There's nothing specific to JSP. Something like this would need to be done on the client side with Javascript:

http://www.google.com/search?hl=en&q=javascript+calendar+popup&btnG=Google+Search


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
A good site with examples is: Dynamic Drive / calendar section

Eric
Dan Novik
Ranch Hand

Joined: Jan 26, 2005
Posts: 39
See for example here: http://www.servletsuite.com/servlets/caltag.htm
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Originally posted by Dan Novik:
See for example here: http://www.servletsuite.com/servlets/caltag.htm


IMO: I sure hope the maker of that makes it look presentable....ALl I can say is that is ugly!

Eric
 
Consider Paul's rocket mass heater.
 
subject: Calendar drop down possible in JSP?
 
Similar Threads
Calendar Popup via JCombobox
dynamic drop down
populate a drop-down listbox
Dates
Calendar in a jsp Page