Fixed some broken links on tomcat7
Fixed editing permissions