Passed servlets and set index for rest projects