deleting former PHP syntax, tried to use servlets.