This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes Problem in Struts 1 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 "Problem in Struts 1" Watch "Problem in Struts 1" New topic
Author

Problem in Struts 1

Soren Christensen
Greenhorn

Joined: Mar 11, 2010
Posts: 3
Hi

Is it possible to call a struts action from within a tag - meaning that the generated html from action is available to the tag.

In pseudo:

.. Do some work in the tag ...

... Call a action ..
... Action finished ...
... Assing generated output to a String variable ...

... Add value of String to the output from the tag ...

I've read that you can do this in Struts2 by using HttpServletResponseAware - but unfortunately we cannot upgrade right now, and as a result I'm seeking an alternative within Struts 1.

Thanks in advance.

/Søren
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem in Struts 1
 
Similar Threads
action chaining
Cannot retrieve mapping for action
Problem Dealing with Struts DispatchAction
can we able to create struts html tags dynamically from javascript?
Struts 2: Using 2 actions in one JSP