i have an html form that call a javascript function when submitted
i need to pass one of the form value to the jsp session

something like:

<script>
function doit(a)
{

<java>
    Session.putValue("mediaType",new
tring( a.document.aform.mediaType.value  ));
</java>

    return true;
}

</script>

<form name="aform" method="return doit(self)">
<input type="text" name="mediaType">
<input type="submit">
</form>

any ideas?

thanks
fabrice

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to