page « Folder « JSP-Servlet Q&A





1. Page Displays server directory listing    coderanch.com

I have just created a page that upon pressing a button submits a form and returns to same to display again teh same contents. After my changes the page instead of showing again the values is showing the directory listing of files in the same location. I have tested same and I am sure that after pressing teh button, it is ...

2. JSP page import - Directory setup    coderanch.com

5. how to retrieve image in jsp page from a seperate folder.    coderanch.com

hello everybody, I am in an acute problem, i will be grateful if anyone can help me. i need to display image in the ".jsp" page. i have created a folder called "image" in the web folder of my project. in the image folder i am storing all the image. in my database there is one column "ma_image", here i am ...

6. Display All images from a folder on a html/jsp page    coderanch.com

Paul Clapham wrote:In the servlet which deals with the model, just read through the files in that folder and convert the list of files to a List of URL objects. (To do this you would have to arrange things so that files in that folder can be served directly by your HTTP server.) Put the List of URL objects into a ...