Skip to Main Content

Java Programming

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!

Calling java functions from html code

807588Apr 24 2009 — edited Apr 28 2009
Hi All,

I have a HTML file and a java file. I would like to know on how to make a java function call from within the html file when a button is pressed and print the data returned by the function on html file. I want to know is there any way with just using core java, not any JSPetc. I also want to know whether we can pass arguments to the java function from HTML.

Please help me out in this regard.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 26 2009
Added on Apr 24 2009
5 comments
1,303 views