users
[Top] [All Lists]

Value passing from JavaScript to Java

To: <users@xxxxxxxxxx>
Subject: Value passing from JavaScript to Java
From: "Afanuh, Richard K, ALABS" <rafanuh@xxxxxxx>
Date: Mon, 16 Aug 2004 12:37:11 -0500
Delivered-to: mailing list users@cinjug.org
Mailing-list: contact users-help@cinjug.org; run by ezmlm
Thread-index: AcSDt6iNzmO4pviuTxC5P/3xp9L/lg==
Thread-topic: Value passing from JavaScript to Java
Hi.
I am writing some JSP pages and run into a problem
I have a  JavaScript function (in our application library) that is used to 
obtain the value of an input field on an HTML form in the JSP page. The 
javaScript function then does some additional processing of that value. Once 
this is done, I need to pass the value to a Java String in my JSP for further 
processing. So far I've not found a working solution.
The only way I've been able to do it is to reload the whole page from within my 
JavaScript function and pass the value as aparameter. This is a very cumbersome 
solution: I have to retrieve several other parameters again and extract some 
data from servers to rebuild the page.

I'll appreciate any solution or suggestions.
Thanks

<Prev in Thread] Current Thread [Next in Thread>