Home > Back-end >  Simple login interface code
Simple login interface code

Time:09-26

Teacher assigned homework but just learning to code it didn't take long to appear this problem still don't know how to solve the hope leaders help to
I am want to be a simple login procedure, to fill in the data into the database in the JSP, hint I index. Now there is something wrong with the JSP is the problem my login interface have trouble help have a look, need to detailed answer thank you
The index. The JSP is as follows:
<% @ page contentType="text/HTML" pageEncoding="GBK" % & gt;
<% @ page import="Java. Util. *" % & gt;

www.zhbit.com
<body>
Username: & lt; Input type="text" name="name" value="https://bbs.csdn.net/topics/<%=reg. GetError (" errorname ") % & gt;

Age: & lt; Input type="text" name="age" value="https://bbs.csdn.net/topics/<%=reg. GetError (" errorage ") % & gt;

Email: & lt; Input type="text" name="email" value="https://bbs.csdn.net/topics/<%=reg. GetError (" erroremail ") % & gt;



CodePudding user response:

Compile have a problem? Can not find this way,
Your & lt; The JSP: useBean id="reg" scope="request"/& gt; Path to the right?

  • Related