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
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
It's not a secret anymore!