protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		// TODO Auto-generated method stub
		Convertors ut = new Convertors();
		String args[]=ut.SplitRequestPath(request);
		response.setContentType("text/html");
		//We are expecting /Math/Math/mult/1/2 or
		// /Math/Math/root/24
		PrintWriter out=null;
		out =	new PrintWriter(response.getOutputStream());
		
		if (args.length <3){
			error("Warning too few args",out);
			
			return;
			
		}
		int command;
		try{
		   command =(Integer)CommandsMap.get(args[2]);
		}catch(Exception et){
			error("Bad Operator",out);
			return;
		}
		System.out.println("Cammand"+command);
		float x;
		float y;
		try{
		   x=Float.parseFloat(args[3]);
		   y=Float.parseFloat(args[4]);
		}catch(Exception et){
			error("Bad numbers in calc",out);
			return;			
		}
		switch (command){
		   case 1: mult(x,y,out);
		          break;
		   case 2: div(x,y,out);
	          break;
		   case 3: add(x,y,out);
	          break;
		   case 4: sub(x,y,out);
	          break;
		   case 5: root(x,out);
	          break;
		   case 6: power(x,y,out);
	          break;   
		   default: error("Bad Operator",out);
		}
	}