aspose file tools*
The moose likes Struts and the fly likes Problem with iframe in struts 1.1 applicaton Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Problem with iframe in struts 1.1 applicaton" Watch "Problem with iframe in struts 1.1 applicaton" New topic
Author

Problem with iframe in struts 1.1 applicaton

chait vanka
Greenhorn

Joined: Oct 07, 2010
Posts: 2
Hi,

I am trying to call a struts action class from an iframe in one of the jsps. In the struts-config.xml, there are around 3 action mappings which use the same ActionForm. One of those action mappings is the action mapping that I call through the iframe tag.

I have defined the scope of action form to be in Session scope.

But when I actually call the action mapping from my iframe, the action form in the action class is null. I mean, it doesnt have any of the values that were being passed from the previous jsps.

Can someone please help me out on why the actionform values are getting null when I call action mapping through an iframe? Is there solution for this?

Thanks in advance...
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9303
    
  17

"Java Javas" please check your private messages for some administrative matter...


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
chait vanka
Greenhorn

Joined: Oct 07, 2010
Posts: 2
Hi,

I tried changing the name, but its not allowing me....It keeps giving me a message that "*" fields are mandatory eventhough I enter all the details. Can you please help me out with this?

Thanks,
Chaitanya
 
Consider Paul's rocket mass heater.
 
subject: Problem with iframe in struts 1.1 applicaton