Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Accessing javascript from java...problem with MAYSCRIPT

Status
Not open for further replies.

mikes300

Programmer
Aug 15, 2000
2
US
I have a screen in a web app that has two applets, one is the link navigator, and the other is a form which connects to db2 and uses a bunch of classes.  The navigation applet talks to javascript for getting cookies, and setting them, using JSObject's call method...this works great, so i wanted to try to use the JSObject again in the form applet to display an OK/Cancel dialog box when the user presses a button to confirm the action, then the value is returned to the form applet...the problem is that whenever i add MAYSCRIPT inside the applet tag, i get a CNFclassnotfoundexception and of course it doesn't work...if i don't add the MAYSCRIPT, it gives an exception stating that you need to add MAYSCRIPT! The navigation applet has no problem with MAYSCRIPT. please help!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top