共 22 篇文章 |
|
阅120 转1 评0 公众公开 07-02-06 14:39 |
阅195 转2 评0 公众公开 07-01-23 10:03 |
<%//增加或者更新完刷新String refurbish=session.getAttribute("refurbish")+"";if(refurbish.equals("yes")){out.println("<script>");out.println("parent.document.frames.item(‘leftFrame‘).location.reload()");out.println("</script>");session.removeA... 阅671 转3 评0 公众公开 07-01-17 09:52 |
szMsg="[#_%&‘\",;:=!^]";//非法字符输入 for(i=1;i<szMsg.length+1;i++){ if(form.name.value.indexOf(szMsg.substring(i-1,i))>-1){ alert("部门名称包含非法字符!"); return false; } } 阅833 转2 评0 公众公开 07-01-17 09:52 |
<html><head><script language="javascript"> function test() { var str="123";--document.form1.action="tu.jsp?bm=str";--> document.form1.action="tu.jsp?bm=<%=abc%>";document.form1.submit();}</script></head><body><... 阅1636 转8 评0 公众公开 07-01-17 09:50 |
阅155 转3 评0 公众公开 07-01-17 09:50 |
阅126 转1 评0 公众公开 07-01-17 09:49 |
阅669 转1 评0 公众公开 07-01-17 09:49 |
阅738 转4 评0 公众公开 07-01-17 09:49 |
二、采用文件流输出的方式下载。1、web.xml文件中增加 <mime-mapping> <extension>doc</extension> <mime-type>application/vnd.ms-word</mime-type> </mime-mapping><%@page language="java" contentType="application/x-msdownload" import="java.io.*,java.net.*&... 阅2257 转9 评0 公众公开 07-01-17 09:48 |