Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

help with struts and a dynamic JSP

 
Praneeth Medukonduru
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is a JSP that has a add button, which when clicked adds a row of text boxes to the screen.

When the save button is clicked all that information has to be captured and stored in the action class.

How can such dynamic jsp form information be captured??? all the information coming from the jsp has to be captured to a value object (VO)

if dyna action forms are used how do we use them.. any example code to help me out??
 
Brent Sterling
Ranch Hand
Posts: 948
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This sounds like a case for indexed properties. Search this forum for information. Indexed properties and Struts can be tricky so I am sure you will have some specific questions.

- Brent
 
Praneeth Medukonduru
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi vinayak and ranjit, thanks for pointing me to the correct direction, guess i have to do some POC to understand this concept... i will be doingt that now

thanks a lot
 
Praneeth Medukonduru
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey Brent

sorry that post was for a diff forum.. haha

thanks a lot.. i will be trying the indexed properties now.

thanks again
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic