link through java servlet
modify build script for easy war file generating