• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

calender

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
how to create a calender in jsp
 
Ranch Hand
Posts: 618
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JSPs make use of Java, so here are the Javadocs for a couple of particularly useful classes called Calendar (abstract) and GregorianCalendar:

http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html

http://java.sun.com/j2se/1.4.2/docs/api/java/util/GregorianCalendar.html

Those are quite informative, but samples of their use can be found with Google in a heartbeat:

http://www.jguru.com/forums/view.jsp?EID=1157973

http://www.rgagnon.com/javadetails/java-0105.html

This explains a ton about the use of Calendar, especially if you need to understand more about international date and time info:
http://oss.software.ibm.com/icu/docs/papers/international_calendars_in_java.html
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic