users
[Top] [All Lists]

Re: [cinjug-users] Value passing from JavaScript to Java

To: "Afanuh, Richard K, ALABS" <rafanuh@xxxxxxx>
Subject: Re: [cinjug-users] Value passing from JavaScript to Java
From: Chris McMahan <cmcmahan@xxxxxxx>
Date: Mon, 16 Aug 2004 14:13:54 -0400
Cc: <users@xxxxxxxxxx>
Delivered-to: mailing list users@cinjug.org
In-reply-to: <456FD0E7B215B24ABBAD711614E4A7A2096D5C1B@OCCLUST03EVS1.ugd.att.com>
Mailing-list: contact users-help@cinjug.org; run by ezmlm
References: <456FD0E7B215B24ABBAD711614E4A7A2096D5C1B@OCCLUST03EVS1.ugd.att.com>
You could embed a java applet in the page to act as a client in a
server/client arrangement, then refresh the data on the client side
through scripts.

You might also look at the problem you're trying to solve, and see if
there might be anyway to do the additional processing on the client
side.

- Chris McMahan

Afanuh, Richard K, ALABS writes:
>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

-- 
    ================================
    Chris McMahan | cmcmahan@xxxxxxx
    ================================


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