Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Can we call a javascript fun through jsp page without any event

843836Feb 11 2005 — edited Aug 20 2008
Hi ,
I am new to jsp,javascript and i have a little question.
If i make a function in a js file and want to call it from a jsp file without any event ,ie can i write some thing like <%abc()%> in ths jsp page ,which call the function from another .js file.
I suppose that it can be done as gmail page reloads it self after some time and for http mostly we use pull ie request from the client side ,so i think that they must be doing something like timer expiry and reload themselves.

please help me with the solution.
Thanks & Regards
Saurabh
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 17 2008
Added on Feb 11 2005
4 comments
2,255 views