This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Struts and the fly likes Struts2: Ajax loads full pages inside target divs!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts2: Ajax loads full pages inside target divs!!" Watch "Struts2: Ajax loads full pages inside target divs!!" New topic
Author

Struts2: Ajax loads full pages inside target divs!!

Raymond Holguin
Ranch Hand

Joined: Aug 11, 2009
Posts: 81








When i submit this button the loadingText message works fine and my action code is called, but after completion the SUCCESS is returned my "messageDiv" is filled with an entire webpage instead of the actionMessage im sending! Is there anyway i can just refresh that DIV with the message content returned from the action instead of the entire page?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts2: Ajax loads full pages inside target divs!!