This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Problem in Struts 1" Watch "Problem in Struts 1" New topic

Problem in Struts 1

Soren Christensen

Joined: Mar 11, 2010
Posts: 3

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.

Consider Paul's rocket mass heater.
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