This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSP and the fly likes pass the values from HTML to jsp page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "pass the values from HTML to jsp page" Watch "pass the values from HTML to jsp page" New topic
Author

pass the values from HTML to jsp page

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1372
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

Joined: Jan 10, 2002
Posts: 60810
    
  65

Why should that type of info be part of the submission? Look it up in the database.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1372
It's sample application. I am not using any database.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60810
    
  65

Hidden elements then.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: pass the values from HTML to jsp page
 
Similar Threads
How to iterate multiple list in an object?
Java Script HTML values
passing parameters
Iterate through multiple arrays
urgent getting parameters