aspose file tools*
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
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: 61239
    
  66

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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Passing html text field as a c:url parameter