[ANN] [SECURITY] Struts Extras secure Multipart plugins GA - versions 1.1

2017-03-23 Thread Lukasz Lenart
The Apache Struts group is pleased to announce that the Apache Struts 2 Secure Jakarta Multipart parser plugin 1.1 and Apache Struts 2 Secure Jakarta Stream Multipart parser plugin 1.1 are available as a “General Availability” release. The GA designation is our highest quality grade. These

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

[ANN] [SECURITY] Struts Extras secure Multipart plugins GA - versions 1.1

2017-03-23 Thread Lukasz Lenart
The Apache Struts group is pleased to announce that the Apache Struts 2 Secure Jakarta Multipart parser plugin 1.1 and Apache Struts 2 Secure Jakarta Stream Multipart parser plugin 1.1 are available as a “General Availability” release. The GA designation is our highest quality grade. These

Re: RE: Struts upgrade issue

2017-03-23 Thread Gopal, Siva Prakash (US - Mechanicsburg)
Hi All, we have identified issues between radio button generation under RadioHandler.java under struts2-javatemplates-plugin-2.3.20 and struts2-javatemplates-plugin-2.3.32 struts2-javatemplates-plugin-2.3.20 for(Iterator itt =

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 Christoph Nenning
> wrote: > > Hi, > > > > AFAIK that is defined in servlet spec. Only parameters with content-type " > > application/x-www-form-urlencoded" are made available via getParameters(). > > The struts method you mentioned just forwards to according method of > >

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 Christoph Nenning
Hi, AFAIK that is defined in servlet spec. Only parameters with content-type " application/x-www-form-urlencoded" are made available via getParameters(). The struts method you mentioned just forwards to according method of servlet api. Your json data can only be read by consuming request

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
On 2017-03-23 14:04 (+0100), Christoph Nenning wrote: > Hi, > > AFAIK that is defined in servlet spec. Only parameters with content-type " > application/x-www-form-urlencoded" are made available via getParameters(). > The struts method you mentioned just

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
On 2017-03-23 14:23 (+0100), Christoph Nenning wrote: > > wrote: > > > Hi, > > > > > > AFAIK that is defined in servlet spec. Only parameters with > content-type " > > > application/x-www-form-urlencoded" are made available via

Load Message from database using ResourceBundle

2017-03-23 Thread rifqiyusuf
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 | app.label2 | Your Last Name| then I would like to get Your First Name band Your

RE: Struts upgrade issue

2017-03-23 Thread Gopal, Siva Prakash (US - Mechanicsburg)
Hi All, We have issue after upgrade to struts2-core-2.3.32 version Action Method : private List radioValueNum=new ArrayList(); public List getRadioValueNum() { if(!radioValueNum.isEmpty()){

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 |

Re: Load Message from database using ResourceBundle

2017-03-23 Thread Adam Brin
That’ll help in a few places, but technically you want a custom implementation of the TextProvider. A quick google search suggests: http://struts.1045723.n5.nabble.com/Stuts-2-and-Custom-TextProvider-td3494753.html -- _ Adam Brin Director