I am newbie trying to develop a mobile application to access a web application through a Servlet but the program hands up middle way. The code for the classes I am using are:-

Sample1.java


...