struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Murat Balkan <murat.bal...@ericsson.com>
Subject RE: Disabling Struts warning messages in the console
Date Fri, 19 Feb 2016 14:38:48 GMT
Hi,
It seems I will go with Lukasz's solution as I only want to suppress no action found kind
of messages.
Thanks a lot for all the answers.
Murat

-----Original Message-----
From: Łukasz Lenart [mailto:lukasz.lenart@gmail.com] 
Sent: Friday, February 19, 2016 3:38 AM
To: Struts Users Mailing List
Subject: Re: Disabling Struts warning messages in the console

You can define such action or use <default-action-ref/> and return custom 404.action

(mobile)
17 lut 2016 21:46 "Murat Balkan" <murat.balkan@ericsson.com> napisał(a):

> Hi,
> I'd like to disable the warning messages in the console log 
> (catalina.out) like
>
> WARNING: Could not find action or result: /prepOrder.do?code=PNG There 
> is no Action mapped for namespace [/] and action name
>
> These visits are generated by the bots and they are trying to reach a 
> previous action that does not exist anymore.
>
> How can I do this?
>
> Thanks
> Murat
>
Mime
View raw message