This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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


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: 1517
    
    6
Try

Nilambari Brahma
Greenhorn

Joined: Apr 14, 2011
Posts: 6
Thank you very much ...It worked
And it was silly mistake
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Not able to set attribute in JSP
 
jQuery in Action, 3rd edition