[jboss-user] [Beginners Corner] - Re: IMG not displaying the image

jklanka do-not-reply at jboss.com
Tue Oct 3 00:50:16 EDT 2006


Hi peterJ,

Thanks a lot for the link and I got to know about Handling  Serving External File with JBOSS 4.0.2

I placed the following code between "Hosts" Tag of server.xml file within the "/home/jboss/jboss_home/server/default/deploy/jbossweb-tomcat55.sar" path

<!-- Add Static image Files-->
  | <Context path="/artworks" appBase=""
  | docBase="/home/jboss/fpartworks"
  | debug="99" reloadable="true">
  | </Context>

Then it works. 

I used in my JSP page as <IMG src="/artworks/xxxxx.jpg"...

Thanks again



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975657#3975657

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975657



More information about the jboss-user mailing list