Tag: MacPorts/tomcat6
$ sudo port install tomcat6
<html> <head><title>test</title></head> <body> <h1>test</h1> <% out.println(System.getProperty("java.home")); %> </body> </html>
sudo port tomcatctl start
sudo port tomcatctl stop
sudo port load tomcat6
export JAVA_OPTS='-Dfile.encoding=UTF-8'