HTTP Status 404 - /myweb/login.jsp--------------------------------------------------------------------------------type Status reportmessage /myweb/login.jspdescription The requested resource (/myweb/login.jsp) is not available.
什么路径不对呀eclipse上运行的。。
什么路径不对呀eclipse上运行的。。
解决方案 »
- Mysql问题!为什么把Mysql数据哭表直接拷到data下提示表不存在
- tomcat发布时要注意的安全配置
- 简单问题。eclipse这写英文是什么
- 给50分,不够再加(tomcat问题)
- 请教高手ServletContext的使用问题!
- 十万火急,高手快来帮帮忙,困扰我一天了
- 怎样用request传递vector
- window.open()父页面设置子页面显示值
- 急!在线等待!!我用 xp系统 resin+mysql+aph 的jsp环境做服务器,经过一天运行后,速度及其慢。求救!
- 谁能给我一个JSP和Servlet结合的简单例子
- 为什么在tomcat里不能播放flash ,单独播放可以?
- 从网上下载的Middlegen-2.1.zip,解压后,build.xml文件有错误
<welcome-file-list>
<welcome-file>login.jsp</welcome-file>
</welcome-file-list>
你可以用下四楼的方法<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
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 'Reply.jsp' starting page</title>
</head>
<body>
<a href="<%= basePath%>test.jsp">链接</a>
</body>
</html>