fix a bug that cause error 405 when get a servlet