0

in my current webpage (a JSP file which uses a form) i am interested in accessing variables that is autocalculated in the current webpage using a java class, from another form (also another JSP file) using javascript and DOM methods...is this possible?

Form A contains a link to Form B and i would like to put a javascript method in Form 2 to get variables/information in Form A.

EDIT 1: just updated...i'm trying at the moment to make context path URLs to each different web page and save them as strings in a database. And in the Form 2 webpage, i will retrieve the string URL context path of Form 1 from the database and then somehow try to access that...still figuring that part out..

EDIT 2: this is not involving Parent-Child window, but a relationship between 2 webpages that uses a FORM element

4

0 回答 0