struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sreekanth S. Nair" <sreekanth.n...@egovernments.org>
Subject Re: 2.3.20 Bug with s:action or s:select tag
Date Tue, 16 Dec 2014 15:37:15 GMT
Hi Lukasz,
                 Could it be the same problem what i was facing about rest
plugin ?
Hi Roger,
               Don't know if you are using rest plugin, if so can remove
that plugin and try again ?

-- 
Thanks & Regards

Sreekanth S Nair
Java Developer
-------------------------------------------
eGovernments Foundation <http://www.egovernments.org>
Ph : 9980078913
-------------------------------------------
<http://in.linkedin.com/pub/sreekanth-s-nair/b/946/5a0/>
<https://github.com/sreekanthsnair>   <sreekanthsnair@hotmail.co.uk>
<sreekanthsnyr@gmail.com>
-------------------------------------------

On Tue, Dec 16, 2014 at 8:02 PM, Roger Varley <roger.varley@googlemail.com>
wrote:
>
> Oh bugger :( I've got actions failing all over the place - but strangely,
> not all of them. The config-browser plugin see's my configured namespaces,
> but lists no actions in any of them.
>
> Regards
>
> On 16 December 2014 at 16:23, Roger Varley <roger.varley@googlemail.com>
> wrote:
> >
> > Yes, I do. I've checked - and calling the action directly from the
> browser
> > gives the same response. The action code is below.
> >
> > Regards
> >
> > package com.blackbox.x.actions.admin;
> >
> > import java.util.List;
> >
> > import org.springframework.stereotype.Service;
> >
> > import com.blackbox.entities.db.Platform;
> > import com.blackbox.services.Services;
> > import com.opensymphony.xwork2.ActionSupport;
> >
> > @Service
> > public class ListPlatforms extends ActionSupport {
> >
> >     /**
> >      *
> >      */
> >     private static final long serialVersionUID = 7092585407905567102L;
> >     List<Platform> platforms;
> >
> >     public String execute() {
> >         platforms = Services.listAllPublishedPlatforms();
> >         return SUCCESS;
> >     }
> >
> >     public List<Platform> getPlatforms() {
> >         return platforms;
> >     }
> >
> > }
> >
> > On 16 December 2014 at 16:09, Lukasz Lenart <lukaszlenart@apache.org>
> > wrote:
> >>
> >> 2014-12-16 15:03 GMT+01:00 Roger Varley <roger.varley@googlemail.com>:
> >> > Referring to the log file, the dump was preceded by the following few
> >> lines;
> >> >
> >> > 16 Dec 2014 15:44:09     ERROR
> >> ActionComponent,"http-bio-8080"-exec-5:42 -
> >> > Could not execute action: /admin/list-platforms
> >> > There is no Action mapped for namespace [/admin] and action name
> >> > [list-platforms] associated with context path
> >> [/FaultmateGenesis-Server]. -
> >> > [unknown location]
> >> >
> >> > So it looks as if the change is with the s:action tag processing, or
> has
> >> > something else changed between 2.3.16.1 and 2.3.20 that I've missed?
> >>
> >> A lot ;-) That's the problem with .20 - too many changes :(
> >>
> >> Do you use the Convention plugin?
> >>
> >>
> >> Regards
> >> --
> >> Ɓukasz
> >> + 48 606 323 122 http://www.lenart.org.pl/
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> >> For additional commands, e-mail: user-help@struts.apache.org
> >>
> >>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message