[Java] Web programming sample code.