Link to home
Start Free TrialLog in
Avatar of srikanthradix
srikanthradixFlag for United States of America

asked on

accessing a java object in javascript

I need to access java object in javascript. In one of the scenario in my current webpage a button is enabled only in certain circumstances, when i click that button a method on java object is to be called where calling that method is very costly. So i need to call only when i click that button. Right now i am getting that object using scriplet in my jsp and trying to pass the java object to javascript onclick() method as parameter which does not work. How can i acheive this?
ASKER CERTIFIED SOLUTION
Avatar of Gibu George
Gibu George
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Murali Murugesan
can u post the gist of code that you have.