I am using query string for sending parameter to other page in form action tag
but when I am fetching the value on the next page, it is showing null
and null
is stored in the database.
My code is as follows:
out.println("<html>");
out.println("<form action=SubmitTimesheet?manager="+manager+">");
and on the other page I am trying to fetch the value of parameter in following manner:
String manager=request.getParameter("manager");
out.println(manager);
But it is printing null
and further if I am trying to store the fetched value in database it is storing null.
Please help.