现在的位置: 首页 > 综合 > 正文

myeclipse6.0打开jsp文件出错,报Please check the location and try again!

2012年12月26日 ⁄ 综合 ⁄ 共 595字 ⁄ 字号 评论关闭

我在使用myeclipse6.0的时候遇到了一个问题,在网上搜索一下,现已解决。 
我在myeclipse下建了一个WEB项目project,在WebRoot下建了一个文件夹jsp/user,在jsp/user文件下新建了一个文件index.jsp, 
写了一个简单的框架应用 
<%@ page contentType="text/html;charset=gbk"%> 
<html> 
<frameset cols="2,8">
 <frame src="left.jsp" name="left">
 <frame src="userinfo.jsp" name="right">
</frameset>

</html> 
当我在写  <frame>  的src属性里的第一个字符l的时候跳出对话框提示 
the file /E:/workspace/project/WebRoot/jsp/user/l cannot be found. Please check the location and try again. 
每写一个字符都会跳出这个对话框,而我在写其他的jsp文件的html属性时却没有这样的问题。

网上说是平台的原因,反正不清楚,解决方式如下:

关闭它的jsp图形模式。myeclipse6中打开jsp文件时,右键open with 选MyEclipse JSP Editor,不选MyEclipse Visual JSP Editor模式。

抱歉!评论已关闭.