在访问http://localhost:8080的时候可以访问. 那你用什么地址访问时报的那个错? 再就是把那个index.jsp代码发出来看一下。
解决方案 »
- 大家看看这个异常什么原因引起的Communications link failure due to underlying exception
- 求EXTJS例子资料
- java cxf创建webservice flex调用问题
- struts与hibernate整合问题
- 求懂wirdfire(openfire)的兄弟做兼职
- 为什么我安装了Jdk6后在LIB里面找不到tools.jar这个包呢??谢谢
- 一题JAVA基础题~~~请教一下各位,望高人指点
- 小弟初学Java,请各位高手指点迷津!!!
- tomcat的问题,高手救我,1000分都行
- weblogic配置
- 急!!hibernate查询后的list pojo的值竟然相同
- 调用外网接口的问题
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'index.jsp' starting page</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
</head>
<body>
<form id="LoginForm" action="servlet/LoginServlet" method="post">
用户名:<input type="text" id="name" name="name"></br>
密 码:<input type="text" id="password" name="password"></br>
<div align="left"><input type="submit" value="确定">
<input type="reset" value="重置">
</form>
</body>
</html>
ERROR: JDWP Unable to get JNI 1.2 environment, jvm->GetEnv() return code = -2
JDWP exit error AGENT_ERROR_NO_JNI_ENV(183): [../../../src/share/back/util.c:820]
各位多多帮助,小弟不胜感激!