David Newton wrote:What specifically is the problem? That it only works when the text tag uses "vehicleDTO.file"?
If so, I'd imagine that the text tag isn't using the defined bean but instead it's accessing the form directly. I don't know if you can use a <bean:define> bean in a text tag--the form tags access the form directly, if I remember correctly.
Yeah !! You are right !
But my problem is that when i am landing to this JSP page it is just showing those form attributes which are present in FormBean rather than normal Bean Class (or DTO).While I created a setter/getter of DTO in Form Bean.
But still ,to access DTO values I need to define bean explicitly.And in this case I have to define
Well FYI ! If i retrieve all the values from DTO then we do not need to define bean explicitly.
Here My question is that Whether is It necessary to keep the same name of id and property in <bean define while we are using the properties of DTO and FormBean at the same JSP ??>