wood burning stoves 2.0*
The moose likes JSP and the fly likes Passing html text field as a c:url parameter 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 "Passing html text field as a c:url parameter" Watch "Passing html text field as a c:url parameter" New topic
Author

Passing html text field as a c:url parameter

Scott Updike
Ranch Hand

Joined: Feb 16, 2006
Posts: 92
All,

I have a simple jsp page with a submission form as well as a link. What I need to do is figure out a way to pass the value in the storecredit text field in the updateTxnCustomer form as a parameter to the link. The user has the ability to alter the prepopulated value in the text field, so it could be different from the salestxnto.storecredit value.

How do I do this?

Thanks,
Scott


Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60789
    
  65

You'll need to handle this on the client in JavaScript. How could the JSP know what the user is about to enter into the field before the page is even sent to the browser?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
wood burning stoves
 
subject: Passing html text field as a c:url parameter
 
Similar Threads
Using checkbox on Spring 2.5 MVC ?
c:url parsing problems
Loading a file content in dropdown list
Using JSTL Data Displayed In Browser Is Getting Fixed To 24576 Bytes(24 KB)
404 Error