This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes displying multiple images in jsp page using struts 1.3 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "displying multiple images in jsp page using struts 1.3" Watch "displying multiple images in jsp page using struts 1.3" New topic
Author

displying multiple images in jsp page using struts 1.3

Sidhartha Ray
Greenhorn

Joined: Jul 04, 2012
Posts: 29
Hi all,
I want to display multiple images in jsp page which are present in my local machine, say D:\images folder(but not in the application context) using struts 1.3.
Can anybody give me the solution for it............
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8836
    
    7

You could write a servlet which can load files from the file system and point your image URL to that servlet, however you must take care to insure that a malicious user cannot access system files.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: displying multiple images in jsp page using struts 1.3
 
Similar Threads
how to display multiple images in jsp from database
Struts 1.3 Database
struts tutorial
How can read data from DB
Display Images using Struts