variable test in servlet