Subversion Repositories SmartDukaan

Rev

Rev 11959 | Rev 11961 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 11959 Rev 11960
Line 659... Line 659...
659
		nameValuePairs.add(new BasicNameValuePair("password",
659
		nameValuePairs.add(new BasicNameValuePair("password",
660
		"snapsaholic"));
660
		"snapsaholic"));
661
		nameValuePairs.add(new BasicNameValuePair("_eventId","submit"));
661
		nameValuePairs.add(new BasicNameValuePair("_eventId","submit"));
662
		nameValuePairs.add(new BasicNameValuePair("execution",ex));
662
		nameValuePairs.add(new BasicNameValuePair("execution",ex));
663
		nameValuePairs.add(new BasicNameValuePair("lt",lt));
663
		nameValuePairs.add(new BasicNameValuePair("lt",lt));
664
		//nameValuePairs.add(new BasicNameValuePair("submit","LOGIN"));
664
		nameValuePairs.add(new BasicNameValuePair("submit","LOGIN"));
665
		post.setEntity(new UrlEncodedFormEntity(nameValuePairs,"utf-8"));
665
		post.setEntity(new UrlEncodedFormEntity(nameValuePairs,"utf-8"));
666
		response = client.execute(post);
666
		response = client.execute(post);
667
		rd = new BufferedReader(new InputStreamReader(response.getEntity().getContent()));
667
		rd = new BufferedReader(new InputStreamReader(response.getEntity().getContent()));
668
		line = "";
668
		line = "";
669
		while ((line = rd.readLine()) != null) {
669
		while ((line = rd.readLine()) != null) {