struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roger Varley <roger.var...@googlemail.com>
Subject Re: 2.3.20 Bug with s:action or s:select tag
Date Tue, 16 Dec 2014 14:32:44 GMT
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