Originally posted by Steve Dyke:
I need a user list on an input form that shows the possible directory names where a file will can be located in our network system.
Which part of this are you having a problem with? Generating the user list, getting the directory listing, or both? What server side technology are you using? Servlets/JSP?? You told us what you want to do but you told us nothing of your environment.
In that case...
I would generate the directory structure from a bean that generates HTML. Either in a jsp or a jsp tag (better).
The resulting html could be something like:
You can make this a tag and pass it the bean.
[ June 18, 2007: Message edited by: Garrett Smith ]
Are you using JSON, HTML, or XML?
if you are using HTML, you can insert some innerHTML from the success response.
This is a new teritory for me so I need help in collecting the list and then presenting the list since by the time the list is needed the app will be in client mode. I hope I make sense.
But my next challenge is how to get my servlet to return the array in a way that it will populate my list on my JSP.
There's no need to do the list processing on the client. Have your servlet forward to a JSP that will take the list and format into an HTML fragment that you can use on the calliing page via innerHTML.