you can configure Apache to do this for you using mod_proxy
In your apache conf add something like this
ProxyPass /appName http://localhost:8080/appName
ProxyPassReverse /appName http://localhost:8080/appName
http://httpd.apache.org/docs/current/mod/mod_proxy.html
With Tomcat you can also use mod_proxy AJP