wired servlet and transferred to mvc