Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Why request.getParameter() or request.getAttribute() won't return a value  RSS feed

 
Yogi More
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
My Question is when we pass some value say someURL?name=value.or we will add it request.setAttribute("name",value);
Now when i want to retrive the same vlaue using getParameter or Attribute
in the following senario
JSP --> Struts Action (here i am able to print it on console) --> new view(Here it always comes null)

Is it the case when we are on next view(second JSP) it is new request.

thanks in adv.

Yn

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!