aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 1367
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: 60046
    
  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: 1367
It's sample application. I am not using any database.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60046
    
  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
Java Script HTML values
urgent getting parameters
How to iterate multiple list in an object?
Iterate through multiple arrays
passing parameters