champion
11-14-2001, 05:49 PM
I have a java servlet which is supposed to go into a certain directory called year which has a subdirectory dayOfYear. The dayOfyear directory has data files which are named from the first day of the year to 365 or 366 depending on if it is a leap year. This servlet is supposed to get all the years from the year directory and get all the dayOfYears from the dayOfYear directory and print out a certain year and all of its days. How would I be able to access these directories and files, manipulate there names as strings, and output a year and all of its days as a string.