第一天写JSP遇到的错误!请教出错原因! login.jsp文件里{}没有对应好,仔细查查看 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 肯定丢了一个},仔细找找。<%-- 对于两次输入的密码进行判断,如果一致,就输出成功显示的信息 --%><%if(get_password.equals(get_repassword)){哈哈,找到了,这个就没有配对的! </table> </div> <% }这个配对<%if(get_password.equals(get_repassword)){了 <%--字符串定义--%><%--使用getParameter方法,逐个获取客户端的信息。需要注意的是:引号内的字符大小写时敏感的--%>======================这个不是注释,出错了 谢谢tangbow了 我刚才也发现了。不过网页现在出来中文乱码 咋整? 页面中添加如下代码:<%@ page contentType="text/html;charset=gb2312" %><meta http-equiv="Content-Type" content="text/html; charset=gb2312">或者1.s=new String(s.getBytes(),"iso-8859-1");2.s=new String(s.getBytes(),"gb2312");3.s=new String(s.getBytes("iso-8859-1"),"gb2312");4.s=new String(s.getBytes("gb2312"),"iso-8859-1");5.s=new String(s.getBytes("iso-8859-1"));6.s=new String(s.getBytes("gb2312"));尝试以上的方法之一! 求:学习java网站 [调查]web程序员中,有多少位是站长?? 留个名吧 info= dis.readLine(); 为什么走到这儿就停了呢? 大家看一下,这个类怎么用呢? 关于繁体转换问题 JS添加TR时,出现cannot find bean…… 在tomcat中如何管理.jsp文件,就是在纯英文界面中的那种 很奇怪的问题,在access中正常,在oracle中就怪了 为何标签库的类文件找不到 HttpServletRequest的getInputStream方法和getParameter方法 editplus的使用,请推荐写JSP的工具。 有没有关于JavaBean的实例代码?
<%-- 对于两次输入的密码进行判断,如果一致,就输出成功显示的信息 --%><%
if(get_password.equals(get_repassword))
{
哈哈,找到了,这个就没有配对的!
</div>
<%
}这个配对
<%
if(get_password.equals(get_repassword))
{了
======================
这个不是注释,出错了
<%@ page contentType="text/html;charset=gb2312" %>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">或者1.s=new String(s.getBytes(),"iso-8859-1");
2.s=new String(s.getBytes(),"gb2312");
3.s=new String(s.getBytes("iso-8859-1"),"gb2312");
4.s=new String(s.getBytes("gb2312"),"iso-8859-1");
5.s=new String(s.getBytes("iso-8859-1"));
6.s=new String(s.getBytes("gb2312"));
尝试以上的方法之一!