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

pass the values from HTML to jsp page  RSS feed

 
kri shan
Ranch Hand
Posts: 1489
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have one html page. It has product name , Qty, price fields. Here Qty is the user entered values. When the user submits the form it goes to jsp page, it displays product name, Qty, Price, Amount(Qty * Price). How can i pass all product name, Qty, Price from the HTML page to jsp page ? Can i use hidden fields or any other way ?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66207
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why should that type of info be part of the submission? Look it up in the database.
 
kri shan
Ranch Hand
Posts: 1489
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's sample application. I am not using any database.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66207
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hidden elements then.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!