• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

displying multiple images in jsp page using struts 1.3

 
Sidhartha Ray
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 9266
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic