大家来帮我看看是什么错误
<%String xkcode=request.getParameter( "xkcode ");
if(xkcode== "01 ") response.sendRedirect( "rwx.jsp ");
if(xkcode== "02 ") response.sendRedirect( "glx.jsp ");
if(xkcode== "03 ") response.sendRedirect( "wyx.jsp ");
if(xkcode== "04 ") response.sendRedirect( "sxx.jsp ");
if(xkcode== "05 ") response.sendRedirect( "wlx.jsp ");
if(xkcode== "06 ") response.sendRedirect( "swx.jsp ");
if(xkcode== "07 ") response.sendRedirect( "jdx.jsp ");
if(xkcode== "08 ") response.sendRedirect( "xkx.jsp ");
if(xkcode== "09 ") response.sendRedirect( "jsjxy.jsp ");
if(xkcode== "10 ") response.sendRedirect( "ysx.jsp ");
if(xkcode== "11 ") response.sendRedirect( "hxx.jsp ");
if(xkcode== "12 ") response.sendRedirect( "jyx.jsp ");
%>
------解决方案--------------------String,怎么判断内容相等都不知道么?
------解决方案--------------------if (xkcode.equals( "... "))
{
}