Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

calender

 
Rinky Deshmukh
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to create a calender in jsp
 
Stephen Huey
Ranch Hand
Posts: 618
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic