when validating form,some problems occured.
As MVC Model2 suggest,I use a controller to query
imformations and store them into javabeans.Then the
javabeans is used by the page which contains a form.
when the form submits,the form is validated.If some
errors occured,struts will return to input page.As the
input page need some informations to render the
page,so I make the struts return to the controller
which queries information required by the input
page.some informations may be changed when the form
submitted,but the controller doesn't know this.

How to solve this problem?
I use two controller.One is used when user requests
the page at the first time.Another is used when
validating errors occur.

_________________________________________________________
Do You Yahoo!?
150万曲MP3疯狂搜,带您闯入音乐殿堂
http://music.yisou.com/
美女明星应有尽有,搜遍美图、艳图和酷图
http://image.yisou.com
1G就是1000兆,雅虎电邮自助扩容!
http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to