JSP中&f=x 有什么含义?
时间:2011-09-02
来源:互联网
<table align="center" width="50%">
<tr>
<td style="cursor:hand" onclick="window.location='search.jsp?cpage=1&f=x'">首页</td>
<td style="cursor:hand" onclick="window.location='search.jsp?cpage=<%= ((Integer)request.getAttribute("currpage"))-1==0?1:((Integer)request.getAttribute("currpage"))-1 %>&f=x'">上一页</td>
<td style="cursor:hand" onclick="window.location='search.jsp?cpage=<%= ((Integer)request.getAttribute("currpage"))+1>pa.getTotalPage()?pa.getTotalPage():((Integer)request.getAttribute("currpage"))+1 %>&f=x'">下一页</td>
<td style="cursor:hand" onclick="window.location='search.jsp?cpage=<%= pa.getTotalPage() %>&f=x'">末页</td>
<td>当前<%= request.getAttribute("currpage") %>页</td>
</tr>
</table>
请问 在JSP中 &f=x 的含义是什么?
<tr>
<td style="cursor:hand" onclick="window.location='search.jsp?cpage=1&f=x'">首页</td>
<td style="cursor:hand" onclick="window.location='search.jsp?cpage=<%= ((Integer)request.getAttribute("currpage"))-1==0?1:((Integer)request.getAttribute("currpage"))-1 %>&f=x'">上一页</td>
<td style="cursor:hand" onclick="window.location='search.jsp?cpage=<%= ((Integer)request.getAttribute("currpage"))+1>pa.getTotalPage()?pa.getTotalPage():((Integer)request.getAttribute("currpage"))+1 %>&f=x'">下一页</td>
<td style="cursor:hand" onclick="window.location='search.jsp?cpage=<%= pa.getTotalPage() %>&f=x'">末页</td>
<td>当前<%= request.getAttribute("currpage") %>页</td>
</tr>
</table>
请问 在JSP中 &f=x 的含义是什么?
作者: wulianhui 发布时间: 2011-09-02
search.jsp?cpage=1&f=x 这个...?
f=x 表示 f这个变量值为x
至于&这个符号... 是用来切割变量名变量值对的
比如cpage=1和f=x 这对变量 用&这个符号切割 好让系统知道有这两个变量
f=x 表示 f这个变量值为x
至于&这个符号... 是用来切割变量名变量值对的
比如cpage=1和f=x 这对变量 用&这个符号切割 好让系统知道有这两个变量
作者: woodenhouse 发布时间: 2011-09-02
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28