i have taken date month nd year in menu in simple jsp not javascript.i want whwenevr i click on feb date list automatically contain 28 or 29 days.please reply me in a day

The simplest version of calendar can be based on example provided with Tomcat installation JSP Examples->JSP 1.2 Examples->Calendar. Downfall is that you work across multiple pages from
-current month with year you can either

  • select next/previous month view
  • select a day of the month
    • you can go next/previous day
    • select time
      • set appointment on given time

However if you looking for something more compact you looking either to use custom tags or JavaScript

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.