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 setAttribute doesnot work during Forward action 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 "setAttribute doesnot work during Forward action" Watch "setAttribute doesnot work during Forward action" New topic
Author

setAttribute doesnot work during Forward action

m nevetha
Greenhorn

Joined: Apr 24, 2009
Posts: 3
Hi All,

I am working on an application where in action1 I set an attribute, and the forward takes us to a jsp and i try to access the attribute using getAttrbute set in action1.

But I get a traceback.

Code snippet in action1


In struts-config.xml



In finance.jsp




But am getting a traceback.. Can anyone help me out

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: setAttribute doesnot work during Forward action
 
Similar Threads
How to forward to Action class
Struts - Forwarding to another Servlet
navigation problem
Struts forward question
Forward to new action during the execution of another action