I want to insert some buttons on a jsp page, that when clicked would each
write a different predetermined row of data into a db. Is it possible to do
this without using a form and servlet that would redisplay the page? I want
the buttons to interact with db methods directly without affecting display.
Is it possible to access beans via a bean id such as:
out.println(" <TD><input type=\"button\" name=\"match\" value=\"match\"
onClick=\"beanid.InsertRow()\"> ");
?
Thanks,
Matt
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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