What is the best way to get all JSON params in custom Interceptor to log them all in a custom logger ?

2017-03-23 Thread Snowball RC
Hi, I am trying to implement a custom Interceptor to have a global custom "security" logger in my web app. The target is to log all the datas sended to the server during update, save, delete etc... to have a custom logger for security reasons. In case of GET and POST (query string param or

Re: What is the best way to get all JSON params in custom Interceptor to log them all in a custom logger ?

2017-03-27 Thread Snowball RC
On 2017-03-23 14:28 (+0200), "Snowball RC"<craf@gmail.com> wrote: > > > On 2017-03-23 14:23 (+0100), Christoph Nenning > <christoph.nenn...@lex-com.net> wrote: > > > <christoph.nenn...@lex-com.net> wrote: > > > > Hi,

Re: What is the best way to get all JSON params in custom Interceptor to log them all in a custom logger ?

2017-03-23 Thread Snowball RC
o. > > Regards, > Christoph > > > > > From: "Snowball RC" <craf@gmail.com> > > To: <user@struts.apache.org>, > > Date: 23.03.2017 11:28 > > Subject: What is the best way to get all JSON params in custom > > Intercep

Re: What is the best way to get all JSON params in custom Interceptor to log them all in a custom logger ?

2017-03-23 Thread Snowball RC
equest inputstream. If > you > > > do so in your interceptor it is not available anymore to your actions > (or > > > struts json interceptor) so you must rewrite them, too. > > > > > > Regards, > > > Christoph > > > > > > > > &

Re: Load Message from database using ResourceBundle

2017-03-23 Thread Snowball RC
On 2017-03-23 16:05 (+0100), rifqiyusuf wrote: > I would like to retrieve database value from a table. > > let's say i have table_message that looks like this : > > | ID |KEY | MESSAGE | > | 1 | app.label1 | Your First Name | > | 2 |