Hi all, I have 1 problem:
I tried to do something like below: test.jsp includes: <html:form action="/user/sendPrivateQuestion.do" styleId="userBean"> <html:text property="privateMessage.subject" name="userBean"/> </html:form> I've already defined privateMessage in my userBean like below: /** * Comment for <code>privateMessage</code> * This property is Private Message object */ private PrivateMessage privateMessage = null; /** * TODO: This will get value of privateMessage * * @return PrivateMessage the privateMessage. */ public PrivateMessage getPrivateMessage() { return privateMessage; } /** * TODO: This will set value to privateMessage * * @param PrivateMessage The privateMessage to set. */ public void setPrivateMessage(PrivateMessage privateMessage) { this.privateMessage = privateMessage; } But when I action mapping to test.jsp page, I have errors with message : org.apache.jasper.JasperException: Null property value for 'privateMessage' Plz, help me! Thanks for ur reading Anh Tuan