[Opensource] Using simple Struts actions in Expresso
Lirian Ostrovica
lirian.ostrovica at senecac.on.ca
Fri Sep 6 13:10:27 PDT 2002
Yes, that's what I figured out meanwhile too.
Thanks Peter
Lirian
"Peter A. J. Pilgrim" wrote:
> 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/" />
>
> _______________________________________________
> Opensource mailing list
> Opensource at jcorporate.com
> http://mail.jcorporate.com/mailman/listinfo/opensource
> Archives: http://mail.jcorporate.com/pipermail/opensource/
More information about the Opensource
mailing list