Re: Request Parameter not being set on Action

2017-08-02 Thread Rubens Gomes
I noticed that the request_locale was not found, and that's fine. However, the pageUrl was found in the HttpParameters and it is not being set on the action. Below is the Action class and struts.xml: @SuppressWarnings("serial") @Results( { @Result(name=Action.INPUT,

Re: xml validation with indexed properties.

2017-08-02 Thread Christoph Nenning
> I'm using struts and got issue with their xml validation framework. I have > form with some indexed properties where element is just plain String. And I > need make validation for it. I tried to use indexedListProperty for this > case, but it doesn't work and as I read in 'Struts in Action' it

Re: Request Parameter not being set on Action

2017-08-02 Thread Lukasz Lenart
2017-08-02 8:34 GMT+02:00 Rubens Gomes : > The request below is sent , but the parameters (request_locale/pageUrl) are > not set on the action. > > http://localhost:8080/change-locale.do?request_locale=en=%2Fview-login.do The "request_locale" parameter is a special

Re: Form not submitting, after migration

2017-08-02 Thread Lukasz Lenart
Could you post a generated html? 2017-08-01 22:21 GMT+02:00 sharmila thota : > Hello Lukas, > > That was just typo in email. But my code is having correctly. > Also I tried adding one more button on jsp and tried with click event. that > too did not work. > Here I am

Request Parameter not being set on Action

2017-08-02 Thread Rubens Gomes
The request below is sent , but the parameters (request_locale/pageUrl) are not set on the action. http://localhost:8080/change-locale.do?request_locale=en=%2Fview-login.do I am using the defaultStack which includes both the param and actionmapping interceptors. I am running Struts 2

Re: spring struts 2: Unexpected Exception caught setting 'lang' on 'class com.sun.proxy.$Proxy164

2017-08-02 Thread Rubens Gomes
I am back to *no* longer using the spring+struts plugin. I chose to have actions be created by the struts framework instaead to avoid issues. Sent from Outlook From: Christoph Nenning Sent: Monday, July 31, 2017 3:49 AM