I'm working on an servlet based project where I found that in a place, a value is set using request.setAttribute("")
and in another place, that value is retrieved using request.getParameter("")
. Is this right?
I know the difference between the getParameter
and getAttribute
. But the retrieved value intermittently becomes null.