Added sample servlets to test legacy api support