Re: How to put Spring object in Struts application scope on web startup?

2017-09-30 Thread Yasser Zamani
Hello Burton, I tested following and seems works but I did not tested if objects are equal by reference (you may get different objects e.g. when scope is prototype): ```java public class MYStrutsPrepareFilter implements Filter { public void doFilter(ServletRequest req, ServletResponse

Re: How to put Spring object in Struts application scope on web startup?

2017-09-30 Thread Burton Rhodes
Nice - I'll take a closer look. That seems like a decent solution On Sat, Sep 30, 2017 at 4:22 AM, Yasser Zamani wrote: > Hello Burton, > > I tested following and seems works but I did not tested if objects are > equal by reference (you may get different objects e.g. when scope is > prototype)

Re: Extending StrutsTypeConverter :: How to detect specific type of "Class toClass"?

2017-09-30 Thread Burton Rhodes
Well shoot - after further testing it seems the issue is still present. I isolated the issue in a simple mvn webapp (see link below). Essentially Struts conversion fails when: 1) setting form input element to a List, 2) there is only one checkbox in the list, 3) the checkbox is not checked when t