Peter Johnson [https://community.jboss.org/people/peterj] created the discussion

"Re: How do dynamically load the images in JBoss AS 7"

To view the discussion, visit: https://community.jboss.org/message/730311#730311

--------------------------------------------------------------
I would do this by defining a system property which you can use to define the 
directory containing the images. I would write a servlet that uses the 
directory location and image file name, opens the image file and writes it to 
the repsonse output. The servlet will also have to change the response mime 
type to correspond to the image type.
Search the net for "return image from servlet", there are lots of examples.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/730311#730311]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to