Revert "Revert "Communicated with the jsp and servlet""

This reverts commit 5f26b08b296d3a13f857aed9ce086090bede1105.