jsp程序设计(第2版)习题解答,含题目(2)
来源:网络收集
时间:2026-02-01
导读:
串,并显示该字符串的长度。 答:inputString.jsp: computer.jsp: 字符串: 的长度: 4.Response调用sendRdirect(URL)方法的作用是什么?答:实现用户的重定向。 习题五 1. File对象能读写文件吗? 答:不能 2.
串,并显示该字符串的长度。 答:inputString.jsp:
<%@ page contentType=\
computer.jsp:
<%@ page contentType=\
<% String textContent=request.getParameter(\ byte b[]=textContent.getBytes(\ textContent=new String(b); %>
字符串:<%=textContent%>的长度:<%=textContent.length()%>
