[Opensource] Using simple Struts actions in Expresso

Peter A. J. Pilgrim peterp at xenonsoft.demon.co.uk
Fri Sep 6 11:59:53 PDT 2002


Lirian Ostrovica wrote:
> Hi,
> 
> I am trying to use a straightforward Struts action (instead of a Controller).
> 
> I wrote my Action and declared it in the struts-config.xml.
> When I call this action from a browser, I only get a blank screen and the
> view source shows:
> 
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META http-equiv=Content-Type content="text/html;
> charset=windows-1252"></HEAD>
> <BODY></BODY></HTML>
> 
>>From what I can see, the execute() method of my Action does not get called at
> all.
> Does ExpressoActionServlet which handles the request, create this problem?.
> Help is appreciated
> 
> thanks
> 
> Lirian


In the current Expresso 4.1 only supports Struts 1.0.2
which has the `performAction()' . Struts 1.1 beta
is the one that deprecates `performAction' and introduces
`execute' this is the reason  most likely.

-- 
Peter Pilgrim         +-----\ +-++----++----+
Java Technologist     |     | | ||    ||    | 'n' Shine
                       |  O  | | ||  --+| ---+
         /\            | ._  / | | \  \ |    |
        /  \           | | \ \ | |+--  || ---+ A new day
       /_  _\  "Up"    | | | | | ||    ||    | is coming
         ||            +-+ +-+ +-++----++----+
<home page="http://www.xenonsoft.demon.co.uk/" />




More information about the Opensource mailing list