MyException - 我的异常网
当前位置:我的异常网» Java Web开发 » 那位GG能给小弟我一个commons-fileupload-1.1上传组

那位GG能给小弟我一个commons-fileupload-1.1上传组件的例子,小女子先谢过了(3)

www.MyException.Cn  网友分享于:2013-11-23  浏览:215次

<%

FileSize=new Long( "0 ");
}
String senderEmail=(String)request.getSession().getAttribute( "LoginEmail ");
pathlist.add(exlspath);



request.getSession().removeAttribute( "state ");
if(sm.isValidConfig){
sm.send(senderEmail,ToEmaillist,ToCCEmail,EmailTitle,Emailcctem,pathlist);
sm.stopSending();
}
%>
<script language= "javascript ">

alert( " <%=MLUtils.getResourceString( "QU_BJDSDEM.SendSuccess ")%> ");
window.location.href( '../QU_BJDWH/mainPage.jsp ');

</script>
<%}else if(request.getSession().getAttribute( "ForSetForm ")!=null){
String sss=(String)request.getSession().getAttribute( "ForSetForm ");
request.getSession().setAttribute( "state ", "1 ");
request.getSession().removeAttribute( "ForSetForm ");
%>

<script language= "javascript ">
function checkonsubmit()
{
var CkTomail=document.getElementById( "QU_BJDSDEM.ReceiveEmail ").value;
if(CkTomail== " ")
{
alert( " <%=ROIMSUtilities.getResourceByCode( "QU_BJDSDEM.ReceiveEmail ")%> " + " <%=ROIMSUtilities.getResourceByCode( "ROIMS.Common_field_Mandatory ")%> ");
return false;
}
else
{
return true;
}
}
</script>

<H1 align=center> <%=MLUtils.getResourceString( "QU_BJDWH.conactCustomer ")%> </H1>

文章评论

软件开发程序错误异常ExceptionCopyright © 2009-2015 MyException 版权所有