Hello to all,
I am trying to send an object from one jsp to another jsp through request object, I donot want to use hidden parameters. I tried "request.setAttribute(name,object)" in jsp but unable to get the same value on second page.
Also I have tried a simple example similar as shown below
first.jsp
second.jsp
but I get output as
but from servlet it works fine. I thing we cannot set attribute in jsp page. So suggest me how can I pass the parameter to next page after clicking on the submit button?
Thanks in advance.
I am trying to send an object from one jsp to another jsp through request object, I donot want to use hidden parameters. I tried "request.setAttribute(name,object)" in jsp but unable to get the same value on second page.
Also I have tried a simple example similar as shown below
first.jsp
second.jsp
but I get output as
but from servlet it works fine. I thing we cannot set attribute in jsp page. So suggest me how can I pass the parameter to next page after clicking on the submit button?
Thanks in advance.