This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem in Struts 1

 
Soren Christensen
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic