Re: Constructing an SQL string in Java
Now, how do I make the link from the fields in the html page to the userInputFields in the servlet?
Now, how do I make the link from the fields in the html page to the userInputFields in the servlet?
while(______.next()) { BeanScrapSearch infoBean = new BeanScrapSearch(); infoBean.setYard(_________.getString("tdydno")); infoBean.setLoad(_________.getString("tdload")); beanList.add(infoBean); }
ResultSet MYQUERY = RS.myRS(sql.toString(), connDB); while(MYQUERY.next()) { BeanScrapSearch infoBean = new BeanScrapSearch(); infoBean.setYard(MYQUERY.getString("tdydno")); infoBean.setLoad(MYQUERY.getString("tdload")); beanList.add(infoBean); }
<form name="ScrapSearch" action="ScrapSearchServlet" method="POST"><input type="submit" value="Submit"></form>
Comment