Hi Brandon, thank you for the quick reply What I try to achieve is somehow move a String presetantation of a object between JSP page and a JavaClass
As far as I know how, if my java class provides set/get method for primitive types, JSP can move the data for me However, my java class get/set property method uses a object define by me (ex MyTimestamp) The question here is What kind of method(s) in the MyTimestamp do I need to implement inorder for JSP to move the string presentation of my MyTimestamp to the JSP form? Hope I am able to be specific this time. -Dan ----- Original Message ----- From: "Brandon Goodin" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, October 03, 2002 3:16 PM Subject: RE: JavaBean question > If you are asking how you would get the value of "B" from the "A" bean. The > you could use the nested property reference dot notation like: <html:text > property="a.b.someProperty">. Otherwise, you need to be more specific. What > are you trying to accomplish? > > Brandon Goodin > Phase Web and Multimedia > P(406)862-2245 > F(406)862-0354 > http://www.phase.ws > > -----Original Message----- > From: Dan Tran [mailto:[EMAIL PROTECTED]] > Sent: Thursday, October 03, 2002 4:04 PM > To: Struts Users Mailing List > Subject: JavaBean question > > > Hi I have a java bean A that has a property which is defined as a nother > java object B. > > > class A { > private B _b; > > public A() {} > public B getB() { return _b ;} > public void setB( B b) { _b = b ; } > } > > How can I implement B so that it can be "transfered" from bean to a form > like > > <html:text property="b" > > > > Any suggestion? > > -Dan > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>