Skip to content Skip to sidebar Skip to footer

Call Javascript Function After Java Code

I have a jsp page with some java code and jsp functions. Please find the code below. <% try { client.removeOAuthApplicationData(consumerkey);

Solution 1:

Javascript plays on client side and Java&JSP plays on server side.

What you can do is

Call your all javascript functions in your document load (onready) function so that they can execute while the page load.

You cannot run those functions on server.

Note : How to avoid Java code in JSP files?


Post a Comment for "Call Javascript Function After Java Code"