I want to pass a variable value to the next
JSP page BUT that variable value is not included in the FORM. Ex:
<scriplet here.....
String v = "java";
</scriplet>
<FORM... METHOD="POST"...
<INPUT TYPE="TEXT" ....
<INPUT TYPE="SUBMIT" ...
</FORM>
Now I want to pass the value of String variable v to next page (based on ACTION of course>, how will I do that?
Do I make a JavaScript pass that to JS function and put it in a hidden type when submitted?
Im thinking of putting it as attribute of a request or session , but it can't because there is no way of dispatching a request because Im submitting a form and not forwarding a page. Please help Thanks.....