Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Update fetched data in same JSP?  RSS feed

 
nebber johnson
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello:

I've got a JSP that when it is called accesses a database and returns a list of tasks for a particular user (user ID is passed in the link via &var=variable). This represents the default list of tasks for the user. I have a form set up to allow the user to select a different user. On the form submission I would like the same JSP to be called but with the tasks for the selected user.

The initial load is fine but on form submit I am calling the same JSP and trying to pass it the selected values from the form as follows:



In short how does one refresh a table based on user selection?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66141
141
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure I understand the issue. If the id of the new user is passed, won't the data for the new user be fetched and displayed?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!