File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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: 8935
    
    9

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]
 
 
subject: displying multiple images in jsp page using struts 1.3