开发者

referenceData method called twice

I am new to spring mvc.I am using simpleformcontroller.开发者_运维知识库Everything is working fine.

But when users timeouts and try to login again the referenceData method is called twice.

It is very simple application.There is no error in the code.

Thanks in advance.


I found out the answer to my own question.I used request setattribute method in spring controller.First time it sets the attribute and if second invocation happens it avoids unnecessary code execution.However it doesn't stops the second call but it is good to reduce bad effect of second call.

Hth Jagdev

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜