Help students adjust JSP

zhaozj2021-02-16  95

Is a problem with the picture button form.

Page Buttons Source Program ... ......

Processing Information Program <% @ page language = "java"%> <% @ page import = "java.sql. *"%> <% @ Page import = "java.io. *"%> <% @ Page IMPORT = "java.util. *"%> <% string pub = request.getParameter ("submit"); string id = request .GetParameter ("ID"); string passwd = request.getParameter ("passwd");

IF (Pub.length ()> 0) {... // Processing data ...} else {

Out.println ("User Name or Password Error!