954,554 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

redirecting action for ward

Hi,
Am setting a value in request objet like this:
request.setAtttribute("Hello","true");

Now i am redirecting to the action class: new RedirectingActionForward(request, url.getInwardRedirectURL());

In the redirected action class, am using this to retrieve value from request object: String example = request.getAttribute("hello").toString();

Am getting nullpointerexception..

Could anyone help me on this..!!

Narayanan87
Newbie Poster
6 posts since Dec 2008
Reputation Points: 10
Solved Threads: 0
 

Not much experience with Struts... Itd be better if you could post some more code...

stevanity
Posting Whiz in Training
293 posts since Oct 2010
Reputation Points: 43
Solved Threads: 28
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: