[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Mapping a URL to a local store

yj4jboss do-not-reply at jboss.com
Fri Sep 28 09:07:42 EDT 2007


Hi all,
   I am using jboss 4.0.5 and need to provide a repository where all my files are uploaded. For example "C:/myrepo/".

>From my web application, i need to display images contained in this repo. 

How can i map a url from within my web app context so that this link is correctly mapped onto my path on my local repository.


For example:


  | <img src="http://192.168.2.111:8080/mywebapp/repo/jboss.gif">
  | 


should correctly display the picture found at C:/myrepo on the server 192.168.2.111.


Please help 


Regards,
Jankee Yogesh
M-ITC LTD


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

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



More information about the jboss-user mailing list