This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSP and the fly likes Maintain monthly data in a Quarter Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Maintain monthly data in a Quarter" Watch "Maintain monthly data in a Quarter" New topic
Author

Maintain monthly data in a Quarter

Satish Nair
Greenhorn

Joined: Apr 04, 2012
Posts: 23
Dear All,

I am making a form in jsp where i want to maintain the data of students in a financial year.
For that i have 4 Quarters.In each Quarter i have 3 months.Is it right to make an ArrayList of each quarter.

eg.
ArrayList Quarter1=new ArrayList();

If ArrayList is the correct option then how do i add months into the ArrayList.
Any help would be highly appreciated.
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30138
    
150

You mention JSP. Are you trying to create the HTML form? If so, no ArrayList required. Or are you trying to process the data somehow?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Maintain monthly data in a Quarter
 
Similar Threads
ArrayList does it maintain order
Returning ArrayList from servlet to jsp
Regards Hashtable
What Happened to the Visitor Counter on JavaRanch
Which Collection Data Structure to be used