collecting my servlet codes