Unable to load class for JSP :jsp移植到linux
在window下程序运行正常,但移植到linux下后会提示Unable to load class for JSP,
页面代码:
<%@ page language="java" contentType="text/html; charset=GBK" pageEncoding="GBK"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>xxx系统 </title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body bgcolor="#000000" text="#99FFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="1000" height="630" border=0 cellpadding=0 cellspacing=0 align="center" background="./images/bg_2.jpg">
<TR height=50>
<TD height=50 > </TD>
<TD align=left colSpan=3 height=64>
<h1 class="title">文件管理系统 </h1>
</TD>
</TR>
<TR height=515>
<td width=20 height=517> </td>
<td width=300 height=517>
<iframe src="left.jsp" allowTransparency="true" width="300" height="517" frameBorder="0" scrolling="no" > </iframe>
</td>
<td width=660>
<iframe name="main" src="main.jsp" width="660" height="517" frameBorder="0" scrolling="auto"> </iframe>
</td>
<TD width=20 height=517> </TD>
</TR>
<TR height=25>
<TD colSpan=4 height=25> </TD>
</TR>
</table>
</body>
</html
将上面的内容保存为html文件没有问题,保存为jsp时打开就会报上面的错误。