wood burning stoves 2.0*
The moose likes JSP and the fly likes Not able to set attribute in JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
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: 1016
Try

Nilambari Brahma
Greenhorn

Joined: Apr 14, 2011
Posts: 6
Thank you very much ...It worked
And it was silly mistake
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Not able to set attribute in JSP
 
Similar Threads
I got http-500 error in servlet and jsp.how to find error?
include directive doesn't work
http error404
give another jsp to action
Could not find action or result