jQuery in Action, 3rd edition
The moose likes HTML, CSS and JavaScript and the fly likes Adding a Calendar Control Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Adding a Calendar Control" Watch "Adding a Calendar Control" New topic

Adding a Calendar Control

Steve Dyke
Ranch Hand

Joined: Nov 16, 2004
Posts: 1559
What is the best way to add a Calendar to my JSP
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13035
What functionality is the Calendar expected to have?

Is there an example somewhere you are trying to emulate?

Can you make a static (not generated by JSP) HTML page with a Calendar as a prototype?

Steve Dyke
Ranch Hand

Joined: Nov 16, 2004
Posts: 1559
In an input form I have several date fields. I thought it would be easier on the user to have a calendar popup to choose a date from rather thn typing it in.
ujjwal soni
Ranch Hand

Joined: Mar 28, 2007
Posts: 403

You can use javascript to embed a calender on your pages.


Ujjwal Soni

Ujjwal B Soni <baroda, gujarat, india> <+918866008962>
"Helping hands are better than praying lips......"
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

As ujjwal soni has mentioned, this is something that is better done in Javascript.
Moving to our HTML/Javascript forum.

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

Joined: Nov 08, 2001
Posts: 15385
Take a look at DynamicDrive.com or JavaScriptKit.com and find one that meets your needs.

Daesung Park
Ranch Hand

Joined: Mar 22, 2007
Posts: 68
There are many libraries. I prefer YUI.

Daesung Park

D Rog
Ranch Hand

Joined: Feb 07, 2004
Posts: 472

Considering that Yahoo will be Microsoft soon, you can just borrow an implementation from hotmail calendar. I really like its L&F.

Retire your iPod and start with HD Android music player Kamerton | Minimal J2EE container is here | Light weight full J2EE stack | and build tool | Co-author of "Windows programming in Turbo Pascal"
I agree. Here's the link: http://aspose.com/file-tools
subject: Adding a Calendar Control
It's not a secret anymore!