易截截图软件、单文件、免安装、纯绿色、仅160KB

关于jsp的...

写了段代码  运行提示错误  刚学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){



相关问答:

jsp中 <c:if test> 相关问题

在查询后将查询出来的值赋给各输入框
<c:if test="${not empty dataValue}">
      fm.SAMPLING_DATE.value=" <c:out value='${dataValue.SAMPLING_DATE}'/ ......

JSP出EXCEl报表中文名称乱码

我在使用开源的JXL 出EXCEL报表时遇到这样的问题。
我想出的文件名称是这样的:例:test_李强.xls
代码是 ....test_+"UserID"+".xls";
但是控制台我看到的输出名称效果是:test_µ ......

jsp 中乱码的 - Java / Web 开发

我的开发的平台是Myeclipes6.0 + tomcat5.x + mysql
我所有的编码方式都是用的UTF-8 
我只用了Strtus框架
在一个form中如下用的是post的提交方式:
 <form class="form" action=&quo ......

jsp页面控制的问题

有几种用户,其权限不同。只有特定权限的用户才能进行相应操作。我想在jsp页面里进行这个设置
<input type="submit" value="修改"/> ,我想让只有特定权限的用户才能按这个按钮,否则报 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号