| Back to logs list
71781 2009 年 01 月 03 日 06:45 Reading (loading. ..) Comments (0) Category: Notes
today met a stupid question, so write down a lesson for yourself. Write a system recently with struts2 + spring + Hibernate, accidentally found a validation action information will be repeated, because this action is very simple to complete the function, so writing did not pay much attention when. But the information will not be repeated, but the top is the first validation failure to return to the input page, the second time even if the input is correct,
Chinese people must know the 76 common sense., the system will not work,
louis vuitton handbags, always in the input page, the error message will stop the accumulation of . Open or close the browser thinks highly of this, to restart the server,
coach handbags, because as Khan.
a glance is a container to a problem, looked to the configuration file, did not find anything wrong with ah,
难道真该谈谈恋爱去? - Qzone日志! And other action, like ah,
jimmy choo handbags! Helpless, and because after several weeks of fighting,
Teach you to identify Jade - Qzone log, this time code has a lot of it was very difficult to find a moment, intending to point lazy thing and tried it online.
did not expect that a friend meet me really such a thing, look at his post, similar symptoms and my hundred percent, really want to shake his hand. Replies
and who wrote the following: your action is not being hosted by spring?
I saw, is ah, my action is hosting a spring.
Then he wrote:
your action class is not used for bean's id?
I'm watching while also nodding, is ah, I really like this,
cheap gucci heels, how so much about me! (In fact, everyone reads)
last he said:
the class action into your full path the problem will be solved.
is not it? I was like, that is not hosted the spring, I would also like to note the action attribute, such a change does not go in a positive note.
As I said, this problem is to change the verification been resolved, but not enter the property note. That is not the same as being crooked as another, the problem has not been fundamentally resolved.
is a bit like crazy in that I have no intention of how not to write the bean scope = I create a new instance. It's that simple, the problem is truly solved. The problem is this stupid low-level errors committed by careless,
marc jacobs handbags, really want to give yourself twice.