还有一个资源文件
application.properties
#key
hello.jsp.person=Person
hello.jsp.content=Content
#error
errors.required={0} is required.   
errors.minlength={0} can not be less than {1} characters.   
errors.maxlength={0} can not be greater than {1} characters.   
errors.invalid={0} is invalid.   
  
errors.byte={0} must be a byte.   
errors.short={0} must be a short.   
errors.integer={0} must be an integer.   
errors.long={0} must be a long.   
errors.float={0} must be a float.   
errors.double={0} must be a double.   
  
errors.date={0} is not a date.   
errors.range={0} is not in the range {1} through {2}.   
errors.creditcard={0} is an invalid credit card number.   
errors.email={0} is an invalid e-mail address. 

解决方案 »

  1.   

    首先,<form-property name="oper" type="domain.Oper" / > 中的type不是domain.Oper,而是你这个字段是什么类型的,如String,Integerand so on其次,<form action="reply.do?option=reply" method="post" >,action的路径要加上你的应用程序名字,如,/yourApplicationName/reply.do?optio=reply
      

  2.   

    首先,<form-property name="oper" type="domain.Oper" / > 中的type不是domain.Oper,而是String,Integer等其次,<form action="reply.do?option=reply" method="post" > 的action路径要加上你的应用程序名称,如:/yourApplicationName/reply.do?option=reply
      

  3.   

     <form-property name="oper" type="domain.Oper" /> 
     <form action="reply.do?option=reply" method="post"> 
    我这样写一点问题都没有..因为我用的是动态Action和动态表单..但还是要谢谢
    哪为高手帮我看看...
      

  4.   

    <form-property name="oper" type="domain.Oper" / > 中的name=“oper”好像应该和reply.jsp中
    <input type="text" name="oper.name" > 的name相同