asp jsp
response.write() out.println()
if then else end if if(){} else{}
if(a=b) if(a==b)
session("name")="abc" session.setAttribute("name","abc");
name=session("name") name=session.getAttribute("name);
response.write() out.println()
if then else end if if(){} else{}
if(a=b) if(a==b)
session("name")="abc" session.setAttribute("name","abc");
name=session("name") name=session.getAttribute("name);
解决方案 »
- hibernate同时保存一对多的两张表发生异常:Cannot add or update a child row
- 求高手帮看个问题!
- 急 急!!page和hrer
- 谁在linux下开发的,分区要多大才合适,包括IDE,数据库,容器等
- jsp一直调不通,各位给看看
- 对于没有工作经验的我,下一步需要怎么走?
- java调用远程打印机问题!!
- Digester的问题?
- #########一个关于FormFile为空的问题###########
- 我想从数据库里导出数据到word里面打印,谁可以给我提供一点资料?
- 对servlet做改动就一定要重启服务器吗???有什么好解决方法吗??我用的是TOMCAT!!
- 请教如何在网页中实现TreeView的问题,欢迎大家参与!
window.location.replace("default.asp")
window.screen.availWidth-10
window.moveTo (cdwidth-400)/2,(cdheight-250)/2
window.open "mainhome.asp","CDCenter","channelmode=no,directorie s=no,fullscreen=no,height=" & cdheight& ",left=0,location=no,menubar=no,resizable=yes,scrollbars=auto,status=no,titlebar=no,toolbar=no,top=0,width=" & cdwidth
如何改写?
能用这种形式吗
if ( ifOnline == 0 )
function window.onload()
{ window.resizeTo(400,400);
int cdwidth=window.screen.availWidth-10;
int cdheight=window.screen.availHeight-30;
windows.open ("index.jsp","YNDLIPCC","channelmode=no,directories=no,fullscreen=no,height=" + cdheight + ",left=0,location=no,menubar=no,resizable=yes,scrollbars=auto,status=no,titlebar=no,toolbar=no,top=0,width=" + cdwidth + ");
settimeout "closeme",3000;
}
else
{ window.location.replace("Login.asp");
}
能用这种形式吗
if ( ifOnline == 0 )
function window.onload()
{ window.resizeTo(400,400);
int cdwidth=window.screen.availWidth-10;
int cdheight=window.screen.availHeight-30;
windows.open ("index.jsp","YNDLIPCC","channelmode=no,directories=no,fullscreen=no,height=" + cdheight + ",left=0,location=no,menubar=no,resizable=yes,scrollbars=auto,status=no,titlebar=no,toolbar=no,top=0,width=" + cdwidth + ");
settimeout "closeme",3000;
}
else
{
function goback()
{
window.location.replace("Login.asp");
}
}
Sub window_onload
window.resizeTo 400,400
dim cdwidth
cdwidth=window.screen.availWidth-10
dim cdheight
cdheight=window.screen.availHeight-30
window.moveTo (cdwidth-400)/2,(cdheight-250)/2
window.open "mainhome.asp","CDCenter","channelmode=no,directorie s=no,fullscreen=no,height=" & cdheight& ",left=0,location=no,menubar=no,resizable=yes,scrollbars=auto,status=no,titlebar=no,toolbar=no,top=0,width=" & cdwidth
settimeout "closeme",3000
End Sub
sub closeme
window.close
end sub
javascript:
<script>
function window_onload() {
window.resizeTo(400,400);
var cdwidth=0;
cdwidth=screen.availWidth-10;
var cdheight=0;
cdheight=screen.availHeight-30;
window.moveTo((cdwidth-400)/2,(cdheight-250)/2);
window.open("mainhome.asp","CDCenter",
"directories=no,location=no,menubar=no,scrollbars=no,status=no,"+
"toolbar=no,resizable=yes,width=" +cdwidth+ ",height="+cdheight+",top=20,left=20");
setTimeout("closeme()",3000);
} function closeme() {
window.close();
}
<%
if ( ifOnline == 0 ) {
%>
<script>
...
</script>
<%
}
%>