customizing anchor w/freemarker

2008-10-01 Thread Fernandes, Filipe
I'm responsible for porting a web application to Struts2 and the original app had the concept of "enabled", "disabled", or "hidden" for its __web controls__. In Struts 2, it was relatively easy to mimic this behavior by simply creating freemarker templates to customize those controls that neede

need to create servlet

2008-11-26 Thread Fernandes, Filipe
We're working on a struts 2 application in Websphere and the plan is to serve static content via the IBM Http Server while all other requests are forwarded to the application server. We're having trouble forwarding action requests to the app server, but there's an FAQ that describes what needs

RE: need to create servlet

2008-11-26 Thread Fernandes, Filipe
Filipe Fernandes wrote: > The question is, how do we create a separate server context root for > *.action in order to get rid of the filter mappings in the web.xml? Any > hints would be appreciated... I forgot to mention that a LaunchServlet example is available in the following webpage, but the e

need post operation after action.

2008-05-06 Thread Fernandes, Filipe
I used wildcard mapping to define several methods that may be called for a struts action class. But each of those methods contain duplicate lines of code that need to be called before the method returns. Is there a way in struts to wire up a post operation after the action method (whichever it ha