prepare for spring mvc