I'm looking for some resources on using DHTML/JavaScript with JSP.
What I'm trying to do is call a method from a javascript event handler, ie:

<a href="#" onClick="someFunction()">LINK TEXT</a>

where someFunction calls the Java method.

here is some example code of what I have right now:

<%@ page info="Portal Page"
         import="com.maya.harness.SomeBean"%>
.
.
.
SomeBean somebean = (SomeBean)session.getAttribute("somebean");
somebean.doMethod("parameter");
.
.
.

what I'm trying to do is tie somebean.doMethod into a user event handler.
any ideas?

david

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to