**I am passing value to a
servlet through URL through BufferedWriter.write().
sending code for calling servlet:
URL url = new URL("http://192.164.54.87:8080/ChatServlet/sendServlet");
URLConnection conn = url.openConnection();
conn.setDoOutput(true);
BufferedWriter out =new BufferedWriter(new OutputStreamWriter( conn.getOutputStream() ) );
out.write("param1="+param1+"¶m2="+param2);
out.flush();
out.close();
**And receiving values in dopost,but some of my characters are getting changed and are getting replaced by ?.
**Plz tell me if this is problem of servlets or request.getParameter().
**Also, in which form request.getParameter() read the parameter as Bytes or as characters.
Thanx