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!

call a function in jsp

843835Apr 8 2002 — edited Apr 12 2002
in html we can call a user define function at any event and include the function within <script> </script>.
eg:
<script language="javascript">
<!--
function GetData() {
// do something
]
-->
</script>
.
.
.
<input type="submit" text="submit" onclick="GetData()">


but how are we going to call the function GetData() in jsp ..... are we using this tag <% %> ?? how does the syntax like ??

Please assist... thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 10 2002
Added on Apr 8 2002
14 comments
2,813 views