Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Struts and the fly likes Request Attributes are getting lost Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Request Attributes are getting lost" Watch "Request Attributes are getting lost" New topic
Author

Request Attributes are getting lost

Himanshu Gupta
Ranch Hand

Joined: Aug 18, 2008
Posts: 598

I am using Struts with tiles with Dynaforms

In Action I am placing some objects in the request scope but in the page they are getting lost.

Here is the code snippet..

Action Class


JSP page


Here both are printing null

Thanks in advance.


My Blog SCJP 5 SCWCD 5
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

What is the forward mapping for the


[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
Himanshu Gupta
Ranch Hand

Joined: Aug 18, 2008
Posts: 598

It was redirect=true... I removed it and now its working fine...
Thanks for help..
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

Welcome
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Request Attributes are getting lost
 
Similar Threads
please help me to sove the GZIP exception
Not able to forward servlet to
Session expires ,user session expires when online
Need an attribute to be available in different places (SOLVED)
Help with this code!