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