InputStreamReader in doGet servlet
<p>i am trying to send parameters (int and string) to servelet doGet method and use with InputStreamReader like:</p>

<pre><code>protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {

        HttpSession UserSession = request.getSession();
        InputStreamReader isr = new InputStreamReader(request.getInputStream());
        BufferedReader br = new BufferedReader(isr);
        //Get all content from the buffer
        String bufferContent = br.readLine();
</code></pre>

<p>But for some resone its not working.
When I tried to use with doPost its work.</p>

<p>What can i do to solve it?</p>