File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes date display Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "date display" Watch "date display" New topic

date display

arjun rampal
Ranch Hand

Joined: Jul 08, 2005
Posts: 125


Now expected functionality -action code will take the dates from daatabse and show it to jsp page in date coulmn for last five days and corrosponding data.
Now suppose in last five day if it does not have date for two days then it should show those dates(those missing dates are not in dataabse) and other data as 0

present functionality-but due to logic not present code it is showing 0.

Any idea?

[Edited to add code tags - Paul Sturrock]
[ September 25, 2006: Message edited by: Paul Sturrock ]
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

Sounds like a Struts question. Moving...

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
I agree. Here's the link:
subject: date display
It's not a secret anymore!