Changed attributes to be passed in to servlet as request attributes.