高手,请帮帮我吧,这个问题快把我搞疯了!在线等待!
一段很简单的源码:test.jsp
<%@ page contentType="text/html;charset=GB2312" import="java.sql.*"%>
<%@ page language="java"%>
<%
String kcjb=request.getParameter("kcjb").trim();
String xkyy=request.getParameter("xkyy").trim();
String xh=(String)session.getValue("bcyhm");
out.println(kcjb);
out.println(xkyy);
String sql_5="123";
if(kcjb.equals("你好"))
{
out.print("sql_5");
}
%>
---------------
配置:WEBLOGIC6.1
错误就在
if(kcjb.equals("你好"))
{
out.print("sql_5");
}
这个if判断语句上,而且集中在kcjb.equals("你好")这个条件上,如果把"你好"
换成数字或者字母或者干脆把这个if语句去掉,都没有错,这是为什么呢?搞得兄弟好郁闷呀!
错误提示代码:
Parsing of JSP File '/testpool/student/zhengxuan/zhengxuan_done_read.jsp' failed:
--------------------------------------------------------------------------------
/testpool/student/zhengxuan/zhengxuan_done_read.jsp(19): scriptlet close brace '}' unbalanced at line 19 which breaks scope '_base_service_scope_'
probably occurred due to an error in /testpool/student/zhengxuan/zhengxuan_done_read.jsp line 19:
{
--------------------------------------------------------------------------------
Wed May 07 19:30:51 CST
-------------------
大家帮忙看看吧,这叫什么错误呀?考