Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

remember a value over multiple jsp pages.  RSS feed

 
jordan campbell
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Everyone, i am quite new to all of this so i apologise if this seems like an obvious or easy question. I have two tables ,one called client and one called house. The client table contains
clientID
clientFirstName
clientLastName
age
sex

the house table contains
houseID
clientID
numberOfRooms
etc

on the first jsp i have a form for submitting client details. Once that information is submitted to the database, it goes to another jsp with another form for submitting house details.The problem i have is that i want the second form to remember the clientid that is created from the first jsp so that the house details being submitted belong are attached to that clientId.Any help would be much appreciated.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65830
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Store it in the session or pass it along in hidden inputs.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!