Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Using a Dynamic Table on My JSP  RSS feed

 
Steve Dyke
Ranch Hand
Posts: 1775
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a JSP appearing with input boxes for the user fill out for a new record. These boxs act as the header data for the record. I have a submit link that fires JSON to write this data to my data file. On the same page I want a table of details for the record, which is empty initially. I have a link to open another form for detail input. When the detail input closes I need the opener to display the new detail added in the table. If I call the reload of the opener the detail shows up but all my header fields are empty. How can I get the table on opener to refresh without the rest of the form losing its initial data?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66205
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, you lost me somewhere in the middle of all that.
 
Amit Ghorpade
Bartender
Posts: 2856
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am lost too
Will you please make it clear exactly what you are trying to do.
 
Steve Dyke
Ranch Hand
Posts: 1775
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Never mind, I got it figured out. I just assign session attributes to feed the input boxes of the calling page. They start out as empty strings. When the called page makes request the attributes are assigned values then the calling page is reloaded.

Thanks.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66205
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Glad it worked out for you!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!