要疯了,谁帮我看下这段代码

ELONGSSS 2009-01-20 09:21:22
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gbk">
<title></title>
<script src="rsascript/BigInt.js" > </script>
<script src="rsascript/RSA.js" > </script>
<script src="rsascript/Barrett.js" > </script>
</head>

<body>
<FORM name="loginForm" method="post" target="_parent">
<input type="hidden" name="actionValue" value="login">
<table width="100%" height="100%" border="0" align="center">
<tr>
<td align="center" valign="middle"><table width="495" height="247" border="0" align="center" cellspacing="2">
<tr>
<td width="67%" height="115"> </td>
</tr>
<tr>
<td height="246" align="center" valign="middle" background="images/dl-bg.gif"><table width="90%" border="0" cellspacing="5">
<tr>
<td height="26" colspan="4"> </td>
</tr>
<tr>
<td width="2%"><div align="right" class="style1"></div></td>
<td width="51%"><div align="right"><span class="style3">用户名:</span></div></td>
<td colspan="2">
<input name="username" type="text" size="26">
</td>
</tr>
<tr>
<td><div align="right" class="style1"></div></td>
<td><div align="right"><span class="style3">密 码:</span></div></td>
<td colspan="2">
<input id="pwd" name="password" type="password" size="26">
</td>
</tr>
<tr>
<td colspan="2"> </td>
<td width="18%"><div align="right">
<input name="Submit" type="image" value="提交" src="images/bt-1.jpg">
</div></td>
<td width="29%"><div align="center">
<input name="Submit2" type="image" value="提交" src="images/bt-2.jpg">
</div></td>
</tr>
</table></td>
</tr>
<tr>
<td height="86"> </td>
</tr>
</table></td>
</tr>
</table>
</form>
</body>
</html>



问题就在
<script src="rsascript/BigInt.js" > </script>
<script src="rsascript/RSA.js" > </script>
<script src="rsascript/Barrett.js" > </script>

如果只写其中的某一个
如:<script src="rsascript/Barrett.js" > </script>
就没问题

如果3个或2个JS文件一起链接就会报错:行:2 字符:1 错误:语法错误 代码:0


救命啊!!!!!!!!!!!!!!!
...全文
131 11 打赏 收藏 转发到动态 举报
写回复
用AI写文章
11 条回复
切换为时间正序
请发表友善的回复…
发表回复
if_else123 2009-01-20
  • 打赏
  • 举报
回复
js问题,一下是里面有重复的方法了。
ELONGSSS 2009-01-20
  • 打赏
  • 举报
回复
TMD,移动到根目录下就没问题,SESSION的问题,没登录是不能访问那个目录的。
搞定了,结贴
xinyung 2009-01-20
  • 打赏
  • 举报
回复
[Quote=引用 2 楼 ELONGSSS 的回复:]
<script src="rsascript/BigInt.js" > </script>
<script src="rsascript/RSA.js" > </script>
<script src="rsascript/Barrett.js" > </script>
[/Quote]
你看下這三個大小寫,或是路徑有沒有問題
ELONGSSS 2009-01-20
  • 打赏
  • 举报
回复
[Quote=引用 7 楼 xinyung 的回复:]
引用 6 楼 ELONGSSS 的回复:
把JS中的文件复制出来写到当前页面中就没问题了,奇了怪了

拼寫有問題
[/Quote]

哪里的拼写,具体点
xinyung 2009-01-20
  • 打赏
  • 举报
回复
[Quote=引用 6 楼 ELONGSSS 的回复:]
把JS中的文件复制出来写到当前页面中就没问题了,奇了怪了
[/Quote]
拼寫有問題
ELONGSSS 2009-01-20
  • 打赏
  • 举报
回复
把JS中的文件复制出来写到当前页面中就没问题了,奇了怪了
Jacky_Zhu_1983 2009-01-20
  • 打赏
  • 举报
回复
[Quote=引用 3 楼 fondOfJava 的回复:]
估计是js方法有重复了吧,检查下吧!
[/Quote]
顶...
cnyxlxw 2009-01-20
  • 打赏
  • 举报
回复
检查下js文件吧
fondOfJava 2009-01-20
  • 打赏
  • 举报
回复
估计是js方法有重复了吧,检查下吧!
ELONGSSS 2009-01-20
  • 打赏
  • 举报
回复
<script src="rsascript/BigInt.js" > </script>
<script src="rsascript/RSA.js" > </script>
<script src="rsascript/Barrett.js" > </script>

这3句如果只留任何一个都没问题,如果是2个或者3个就出问题了
bluefcxt 2009-01-20
  • 打赏
  • 举报
回复
看不出问题 检查拼写

81,092

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧