4
votes
Create tomcat war file from static web dir
With Tomcat 7 and newer you don't even need a web.xml
Just zip your index.html file or wharever resources you need.
Rename the mini.zip to mini.war and thats it.
mini.war
--index.html
2
votes
Accepted
Tomcat to hadle only JSP - Apache proxy not working as expected
ProxyPass cannot be used like that. It's more like a Location, forcing that a certain path (and everything under it) must be directed to a remote server. An extension should be matched with ...
1
vote
Accepted
Java multiple HttpSession IDs for the same user
I have solved this modifying some config files in NGINX and Tomcat.
In NGINX, I have deleted the proxy-cache lines I've written in the server configuration.
In Tomcat, I have set context.xml as ...
1
vote
Jquery/Javascript not working when accessing webpage through system IP instead of localhost
This may due to the group policy of your company for forcing Intranet sites using a specific version of IE in compatibility mode. I experienced exactly the same issue when I introducing some IE10+ ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
jsp × 45tomcat × 28
java × 16
apache-2.2 × 10
tomcat6 × 5
web-server × 3
mod-jk × 3
linux × 2
nginx × 2
cache × 2
hosting × 2
tomcat7 × 2
weblogic × 2
servlet × 2
ubuntu × 1
windows-server-2008 × 1
php × 1
debian × 1
ssl × 1
windows-server-2003 × 1
apache-2.4 × 1
azure × 1
permissions × 1
docker × 1
reverse-proxy × 1