public void doGet(HttpServletRequest req, HttpServletResponse resp) throws IOException 
	{
		/*Informs the SMS API that the request has been received*/
		resp.setStatus(HttpServletResponse.SC_OK);
		String number=req.getParameter("msisdn").toString();
		try{
			
			String request=req.getParameter("text").toString();
			request=URLDecoder.decode(request, "UTF-8");
			if(!request.equals(null))
			{
				String[] smsmsg=splitMsg(request, number);
				if(smsmsg[0].length()!=0)
				{
					if(smsmsg.length==1)
					{
						SendSMS(number, smsmsg[0]);
						if(smsmsg[0].equals("No vaccine found at the moment."))
						{
							storeSMS(req);
						}
					}
					else
					{
						String txt="";
						String txt2="";
						for(int x=0;x<smsmsg.length;x++)
						{
							txt+=smsmsg[x];
						}
						//take sms length into consideration
						int count=txt.length()/140;
						int count2=0;
						for(int x=0;x<txt.length();x+=140)
						{
							if(count2<count){
								txt2=txt.substring(x, x+140);
								SendSMS(number,txt2 );
							}
							else{
								txt2=txt.substring(x);
								SendSMS(number,txt2 );
							}
							count2++;
						}
					}
				}
			}
		}catch (Exception e){
			SendSMS(number, "There was a problem fulfilling your request, please try again later.");
		}
	}