Re: Setter in action triggers twice. Bug?

2009-07-17 Thread Ritvars Rundzāns
{1} {2} jsp/abc.jsp >> You *do >> not* need to add "param" to your action mapping to get the parameters >> bound the class fields. I understand that. As you can see, example request (/person-aaa-bbb?dum=ccc) gives 1 request param (classical m

Re: Setter in action triggers twice. Bug?

2009-07-17 Thread Ritvars Rundzāns
Ok, this is all great, but problem still is not solved. You can see configs provided @ war. I will put this simple: My app`s config is taken from struts-blank, so its minimal, and there are no explicit changes in interceptor stack for any of actions. Why this crap happens then? I really dont care

Re: Setter in action triggers twice. Bug?

2009-07-16 Thread Ritvars Rundzāns
Yes, 2nd one contains ParametersInterceptor call, but both of them contains StaticParametersInterceptor call. You mentioned, that "static param interceptor, so you have that set up somewhere". There are no explicitly defined interceptors @ my-super-app. Ok, whatewer, this is irrelevant. Just deplo

Re: Setter in action triggers twice. Bug?

2009-07-16 Thread Ritvars Rundzāns
Look carefully! As you can see, BOTH setters origin from static params interceptor (1st: line 129, 2nd - line 148). And i do not have set it up somewhere - look @ war. Config is as simple as possible.

Re: Setter in action triggers twice. Bug?

2009-07-16 Thread Ritvars Rundzāns
I put BP @ setCmd. 1st hit: > Daemon Thread [http-8080-2] (Suspended (breakpoint at line 28 in Person)) Person.setCmd(String) line: 28 NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) lin

Setter in action triggers twice. Bug?

2009-07-16 Thread Ritvars Rundzāns
Hi! I am wondering, why setters for cmd and id fields @ my Person action (see below) is called twice. For example, when browser requests /person-aaa-bbb?dum=ccc , this gets stdout-ed : example.per...@113981b 18061339 setCmd ]aaa[ setId ]bbb[ setCmd ]aaa[ setDum ]ccc[ setId ]bbb[ execute I know s