It's not a secret anymore!
The moose likes JSP and the fly likes JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "JSP" Watch "JSP" New topic
Author

JSP

Ganapathy palanisamy
Greenhorn

Joined: May 29, 2008
Posts: 22
HOW TO DISPLAY THE CURRENT MONTH AND PREVIOUS MONTH BY READING THE SYSTEM USING JSP?
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 32481
    
214

Please don't post in all caps. It is considered shouting on the internet. Also, try to use a descriptive subject for your post to make it more likely someone will read it quickly. This whole forum is about JSP.

Have you looked at the Calendar class in Java? It can get you the current date and do calculations (like subtract a month.)


[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Ganapathy palanisamy
Greenhorn

Joined: May 29, 2008
Posts: 22
thank you sir.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 63211
    
  69

Please edit the subject as directed.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

And the message.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: JSP
 
It's not a secret anymore!