Posted on 2010-01-13 21:53
斷點 閱讀(2311)
評論(0) 編輯 收藏 所屬分類:
Eclipse
我在使用myeclipse6.0的時候遇到了一個問題,在網(wǎng)上搜索一下,現(xiàn)已解決。
我在myeclipse下建了一個WEB項目project,在WebRoot下建了一個文件夾jsp/user,在jsp/user文件下新建了一個文件index.jsp,
寫了一個簡單的框架應(yīng)用
<%@ 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>
當(dāng)我在寫 <frame> 的src屬性里的第一個字符l的時候跳出對話框提示
the file /E:/workspace/project/WebRoot/jsp/user/l cannot be found. Please check the location and try again.
每寫一個字符都會跳出這個對話框,而我在寫其他的jsp文件的html屬性時卻沒有這樣的問題。
網(wǎng)上說是平臺的原因,反正不清楚,解決方式如下:
關(guān)閉它的jsp圖形模式。myeclipse6中打開jsp文件時,右鍵open with 選MyEclipse JSP Editor,不選MyEclipse Visual JSP Editor模式。
posted @ 2009-02-13 17:56 斷點 閱讀(340) | 評論 (2)