Oracle Community Directory
Oracle Community FAQ
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
OTN Speaker Bureau
Please enter a title.
You can not post a blank message. Please type your message and try again.
This discussion is archived
on Mar 19, 2013 11:49 AM by PhHein
Access static file from apache to tomcat web applications
Mar 19, 2013 10:53 AM
I know that this is a Java forum, but still yiu guys can help me as I didn't got any answer in Apache forum. Hence please apologize.
I have my static files loaded in c:/apache/htdocs, I need to access that in my web application running in tomcat server.
In c:/apache/htdocs, i have an images folder with static images which I am accessing in my web application
In my web application i am accessing like
But using the above I am unable to access the image from the Apache. Whether we need to integrate Apache & tomcat using
mod_jk, what are the other configuration we need to provide for this work?
In httpd.config I have added the below:-
<VirtualHost <IP address>:80>
In tomcat web application I am accessing like:-
When access the 1.gif in my webapplication that image is not displayed? Is there any other config I need to do in apache web server?
I have the same question
Show 0 Likes
This content has been marked as final.
Show 1 reply
Re: Access static file from apache to tomcat web applications
Mar 19, 2013 11:49 AM
in response to
Please don't multipost!
Re: Access static files in apache from webapplication running in tomcat
: I'm locking this thread