Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Not able to set attribute in JSP

 
Nilambari Brahma
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have a strange problem, I am accepting some values from simple html and using getParameter() in the form loaded JSP page. Here I can read parameter, but here I am setting this parameter value as an attribute value and getting this in other JSP. but at the end it's not showing any NullPointerException but value which i get in my result page is always NULL.
for more clarity sticking code.


//GetName.html


//SaveName.jsp



//NextPage.jsp


Kindly help as early as possible
 
Stefan Evans
Bartender
Posts: 1822
10
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try

 
Nilambari Brahma
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much ...It worked
And it was silly mistake
 
This will take every ounce of my mental strength! All for a tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!