aspose file tools
The moose likes JSP and the fly likes Not able to set attribute in JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "Not able to set attribute in JSP" Watch "Not able to set attribute in JSP" New topic
Author

Not able to set attribute in JSP

Nilambari Brahma
Greenhorn

Joined: Apr 14, 2011
Posts: 6
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

Joined: Jul 06, 2005
Posts: 1005
Try

Nilambari Brahma
Greenhorn

Joined: Apr 14, 2011
Posts: 6
Thank you very much ...It worked
And it was silly mistake
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Not able to set attribute in JSP
 
Similar Threads
include directive doesn't work
I got http-500 error in servlet and jsp.how to find error?
http error404
Could not find action or result
give another jsp to action