integrate webpage with servlet