PDA

View Full Version : calling java function from asp file



abhishek1
January 10th, 2006, 03:43 AM
hi,
i m posting some variable from my asp page to another asp page.

is it possible to call a java function from asp file?
if yes then how?

java function which i wanna call is supposed to creates a text file with the posted variables.

can any 1 provide me some help about this?

thanx n regards
Abhi

antizip
January 10th, 2006, 09:11 AM
ASP cannot invoke javascript. ASP is server side and javascript is client side. They happen at different times. You can have ASP write javascript code then do like a


window.onload = function;

or

<body onLoad="function()">