写了段代码 运行提示错误 刚学jsp 还不是很清楚
麻烦大虾们帮忙解决下
An error occurred at line: 14 in the jsp file: /check.jsp
Syntax error on token(s), misplaced construct(s)
11: String intro=request.getParameter("intro");
12: if(username==null){
13: username=" "; }
14: else if(username.equals(" ")){
15: out.println("用户名不能为空 请返回重新输入!");
16: out.println(" <a href="check.jsp"+返回+" </a>"); }
17: else if(password1==null){
An error occurred at line: 14 in the jsp file: /check.jsp
Syntax error on token(s), misplaced construct(s)
11: String intro=request.getParameter("intro");
12: if(username==null){
13: username=" "; }
14: else if(username.equals(" ")){
15: out.println("用户名不能为空 请返回重新输入!");
16: out.println(" <a href="check.jsp"+返回+" </a>"); }
17: else if(password1==null){
我现在想用ssh整合来做一个论坛,但数据库方面不行,我主要不会涉及数据库,不知道发帖表,和回帖表要如何设计和区分。不知道谁有一个简单的思路,来设计这些表。谢谢了。
发帖和回帖用同一张表 。发帖 id user ......