我的jsp网站部署到另一台机器的时候类似于${mseesge}之类的标签都无效了(直接显示出来)是什么原因呢 (系统未作任何改动)
解决方案 »
- 网站前后台分别设置session,后台session设置失效问题
- 请cms高手帮忙!!
- 另存到EXCEL后出现的乱码问题-------------急!急!急!!!!
- 怎么样在tomcat4环境下的网站内支持直接点文件连接下载?
- 在Struts+Hibernate中的错误!(在线急等!!!!!)
- 有关jspsmartupload上传组件封装的问题求救?
- JSF技术和struts的优劣?
- [高分求助]strut中怎么实现类似于CSDN这样的树形结构的页面。
- 求教一些菜问题,大家帮帮忙!
- TO:olvest4000(奥维斯)和 liangxuan1979(不贪),进来领分!
- Servlet不能删除cookie 求助
- 请问Uportal如何以WEB工程的结构部署到Eclipse里面
是这个吧 原来就有 没有动过啊
这句话只对<c:XXX />的标签起作用,你所说的那个是${mseesge}
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<html>
<head>
<base href="<%=basePath%>">
<title>党员管理系统</title>
<script src="frame/bottom_frame/marquee.js"></script>
<link rel="stylesheet" href="./style/6/style.css">
<link rel="shortcut icon" href="./images/icon.ico">
<script language="JavaScript">
//-------------------- 防止出错 ---------------------------
function killErrors()
{
return true;
}
window.onerror = killErrors;
//------------------- 窗口最大化 --------------------------
self.moveTo(0,0);
self.resizeTo(screen.availWidth,screen.availHeight);
self.focus();
// 状态栏显示文字
//window.defaultStatus="";
// <!--屏蔽鼠标右键开始-->
if (window.Event)
document.captureEvents(Event.MOUSEUP);function nocontextmenu()
{
event.cancelBubble = true
event.returnValue = false; return false;
}
function norightclick(e)
{
if (window.Event)
{
if (e.which == 2 || e.which == 3)
return false;
}
else
if (event.button == 2 || event.button == 3)
{
event.cancelBubble = true
event.returnValue = false;
return false;
}
}
document.oncontextmenu = nocontextmenu; // for IE5+
document.onmousedown = norightclick; // for all others
// <!--屏蔽鼠标右键结束-->
</script>
<style type="text/css">
<!--
body {
background-image: url();
margin-left: 0px;
margin-right: 0px;
margin-top: 0px;
margin-bottom: 0px;
}
-->
</style></head>
<body class="bodycolor">
<!-- 图片预载入,防止瞬间显示红叉图片 -->
<img src="../style/6/images/logo.jpg" style="display='none'" />
<img src="../style/6/images/---logo.jpg" style="display='none'" />
<form name="form1" method="post" action="loginServlet">
<table width="100%" height="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="middle">
<table width="581" height="311" border="0" align="center" cellpadding="0" cellspacing="0" class="small">
<tr>
<td id="LOGOIMG" align="right" valign="top" background="style/6/images/logo.jpg" >
<!-- 如果定制图标不存在替换为默认的 -->
<img src="/style/6/images/logo.jpg" onError="LOGOIMG.background='style/6/images/---logo.jpg'" style="display='none'" >
<br><br><br><br><br><br><br>
<table width="400" border="0" cellspacing="8" cellpadding="0" class="small">
<tr><td width="80" align="right"><b><font color=red>${message }</font></b></td></tr>
<tr>
<td width="80" align="right"><b><font color=#0077b2>用户名:</font></b></td>
<td align="left">
<input name="adminaccount" type="text" class="SmallInput" size="12" maxlength="30" value="${param.adminaccount }">
</td>
</tr>
<tr>
<td width="80" align="right"><b><font color=#0077b2>密 码:</font></b></td>
<td align="left"><input name="adminpwd" type="password" class="SmallInput" value="" size="12" maxlength="30"></td>
</tr>
<tr>
<td width="80" align="right"><b><font color=#0077b2>管理员类型:</font></b></td>
<td align="left"><input type="radio" name="admintype" value="1" checked="checked"/><font color=#0077b2>二级管理员</font>
<input type="radio" name="admintype" value="0"/><font color=#0077b2>一级管理员</font></td>
</tr>
</table>
<table width="385" border="0" cellspacing="8" cellpadding="0">
<tr>
<td height="32" align="left"><input type="image" border="0" name="Submit2" src="./style/6/images/login_button_01.gif" width="70" height="22" alt="登陆">
<a href="login.jsp" target="_self"><img border="0" name="imageField2" src="./style/6/images/login_button_02.gif" width="70" height="22" alt="重填"></a></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</body>
</html>