Request Parameter not being set on Action

2017-08-01 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&pageUrl=%2Fview-login.do I am using the defaultStack which includes both the param and actionmapping interceptors. I am running Struts

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

2017-08-01 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 To: Struts Users Mailing List Subj

Re: Form not submitting, after migration

2017-08-01 Thread 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 attaching the code: *action method: * public String newMethod() throws Exception { System.out.println("hello.

Re: Form not submitting, after migration

2017-08-01 Thread Lukasz Lenart
2017-08-01 15:42 GMT+02:00 sharmila thota : > /WEB-INF/jsps/q6/Q6New.jsp this isn't the same result name as below > return "refunding"; Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ - To unsubscrib

Re: Form not submitting, after migration

2017-08-01 Thread sharmila thota
There is no element which has required="true" attribute. I just cross checked in my code. On Tue, Aug 1, 2017 at 2:43 PM, Lukasz Lenart wrote: > 2017-08-01 16:46 GMT+02:00 sharmila thota : > > Hello Lukas, > > > > I tried removing action attribute from and added the same to > , still it doesn't

Re: Form not submitting, after migration

2017-08-01 Thread Lukasz Lenart
2017-08-01 16:46 GMT+02:00 sharmila thota : > Hello Lukas, > > I tried removing action attribute from and added the same to > , still it doesn't work. Yes I do have another submit button for back > navigation. > > Anyways, this type of functionality is working on other pages. Only this is > bot

Re: Form not submitting, after migration

2017-08-01 Thread sharmila thota
Hello Adam, Here is what I have in my jsp: contentType="text/html;charset=windows-1252" thanks Sharmila On Tue, Aug 1, 2017 at 10:15 AM, Adam Brin wrote: > What encoding type are you using? it’s possible that part of the issue is > that you’re submitting a multi-part form and it’s being caugh

Re: Form not submitting, after migration

2017-08-01 Thread sharmila thota
Hello Lukas, I tried removing action attribute from and added the same to , still it doesn't work. Yes I do have another submit button for back navigation. Anyways, this type of functionality is working on other pages. Only this is bothering. I tried thru client script using click event, that

Re: Form not submitting, after migration

2017-08-01 Thread Lukasz Lenart
2017-08-01 15:42 GMT+02:00 sharmila thota : > value="ReApplyFunding" > class="pure-button pure-button-primary" > action="correctionapplyFunding"> > You are using DMI which is disabled by default and I would keep it disabled. If you are using only a one submit button pl

Re: Form not submitting, after migration

2017-08-01 Thread Adam Brin
What encoding type are you using? it’s possible that part of the issue is that you’re submitting a multi-part form and it’s being caught up by an existing bug [WW-4818] - adam -- _ Adam Brin Director of Technology, Digital Antiquity 480.9

Form not submitting, after migration

2017-08-01 Thread sharmila thota
Hello, Good Morning! We migrated our application recently to struts 2.5.10.1, now I see a problem with one of the JSP which is not submitting the form (not reaching action class). Please help me out. *here is my struts.xml configuration for the same:* /WEB-INF/jsps/q6/Q6New.jsp

Re: struts2 +rest service problem

2017-08-01 Thread Lukasz Lenart
2017-07-19 23:13 GMT+02:00 john lee : > Stacktraces > java.lang.RuntimeException: java.lang.RuntimeException: > java.lang.RuntimeException: java.lang.RuntimeException: > java.lang.reflect.InvocationTargetException > com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerI

xml validation with indexed properties.

2017-08-01 Thread Constantine Schokk
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 works only