Hi

Below is a code snippet in JSP

Code:
<form name="test">
<input name="fname" value="changeMe" onchange="AjaxCalling()"/>
</form>
Ajaxcalling() is a javascript function using ajax.
where i am sending a request to another JSP page, which will read the request parameter "changeMe".

AjaxCalling()
// sending request
Code:
ajaxObject.open("get", "second.jsp", true);
ajaxObject.send(null);
but in Second.jsp when i am trying to read request parameter
Code:
request.getParameter("fname");
It is giving NULL.

This works fine if i am not using ajax as below :
Code:
<form name="test" action="second.jsp" method="get">
<input name="fname" value="changeMe"/>
<input type="submit" value="submit"/>
</form>
Please help me out.

Thanks