File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Problem retrieving request attribute Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "Problem retrieving request attribute" Watch "Problem retrieving request attribute" New topic
Author

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: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Problem retrieving request attribute
 
Similar Threads
Multiple buttons in a form
Error: DispatchMapping[/login] does not define a handler property
i do not understand servlet request.setAttribute ~
Dispatch Action Issue/Exception
DispatchAction coding problem ~~mod pls check this thread, display problem,tq