implementing fetch servlet