How to use this info to create my fields in my jsp page dynamically?
posted 9 years ago
If you just want to display the fields, use the "dot" notation to do so. Example:
If you're looking for a way to automatically figure out what properties the bean has and display them all, there's no facility in Struts to do that. It could be done, but you'd have to do most of the coding yourself. You may want to check out what utilities are available in the Apache Commons BeanUtils project. [ March 22, 2007: Message edited by: Merrill Higginson ]