loading folders name in a combo box.
Posted on 2003-11-10
In a jsp page i am storing a value in a varaible name month ie,
String month = request.getParameter("MONTH");
here i'm getting the value like jan,feb...dec.
In some path eg: e:/reports ... I'm having a bunch of reports with folder strutures like
here 20030705 is year month date .. 2003 is year 07 is month and last one 05 is date..
like that 121212 is hour min sec...
What i have to do is...
After i get jul(for july) in a month variable , i have to get all the folders name which is created on july (only 4 in the above 6) and load it in a combo box so that after submit for a particulat date ...say 20030705 .. i have to load the time (here we have two time folder for that date ) in a combo box and ask the user to select the particular time folder .
Can any one help me ...
Thanks in advance..