name « Button « JSP-Servlet Q&A





1. Question on BUTTON name/value pairs sent from JSP    coderanch.com

Ok, here's another issue along the same lines. Here's my intial JSP file (please accept my apologies, I'm somewhat new to JSP coding as you'll see): -------- <%@ page import="java.util.*,java.sql.*" %>

BA Issues

<% ResultSet rslts = (ResultSet) request.getAttribute("results"); out.println(""); while (rslts.next()) { String name = rslts.getString("issue_name"); String priority = rslts.getString("priority"); out.println(""); ...

Issue NamePriority
"+name+""+priority+"

2. How to retrieve the names of the buttons in servlet ?    coderanch.com

For buttons, you get only that button which actually has been clicked and more over why do you want to all the names on the server side. do one one thing, let the names of all the 4 buttons be name but give different values to them. when someone clicks on the button, that value is passed to you which you ...