외부DB를 쓰기위해 일단 안드로이드에서 jsp로 값을 POST방식으로 넘기고 있습니다.


안드로이드

--------------------------------------------------------------------------------------------------------

HttpClient client = new DefaultHttpClient();  

       String postURL = "http://115.22.196.35:8099/MySQL/test.jsp";

       HttpPost post = new HttpPost(postURL); 

       ArrayList<NameValuePair> params = new ArrayList<NameValuePair>();

       params.add(new BasicNameValuePair("id_", "ptext"));

       //params.add(new BasicNameValuePair("pass", "xyz"));

       UrlEncodedFormEntity ent = new UrlEncodedFormEntity(params,HTTP.UTF_8);

       post.setEntity(ent);

--------------------------------------------------------------------------------------------------------

jsp

--------------------------------------------------------------------------------------------------------

String ptext = request.getParameter("id_");

out.println(ptext);

--------------------------------------------------------------------------------------------------------

이렇게 하면 출력값이 null로 뜹니다..

이거때문에 계속 밤새고 있습니다. ㅠㅠ 죽겠습니다. 고수님들 도와주세요..ㅠㅠ

참고로 INTERNET 퍼미션은 주었습니다. ㅠ