File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Problem retrieving request attribute Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Problem retrieving request attribute" Watch "Problem retrieving request attribute" New topic

Problem retrieving request attribute

nick angel
Ranch Hand

Joined: Dec 14, 2005
Posts: 39
Hello to everyone. My current problem is probably simple, but it is something that I can not seem to solve.
We have a site that uses the template framework, as it still has not been upgraded to tiles.
I have an action class containing the perfom method that looks like the following:

I also have the following method:

The problem I am having is that the place where I try to access the attribute "message" is in one of the nested templates (within the general, overall template)
The value I always retrieve is null. If however I place it in sessionscope, I can retrieve it, but it is not what I wish to do.

Any help would be greatly appreciated. Thank you
I agree. Here's the link:
subject: Problem retrieving request attribute
Similar Threads
Multiple buttons in a form
DispatchAction coding problem ~~mod pls check this thread, display problem,tq
Dispatch Action Issue/Exception
i do not understand servlet request.setAttribute ~
Error: DispatchMapping[/login] does not define a handler property