Insert « Form « JSP-Servlet Q&A





1. Insert line breaks in hidden fields value - Java    stackoverflow.com

How would I go about inserting line breaks in the value of hidden fields? For ex. this is how my hidden field looks like:

<input type="hidden" name="dahidden" value="<%=da.getFname() %> <%=da.getLname() %> <%=da.getEmail() %> ...

2. Insert Form: Data Test Routine    coderanch.com

3. can you help with this sql statement to insert checkbox data using JSP?    coderanch.com

can you help with this sql statement to insert checkbox data using JSP? I'm passing some checkbox data to a jsp page and I'm trying to insert this data into an access database. Here's the code: ------------------------------------------- <%@ page import="java.sql.*" %> <% String accnum = request.getParameter("accnum"); String series = request.getParameter("series"); String query = "INSERT INTO Saved (AccessionID, SeriesFolder, ImageName) VALUES "; ...