I've problem with my app, I don't know how to create dynamic structure of files on web using visual server pages (netbeans).
First thing that I wanted to implement it's to make table that holds all names of files and links to them, but it's really last thing that I wanted to achieve. There is no other option for that? like it was in php? dynamic code - for example if I've 5 files in folder this application just show me list of files with automatic hyperlinks? or I suppose to throw away visual page and create normal jsp + servlet with loop? how to deal with visual page in that case?
Bauke Scholtz wrote:If those files are exposed public, you need to enable directory browsing in the appserver configuration. Most appservers have it by default enabled. Consult the appserver's documentation for details.
About that "like it was in PHP", that is in any case also a webserver configuration setting. Apache HTTP server also supports that stuff.
ok, but how to demonstrate files on web? files are not static..., I can read them by dir command but there suppose be method to show this names on web created in automatic way (all components in visual web page are fixed to layout).