- This topic has 24 replies, 13 voices, and was last updated 14 years, 7 months ago by support-shalini.
-
AuthorPosts
-
pdesrosierMemberI am trying to open/edit a jsp file and get this error message below. Any idea on how to fix this.
org.mozilla.xpcom.XPCOMException: The function “createComment” returned an error condition (0x80530005)
at org.mozilla.xpcom.internal.XPCOMJavaProxy.callXPCOMMethod(Native Method)
at org.mozilla.xpcom.internal.XPCOMJavaProxy.invoke(XPCOMJavaProxy.java:143)
at $Proxy16.createComment(Unknown Source)
at com.genuitec.eclipse.webdesigner3.DOMCoordinator.createDesignNodeFromSource(DOMCoordinator.java:550)
at com.genuitec.eclipse.webdesigner3.DOMCoordinator.buildDesignDOMChildren(DOMCoordinator.java:439)
at com.genuitec.eclipse.webdesigner3.DOMCoordinator.buildDesignDOMChildren(DOMCoordinator.java:461)
at com.genuitec.eclipse.webdesigner3.DOMCoordinator.buildDesignDOMChildren(DOMCoordinator.java:461)
at com.genuitec.eclipse.webdesigner3.DOMCoordinator.buildDesignDOMChildren(DOMCoordinator.java:461)
at com.genuitec.eclipse.webdesigner3.DOMCoordinator.buildDesignDOMChildren(DOMCoordinator.java:461)
at com.genuitec.eclipse.webdesigner3.DOMCoordinator.buildDesignDOMfromSource(DOMCoordinator.java:424)
at com.genuitec.eclipse.webdesigner3.DOMCoordinator.synchronizeDOMsFromSource(DOMCoordinator.java:194)
at com.genuitec.eclipse.webdesigner3.design.DesignEditSystem.synchronize(DesignEditSystem.java:188)
at com.genuitec.eclipse.webdesigner3.AbstractEditSystem.setSynchronized(AbstractEditSystem.java:24)
at com.genuitec.eclipse.webdesigner3.WebDesigner3.setSynchronized(WebDesigner3.java:113)
at com.genuitec.eclipse.webdesigner3.editors.WebDesignerMultiPageEditor.checkSynchronization(WebDesignerMultiPageEditor.java:943)
at com.genuitec.eclipse.webdesigner3.editors.WebDesignerMultiPageEditor.access$6(WebDesignerMultiPageEditor.java:939)
at com.genuitec.eclipse.webdesigner3.editors.WebDesignerMultiPageEditor$10.run(WebDesignerMultiPageEditor.java:912)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at com.genuitec.eclipse.webdesigner3.editors.WebDesignerMultiPageEditor.designPageChange(WebDesignerMultiPageEditor.java:910)
at com.genuitec.eclipse.webdesigner3.editors.WebDesignerMultiPageEditor.pageChange(WebDesignerMultiPageEditor.java:884)
at org.eclipse.ui.part.MultiPageEditorPart.setActivePage(MultiPageEditorPart.java:973)
at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:314)
at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:661)
at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:428)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594)
at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:266)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2820)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2729)
at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2721)
at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2673)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2668)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2652)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2643)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:646)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:605)
at org.eclipse.ui.internal.ide.handlers.OpenResourceHandler.execute(OpenResourceHandler.java:124)
at org.eclipse.ui.internal.ide.handlers.OpenResourceHandler.run(OpenResourceHandler.java:176)
at org.eclipse.ui.internal.handlers.ActionDelegateHandlerProxy.execute(ActionDelegateHandlerProxy.java:289)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:472)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:824)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:882)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:571)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:512)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:127)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1184)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1002)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1040)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1036)
at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1352)
at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:3894)
at org.eclipse.swt.widgets.Canvas.WM_CHAR(Canvas.java:341)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3787)
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:337)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4528)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2371)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3420)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
Scott AndersonParticipantpdesrosier,
Can you provide the following:
1) What operating system and version are you running?
2) What version of MyEclipse are you running
3) What version of JRE are you running MyEclipse with?
4) All the information shown when you select MyEclipse > Installation Summary > Installation DetailsWith that information we should be able to determine what’s going on.
pdesrosierMember*** Date:
Thursday, June 18, 2009 11:57:57 AM EDT** System properties:
OS=WindowsXP
OS version=5.1.0
Java version=1.6.0_13*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 7.5
Build id: 7.5-20090609*** Eclipse details:
MyEclipse Enterprise WorkbenchVersion: 7.5
Build id: 7.5-20090609Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\Program Files\Genuitec\MyEclipse 7.1\myeclipse.exe
-name
Myeclipse
–launcher.library
C:\Program Files\Genuitec\MyEclipse 7.1\../Common\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.101.R34x_v20080731\eclipse_1115.dll
-startup
C:\Program Files\Genuitec\MyEclipse 7.1\../Common\plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20081125.jar
-exitdata
f94_40
-clean
-configuration
configuration
-vm
C:\Program Files\Genuitec\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\bin\javaw.exe
Loyal WaterMemberpdesrosier,
Could you switch to a brand new workspace and try opening this JSP file again. What editor are you using to open this JSP file?Incase the problem persists in the new workspace as well, can you paste a sample file here for us.
invantixMember@support-nipun wrote:
pdesrosier,
Could you switch to a brand new workspace and try opening this JSP file again. What editor are you using to open this JSP file?
.I am getting this error as well
Could not open the editor: The function “createComment” returned an error condition (0x80530005)
org.mozilla.xpcom.XPCOMException: The function “createComment” returned an error condition (0x80530005)
at org.mozilla.xpcom.internal.XPCOMJavaProxy.callXPCOMMethod(Native Method)
at org.mozilla.xpcom.internal.XPCOMJavaProxy.invoke(XPCOMJavaProxy.java:143)
at $Proxy6.createComment(Unknown Source)
at com.genuitec.eclipse.webdesigner3.DOMCoordinatorUtils.addCommentWithData(DOMCoordinatorUtils.java:398)
at com.genuitec.eclipse.webdesigner3.DOMCoordinator.createSpecialDesignNode(DOMCoordinator.java:724)
at com.genuitec.eclipse.webdesigner3.DOMCoordinator.createDesignElementFromSource(DOMCoordinator.java:669)
at com.genuitec.eclipse.webdesigner3.DOMCoordinator.createDesignNodeFromSource(DOMCoordinator.java:539)
Loyal WaterMemberinvantix,
Can you paste a sample JSP file here for me. What editor are you using to open the JSP file?Also, please go to MyEclipse > Installation Summary > Installation Details and paste the information here for me so that I can get this tested with the same configuration.
damickMemberI just upgraded to MyEclipse 7.5 and I am getting the createComment error as well. Below is a simple jsp snippet with only a comment which gives the error. If I remove the line in red, the jsp editor opens correctly. This wasn’t a problem with MyEclipse 7.1
<%–
** Tyco Electronics, Employee Confidential, Copyright August 04, 2003
**
** ID: $RCSfile$ $Revision$ – $Date$
**
** * * * * * * * * * * * * * * * MODIFICATIONS * * * * * * * * * * * * * *
** —date——–name—————description————————–
** 08/04/2003 D. Amick Initial version.
**
**************************************************************************
–%>
damickMemberActually. the error only occurs when opening files with the “MyEclipse Visual JSP Designer”. The “MyEclipse JSP Editor” works fine.
Erling MoldeMemberI’m getting the “createComment” error with the following JSP-file (among others):
<%@ page language="java" isThreadSafe="true" pageEncoding="UTF-8" import=" biz.infored.apps.tk.Adgangskontroll, biz.infored.apps.tk.KolonneSortering, biz.infored.apps.tk.TjenestebeskrivelseID, biz.infored.apps.tk.beans.SearchBean, biz.infored.apps.tk.beans.TjenesteIndexBean, biz.infored.apps.tk.utils.HtmlUtils, biz.infored.apps.tk.utils.Search, biz.infored.apps.tk.utils.SessionUtils, biz.infored.apps.tk.utils.TkConstants, biz.infored.apps.tk.utils.TkUtils, biz.infored.apps.tk.utils.Utils, biz.infored.utils.DbUtils, biz.infored.utils.DisplayUtils, biz.infored.utils.I18nUtils, biz.infored.utils.OrderedHashtable, biz.infored.utils.SafeMessageFormat, biz.infored.utils.StringUtils, org.apache.commons.logging.LogFactory, org.apache.commons.logging.Log, java.sql.Connection, java.sql.PreparedStatement, java.sql.ResultSet, java.sql.Timestamp, java.util.* " %><%! Log LOG = LogFactory.getLog("biz.infored.apps.ltk.jsp.tjenestebeskrivelse_liste"); String synder = null; %> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <jsp:useBean id="loginInfoBean" scope="session" class="biz.infored.apps.tk.beans.LoginInfoBean" /> <jsp:setProperty name="loginInfoBean" property="fraDatabase" value="<%= request %>" /> <jsp:useBean id="innstillinger" scope="session" class="biz.infored.apps.tk.beans.InnstillingerBean" /> <% Connection connection = null; String fritekstsok = ""; String kategoriIDString = ""; String avdIDString = ""; String statusIDString = ""; List<Locale> valgteLocale = null; String actionUrl = "search_utfor"; int avdID = 0; int kategoriID = 0; int statusID = 0; String basePath = request.getContextPath(); String imageBase = basePath+"/_img/"; Locale appLocale = loginInfoBean.getLocale(); boolean isVisArkiverte = false; if ("1".equals(request.getParameter("destroySearch"))) SearchBean.destroySearch(session); SearchBean searchBean = SearchBean.getSearchBean(session); if(searchBean != null) { fritekstsok=searchBean.getFritekstsok(); avdID=searchBean.getAvdID(); kategoriID=searchBean.getKategoriID(); statusID=searchBean.getStatusID(); isVisArkiverte=searchBean.isVisArkiverte(); valgteLocale = searchBean.getValgteSprak(); } else { searchBean = new SearchBean(); valgteLocale = new ArrayList<Locale>(); valgteLocale.add(appLocale); searchBean.setValgteSprak(valgteLocale); SearchBean.setSearchBean(session, searchBean); } int roleLevel = loginInfoBean.getRoleLevel(); StringBuffer delUrl = new StringBuffer(response.encodeURL("slette")); if ( delUrl.length() == "slette".length() ) delUrl.append("?"); else delUrl.append("&"); try { %><!DOCTYPE HTML PUBLIC "-//w3c//dtd html 4.0 transitional//en"> <html> <head> <title>Nasjonal tjenestekatalog</title> <link rel="stylesheet" href="<%= basePath %>/_css/tjenestekatalog.css" type="text/css" /> <SCRIPT language="JavaScript"> <!--hide var popupRedirURL = "./index.jsp"; function slett_element(navn,tjeneste) { var msg; if (confirm('<%=HtmlUtils.escapeForJS(SafeMessageFormat.format(I18nUtils.getString("tjeneste_liste.js.vilduslette",appLocale),"\"\' + navn + \'\""))%>')) { window.location="<%= delUrl %>" + "tjenestebeskrivelseID=" + tjeneste; } return false; } // ------------------------------------------------------------------------------- function nyLokasjon(Url) { window.location=Url; return false; } // ------------------------------------------------------------------------------- //--> </SCRIPT> </head> <body background="<%= imageBase %>bg_topp.gif" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> <jsp:useBean id="malliste" scope="page" class="biz.infored.utils.javabeans.TableBean" /><% connection = DbUtils.getConnection("biz.infored.apps.ntk.jsp.tjenestebeskrivelse.index"); String sokUrl = response.encodeURL("sok"); Utils.printToolTip1(pageContext); Utils.printToolTip2(pageContext); %> <script LANGUAGE="JavaScript1.2"> <!-- var vindu; function apneVindu(url,hoyde,bredde) { var name = "malpopup"; var x = ( screen.availWidth - bredde ) / 2; var y = ( screen.availHeight - hoyde ) / 2; var features ="toolbar=1,location=1,directories=1,status=1,menubar=1,scrollbars=1,copyhistory=1,resizable=1,width="+bredde+",height="+hoyde+",top="+y+",left="+x; //var features ="<%= TkUtils.POPUP_WINDOW_FEATURES %>width="+bredde+",height="+hoyde+",top="+y+",left="+x vindu = window.open(url,name,features); vindu.moveTo(x,y); vindu.focus(); } function nyttVindu(url,hoyde,bredde) { apneVindu(url,hoyde,bredde); } <%-- // *************************************************************************** // Velg nytt språk // *************************************************************************** --%> function velgNyttSprak(tjenestebeskrivelseID) { nyttVindu('<%=basePath%>/tjenestebeskrivelse/nyttsprak.jsp?tjenestebeskrivelseID='+tjenestebeskrivelseID,470,460); } <%-- // *************************************************************************** // Endre tjenestebeskrivelse // *************************************************************************** --%> function velgEndreBeskrivelse(tjenestebeskrivelseID) { nyttVindu('<%=basePath%>/tjenestebeskrivelse/velgtjenesteforendring.jsp?tjenestebeskrivelseID='+tjenestebeskrivelseID,470,460); } <%-- // *************************************************************************** // Slett tjenestebeskrivelse // *************************************************************************** --%> function velgSlettBeskrivelse(tjenestebeskrivelseID) { nyttVindu('<%=basePath%>/tjenestebeskrivelse/velgtjenesteforsletting.jsp?tjenestebeskrivelseID='+tjenestebeskrivelseID,470,460); } //--> </script> <table width="737" border="0" align="center" cellpadding="0" cellspacing="0"> <tr valign="middle"> <td width="737" height="51" colspan="3" align="right" background="<%= imageBase %>bg_logotopp.gif"><span class="head"><%= I18nUtils.getString("_global.tittel.hoved", appLocale) %></span><br> <span class="subhead">Kommuneforlaget</span> </td> </tr> <tr> <td width="4" height="76" align="left" valign="top"><img src="<%= imageBase %>venstretopp.gif" width="4" height="76"></td> <td width="729" align="left" valign="top"> <table width="729" height="76" border="0" cellpadding="0" cellspacing="0"> <tr align="left" valign="top"> <td width="4" height="76"><img src="<%= imageBase %>toppfelt_venstrekant.gif" width="4" height="76"></td> <td width="200" bgcolor="#CCCC00"> <table width="200" height="76" border="0" cellpadding="0" cellspacing="0"> <tr> <td colspan="3"><img src="<%= imageBase %>spacer.gif" width="200" height="5"></td> </tr> <tr> <td width="5" rowspan="2"><img src="<%= imageBase %>spacer.gif" width="5" height="5"></td> <td width="200" align="left" valign="top" class="greenmenusub"><%= I18nUtils.getString("tjeneste_liste.side.undertittel",appLocale) %></td> <td width="5" rowspan="2"><img src="<%= imageBase %>spacer.gif" width="5" height="66"></td> </tr> <tr> <td width="200" align="left" valign="bottom" class="greenmenuhead"><%= I18nUtils.getString("tjeneste_liste.side.tittel",appLocale) %></td> </tr> <tr> <td colspan="3"><img src="<%= imageBase %>spacer.gif" width="200" height="5"></td> </tr> </table> </td> <td width="7" bgcolor="#CCCC00"><img src="<%= imageBase %>toppfelt_centerkant.gif" width="7" height="76"></td> <td width="514" bgcolor="#CCCC00"> <% Utils.printMenu(pageContext, Utils.MK_BESKRIVELSER,loginInfoBean.isAbonnementsansvarlig()); %> </td> <td width="3" height="76" align="right" bgcolor="#CCCC00"><img src="<%= imageBase %>toppfelt_hoyrekant.gif" width="3" height="76"></td> </tr> </table> </td> <td width="4" height="76" align="right" valign="top"><img src="<%= imageBase %>hoyretopp.gif" width="4" height="76"></td> </tr> <tr> <td width="4" rowspan="5" align="left" valign="top" background="<%= imageBase %>bg_venstremarg.gif"> </td> <td width="729" align="left" valign="top"><p><img src="<%= imageBase %>spacer.gif" width="729" height="15"></p></td> <td width="4" rowspan="5" align="left" valign="top" background="<%= imageBase %>bg_hoyre.gif"> </td> </tr> <% String orgNR = innstillinger.getOrgNr(); //"123456789"; boolean rowEven = false; String sql = ""; String statusTekst = ""; PreparedStatement stmt = null; ResultSet rs = null; try { TjenesteIndexBean[] indexEntries = TjenesteIndexBean.indexListe(connection, session, loginInfoBean, request, response, isVisArkiverte,"TJENESTE",null); KolonneSortering sortering = KolonneSortering.getInstanceBeskrivelser(session); rowEven = false; String newUrl = response.encodeURL(basePath+"/tjenestemal/velgmal.jsp"); String alt = I18nUtils.getString("tjeneste_liste.lede.nybeskrivelse",appLocale); %><%! /* private final static Map dbSortering; static { dbSortering = new HashMap(); dbSortering.put("navn","6"); dbSortering.put("oppdatert","7"); dbSortering.put("status","8"); dbSortering.put("versjon","2"); } */ String sorteringURL(KolonneSortering sortering,String kolonne,HttpServletResponse response) { String order = sortering.getMotsattRetning(kolonne); return response.encodeURL("sortering?orderBy="+kolonne+"&order="+order); } %> <% /******************************************************************************************************************************** * Hjelpetekster * Hvis både tittel og tekst ikke inneholder verdi vil ikke tool-tip vises. ********************************************************************************************************************************/ String i18nSide = "tjeneste_liste"; %> <c:if test="${!(loginInfoBean.oversetter || loginInfoBean.korrekturleser)}"> <tr> <td align="left" valign="top"> <table width="729" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="10" rowspan="2"><img src="<%= imageBase %>spacer.gif" width="10" height="1"></td> <td width="628" height="18" align="left"> <% String msgs = SessionUtils.getMessage(session); if (msgs.length() > 0) out.println("<div class=\"meldinger\">"+msgs+"</div>"); msgs = SessionUtils.getError(session); if (msgs.length() > 0) out.println("<div class=\"feilmeldinger\">"+msgs+"</div>"); %> </td> <td width="80" align="left"> </td> <td width="10" rowspan="2"><img src="<%= imageBase %>spacer.gif" width="10" height="1"></td> </tr> <tr> <td> <table border="0" cellpadding="0" cellspacing="0"> <tr> <td> <table border="0" cellpadding="0" cellspacing="0"> <% Search.printSokeLinje(pageContext,request,response,connection,out,loginInfoBean,actionUrl,searchBean,false); %> </table> </td> <% if (loginInfoBean.isLokalAdministrator()) { %> <td nowrap style="padding-top:4px"> <a href="enkelListe.jsp"><%= I18nUtils.getString("tjeneste_liste.tekst.enkel_liste",appLocale) %></a></td> <% } %> </tr> </table> </td> </tr> <tr><td> </td></tr> <tr> <td colspan="2" align="left" valign="bottom"> <table height="18" border="0" align="left" cellpadding="0" cellspacing="0" id="Table_01"> <tr> <td width="22"><a href="<%= newUrl %>"><img src="<%= imageBase %>knapp_ny.gif" width="22" height="18" border="0"></a></td> <td height="18" align="center" valign="middle" background="<%= imageBase %>bg_knapp.gif" bgcolor="#FFFFFF" class="knapp"><a href="<%= newUrl %>"> ny beskrivelse </a></td> <td> <img src="<%= imageBase %>knapp_03.gif" width="3" height="18"></td> </tr> </table> <table width="300" border="0" align="right" cellpadding="0" cellspacing="0"> <tr> <td class="tekst" nowrap><img src="<%= imageBase %>ikon_ny_versjon.gif" width="18" height="9"> - <%= I18nUtils.getString("tjeneste_liste.knapp.nyversjon",appLocale) %></td> <td class="tekst"> </td> <td class="tekst" nowrap><img src="<%= imageBase %>knapp_sprak.gif" width="16" height="10"> - <%= I18nUtils.getString("tjeneste_liste.knapp.nyttsprak",appLocale) %></td> <td class="tekst"> </td> <td class="tekst" nowrap><img src="<%= imageBase %>ikon_endre.gif" width="12" height="12"> - <%= I18nUtils.getString("tjeneste_liste.knapp.endre",appLocale) %></td> <td> </td> <td class="tekst" nowrap><img src="<%= imageBase %>ikon_slett.gif" width="9" height="12"> - <%= I18nUtils.getString("tjeneste_liste.knapp.slett",appLocale) %></td> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <td align="left" valign="top"><img src="<%= imageBase %>spacer.gif" width="729" height="8"></td> </tr> </c:if> <tr> <td> <% boolean isOversetter = loginInfoBean.isOversetter(); boolean isKorrekturleser = loginInfoBean.isKorrekturleser(); boolean isUtvikler = loginInfoBean.isUtvikler(); Locale minLocale = loginInfoBean.getLocale(); if (isKorrekturleser || isOversetter) { %> <table width="729" border="0" cellspacing="0" cellpadding="0"> <tr bgcolor="#CCCC00"> <td width="4" background="<%= imageBase %>venstrebg_green.gif"><img src="<%= imageBase %>venstrebg_green.gif" width="4" height="16"></td> <td width="100%" align="left" valign="middle" class="menyheads"> <a href="<%= sorteringURL(sortering,"navn",response) %>"><%= TkUtils.hjelpetekst(i18nSide,"navn",appLocale) %></a></td><%-- Navn --%> <td width="7" align="left" valign="middle" background="<%= imageBase %>centerbg_green.gif"><img src="<%= imageBase %>centerbg_green.gif" width="7" height="16"></td> <td width="86" align="left" valign="middle" class="menyheads"> <%= TkUtils.hjelpetekst(i18nSide,"sprak",appLocale) %></td><%-- Språk --%> <td width="7" align="left" valign="middle" background="<%= imageBase %>centerbg_green.gif"><img src="<%= imageBase %>centerbg_green.gif" width="7" height="16"></td> <td width="86" align="left" valign="middle" class="menyheads"> <%= TkUtils.hjelpetekst(i18nSide,"oppdatert",appLocale) %></td><%-- Oppdatert --%> <td width="7" align="left" valign="middle" background="<%= imageBase %>centerbg_green.gif"><img src="<%= imageBase %>centerbg_green.gif" width="7" height="16"></td> <td width="87" align="left" valign="middle" class="menyheads"> <%= TkUtils.hjelpetekst(i18nSide,"status",appLocale) %></td><%-- Status --%> <td width="7" align="left" valign="middle" background="<%= imageBase %>centerbg_green.gif"><img src="<%= imageBase %>centerbg_green.gif" width="7" height="16"></td> <td width="86" align="left" valign="middle" class="menyheads"> <%= TkUtils.hjelpetekst(i18nSide,"versjon",appLocale) %></td><%-- Versjon --%> <td width="7" align="left" valign="middle" background="<%= imageBase %>centerbg_green.gif"><img src="<%= imageBase %>centerbg_green.gif" width="7" height="16"></td> <td align="left" valign="middle" colspan="2"><img src="<%= imageBase %>spacer.gif" width="95" height="10"></td> <td width="3" align="left" valign="middle" background="<%= imageBase %>hoyrebg_green.gif"><img src="<%= imageBase %>hoyrebg_green.gif" width="3" height="16"></td> </tr> <% String ns = "s"; if (indexEntries.length > 0 ) { for (int i = 0, max = indexEntries.length; i < max; i++) { TjenesteIndexBean indexEntry = indexEntries[i]; int status = indexEntry.getStatus(); String statustekst = indexEntry.getStatusTekst(); String navn = DisplayUtils.neverEmpty(indexEntry.getNavn()); TjenestebeskrivelseID tjenestebeskrivelseID = indexEntry.getTjenestebeskrivelseID(); // Behandling av varianter List sprakEntries = indexEntry.getIndexEntries(); Iterator subIter = sprakEntries.iterator(); TjenesteIndexBean subEntry = null; while (subIter.hasNext()) { subEntry = (TjenesteIndexBean) subIter.next(); Locale locale = subEntry.getLocale(); if (! locale.equals(minLocale)) continue; boolean driveOn = false; switch (subEntry.getStatus()) { case TkUtils.TB_STATUS_TIL_OVERSETTING: case TkUtils.TB_STATUS_UNDER_OVERSETTING: if (isOversetter) driveOn = true; break; case TkUtils.TB_STATUS_OVERSATT: if (isKorrekturleser) driveOn = true; break; } if (!driveOn) continue; TjenestebeskrivelseID subTbID = subEntry.getTjenestebeskrivelseID(); boolean isFraOversettingtabell = subEntry.isFraOversettingtabell(); String endreUrl = response.encodeURL("oversett.jsp?tjenestebeskrivelseID=" + subTbID + "&op=reset&isFraOversettingtabell=" + isFraOversettingtabell); %> <tr bgcolor="<%= isFraOversettingtabell ? "#DDBBBB" : (rowEven) ? "#D7DBFD" : "#FFFFFF" %>"> <td background="<%= imageBase %>venstrebg_blue.gif"><img src="<%= imageBase %>venstrebg_blue.gif" width="4" height="16"></td> <td width="100%" valign="middle" class="menytekst"><%= navn %></td> <td background="<%= imageBase %>centerbg_blue.gif"><img src="<%= imageBase %>centerbg_blue.gif" width="7" height="16"></td> <%-- Start rad for 1. språkvariant --%> <td align="left" valign="middle" class="menytekst"><%= subEntry.getSprak() %></td> <td background="<%= imageBase %>centerbg_blue.gif"><img src="<%= imageBase %>centerbg_blue.gif" width="7" height="16"></td> <td valign="middle" class="menytekst" nowrap="nowrap"><%= subEntry.getDatoOppdatert(TkUtils.DATO_TID_FORMATERING) %></td> <td background="<%= imageBase %>centerbg_blue.gif"><img src="<%= imageBase %>centerbg_blue.gif" width="7" height="16"></td> <td align="left" nowrap valign="middle" class="menytekst"><%= subEntry.getStatusTekst() %></td> <td background="<%= imageBase %>centerbg_blue.gif"><img src="<%= imageBase %>centerbg_blue.gif" width="7" height="16"></td> <td background="<%= imageBase %>centerbg_blue.gif"><img src="<%= imageBase %>centerbg_blue.gif" width="7" height="16"></td> <td valign="middle" class="menytekst"><%= subTbID.getVersjon() %>.<%= subEntry.getRevisjon() %></td> <td valign="middle" class="menytekst"><a href="<%= endreUrl %>"><span class="tekst"><img src="<%= imageBase %>ikon_endre.gif" width="12" height="12" border="0"> </span></a></td> </tr> <% } } } %> </table> <% } else { %> <table width="729" border="0" cellspacing="0" cellpadding="0"> <tr bgcolor="#CCCC00"> <td width="4" background="<%= imageBase %>venstrebg_green.gif"><img src="<%= imageBase %>venstrebg_green.gif" width="4" height="16"></td> <td width="100%" align="left" valign="middle" class="menyheads"> <a href="<%= sorteringURL(sortering,"navn",response) %>"><%= TkUtils.hjelpetekst(i18nSide,"navn",appLocale) %></a></td><%-- Navn --%> <td width="7" align="left" valign="middle" background="<%= imageBase %>centerbg_green.gif"><img src="<%= imageBase %>centerbg_green.gif" width="7" height="16"></td> <td width="86" align="left" valign="middle" class="menyheads"> <%= TkUtils.hjelpetekst(i18nSide,"sprak",appLocale) %></td><%-- Språk --%> <td width="7" align="left" valign="middle" background="<%= imageBase %>centerbg_green.gif"><img src="<%= imageBase %>centerbg_green.gif" width="7" height="16"></td> <td width="86" align="left" valign="middle" class="menyheads"> <%= TkUtils.hjelpetekst(i18nSide,"oppdatert",appLocale) %></td><%-- Oppdatert --%> <td width="7" align="left" valign="middle" background="<%= imageBase %>centerbg_green.gif"><img src="<%= imageBase %>centerbg_green.gif" width="7" height="16"></td> <td width="86" align="left" valign="middle" class="menyheads"> <%= TkUtils.hjelpetekst(i18nSide,"ajouransv",appLocale) %></td><%-- Ajouransvarlig --%> <td width="7" align="left" valign="middle" background="<%= imageBase %>centerbg_green.gif"><img src="<%= imageBase %>centerbg_green.gif" width="7" height="16"></td> <td width="87" align="left" valign="middle" class="menyheads"> <%= TkUtils.hjelpetekst(i18nSide,"status",appLocale) %></td><%-- Status --%> <td width="7" align="left" valign="middle" background="<%= imageBase %>centerbg_green.gif"><img src="<%= imageBase %>centerbg_green.gif" width="7" height="16"></td> <td width="86" align="left" valign="middle" class="menyheads"> <%= TkUtils.hjelpetekst(i18nSide,"versjon",appLocale) %></td><%-- Versjon --%> <td width="7" align="left" valign="middle" background="<%= imageBase %>centerbg_green.gif"><img src="<%= imageBase %>centerbg_green.gif" width="7" height="16"></td> <td align="left" valign="middle" colspan="2"><img src="<%= imageBase %>spacer.gif" width="95" height="10"></td> <td width="3" align="left" valign="middle" background="<%= imageBase %>hoyrebg_green.gif"><img src="<%= imageBase %>hoyrebg_green.gif" width="3" height="16"></td> </tr> <% String ns = "s"; if (indexEntries.length > 0 ) { for (int i = 0, max = indexEntries.length; i < max; i++) { TjenesteIndexBean indexEntry = indexEntries[i]; int status = indexEntry.getStatus(); String statustekst = indexEntry.getStatusTekst(); String navn = DisplayUtils.neverEmpty(indexEntry.getNavn()); TjenestebeskrivelseID tjenestebeskrivelseID = indexEntry.getTjenestebeskrivelseID(); String nyVersjonUrl = response.encodeURL("endre.jsp?tjenestebeskrivelseID="+tjenestebeskrivelseID+"&op=nv"); String nyttSprakUrl = response.encodeURL("endre.jsp?tjenestebeskrivelseID="+tjenestebeskrivelseID+"&op=ns"); // Behandling av varianter List sprakEntries = indexEntry.getIndexEntries(); int antSprak = sprakEntries.size(); String rowspan = antSprak > 1 ? " rowspan=\"" + antSprak + "\"" : ""; Iterator subIter = sprakEntries.iterator(); TjenesteIndexBean subEntry = (TjenesteIndexBean) subIter.next(); boolean kanRedigere = false; boolean kanSlette = false; switch (subEntry.getStatus()) { case TkUtils.TB_STATUS_KLADD: kanSlette = kanRedigere = roleLevel >= Adgangskontroll.RL_INNHOLDSLEVERANDOR; break; case TkUtils.TB_STATUS_GODKJENT: kanSlette = kanRedigere = roleLevel >= Adgangskontroll.RL_GODKJENNER; break; case TkUtils.TB_STATUS_PUBLISERT: case TkUtils.TB_STATUS_ARKIVERT: kanSlette = kanRedigere = roleLevel >= Adgangskontroll.RL_LOKAL_ADMIN; case TkUtils.TB_STATUS_TIL_OVERSETTING: kanSlette = kanRedigere = ( roleLevel == Adgangskontroll.RL_REDAKTOR || roleLevel == Adgangskontroll.RL_LOKAL_ADMIN || roleLevel == Adgangskontroll.RL_ADMIN || roleLevel == Adgangskontroll.RL_UTVIKLER ); case TkUtils.TB_STATUS_UNDER_OVERSETTING: kanSlette = kanRedigere = ( roleLevel == Adgangskontroll.RL_REDAKTOR || roleLevel == Adgangskontroll.RL_LOKAL_ADMIN || roleLevel == Adgangskontroll.RL_ADMIN || roleLevel == Adgangskontroll.RL_UTVIKLER ); case TkUtils.TB_STATUS_OVERSATT: kanSlette = kanRedigere = ( roleLevel == Adgangskontroll.RL_REDAKTOR || roleLevel == Adgangskontroll.RL_LOKAL_ADMIN || roleLevel == Adgangskontroll.RL_ADMIN || roleLevel == Adgangskontroll.RL_UTVIKLER ); case TkUtils.TB_STATUS_KORREKTURLEST: kanSlette = kanRedigere = ( roleLevel == Adgangskontroll.RL_REDAKTOR || roleLevel == Adgangskontroll.RL_LOKAL_ADMIN || roleLevel == Adgangskontroll.RL_ADMIN || roleLevel == Adgangskontroll.RL_UTVIKLER ); break; } TjenestebeskrivelseID subTbID = subEntry.getTjenestebeskrivelseID(); boolean isFraOversettingtabell = subEntry.isFraOversettingtabell(); String endreUrl = response.encodeURL("endre.jsp?tjenestebeskrivelseID=" + subTbID + "&op=reset&isFraOversettingtabell=" + isFraOversettingtabell); String slettUrl = "javascript:velgSlettBeskrivelse('" + subTbID + "')"; %> <tr bgcolor="<%= (rowEven = !rowEven) ? "#D7DBFD" : "#FFFFFF" %>"> <td background="<%= imageBase %>venstrebg_blue.gif"<%= rowspan %>><img src="<%= imageBase %>venstrebg_blue.gif" width="4" height="16"></td> <td width="100%" valign="middle" class="menytekst"<%= rowspan %>><%= navn %></td> <td background="<%= imageBase %>centerbg_blue.gif"<%= rowspan %>><img src="<%= imageBase %>centerbg_blue.gif" width="7" height="16"></td> <%-- Start rad for 1. språkvariant --%> <td align="left" valign="middle" class="menytekst"><%= subEntry.getSprak() %></td> <td background="<%= imageBase %>centerbg_blue.gif"><img src="<%= imageBase %>centerbg_blue.gif" width="7" height="16"></td> <td valign="middle" class="menytekst" nowrap="nowrap"><%= subEntry.getDatoOppdatert(TkUtils.DATO_TID_FORMATERING) %></td> <td background="<%= imageBase %>centerbg_blue.gif"><img src="<%= imageBase %>centerbg_blue.gif" width="7" height="16"></td> <td valign="middle" class="menytekst"><%= subEntry.getNavnAjouransvarlig() %></td> <td background="<%= imageBase %>centerbg_blue.gif"><img src="<%= imageBase %>centerbg_blue.gif" width="7" height="16"></td> <td align="left" valign="middle" class="menytekst" nowrap><%= subEntry.getStatusTekst() %></td> <td background="<%= imageBase %>centerbg_blue.gif"><img src="<%= imageBase %>centerbg_blue.gif" width="7" height="16"></td> <td valign="middle" class="menytekst"><a href="revisjonslogg.jsp?tjenestebeskrivelseID=<%=subTbID.toString()%>&revisjon=<%= subEntry.getRevisjon() %>" target=_blank><%= subTbID.getVersjon() %>.<%= subEntry.getRevisjon() %></a></td> <td background="<%= imageBase %>centerbg_blue.gif"><img src="<%= imageBase %>centerbg_blue.gif" width="7" height="16"></td> <td valign="middle" class="menytekst"> <table width="20" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td> <% if (kanRedigere) { %> <a href="<%= endreUrl %>"><span class="tekst"><img src="<%= imageBase %>ikon_endre.gif" width="12" height="12" border="0"> </span></a><% } %> </td> </table> </td> <%-- Slutt rad for 1. språkvariant --%> <td valign="middle" class="menytekst"<%= rowspan %>> <table width="60" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td<%= rowspan %>> <% if (kanRedigere) { %> <a href="<%= slettUrl %>"> <img src="<%= imageBase %>ikon_slett.gif" width="9" height="12" border="0"></a><% } %> </td> <td> <%-- Nytt språk --%> <% if (indexEntry.harAlleSprak()) { %> <% } else { %> <a href="javascript: <% Locale sisteSprak = indexEntry.getSisteSprak(); if (sisteSprak == null) out.print("velgNyttSprak('" + tjenestebeskrivelseID + "')"); else out.print("nyLokasjon('endre.jsp?tjenestebeskrivelseID=" + tjenestebeskrivelseID + "&locale=" + sisteSprak + "&op=" + "ns')"); %> "><img src="<%= imageBase %>knapp_sprak.gif" width="16" height="10" border=0></a><% } %> </td> <td class="tekst"><a href="<%= nyVersjonUrl %>"><img src="<%= imageBase %>ikon_ny_versjon.gif" width="18" height="9" border=0></a></td> </tr> </table> </td> <td background="<%= imageBase %>hoyrebg_blue.gif" bgcolor="#D7DBFD"<%= rowspan %>><img src="<%= imageBase %>hoyrebg_blue.gif" width="3" height="16"></td> </tr><% while (subIter.hasNext()) { subEntry = (TjenesteIndexBean) subIter.next(); kanRedigere = false; kanSlette = false; switch (subEntry.getStatus()) { case TkUtils.TB_STATUS_KLADD: kanSlette = kanRedigere = roleLevel >= Adgangskontroll.RL_INNHOLDSLEVERANDOR; break; case TkUtils.TB_STATUS_GODKJENT: kanSlette = kanRedigere = roleLevel >= Adgangskontroll.RL_GODKJENNER; break; case TkUtils.TB_STATUS_PUBLISERT: case TkUtils.TB_STATUS_ARKIVERT: kanSlette = kanRedigere = roleLevel >= Adgangskontroll.RL_LOKAL_ADMIN; case TkUtils.TB_STATUS_TIL_OVERSETTING: kanSlette = kanRedigere = ( roleLevel == Adgangskontroll.RL_REDAKTOR || roleLevel == Adgangskontroll.RL_LOKAL_ADMIN || roleLevel == Adgangskontroll.RL_ADMIN || roleLevel == Adgangskontroll.RL_UTVIKLER ); case TkUtils.TB_STATUS_UNDER_OVERSETTING: kanSlette = kanRedigere = ( roleLevel == Adgangskontroll.RL_REDAKTOR || roleLevel == Adgangskontroll.RL_LOKAL_ADMIN || roleLevel == Adgangskontroll.RL_ADMIN || roleLevel == Adgangskontroll.RL_UTVIKLER ); case TkUtils.TB_STATUS_OVERSATT: kanSlette = kanRedigere = ( roleLevel == Adgangskontroll.RL_REDAKTOR || roleLevel == Adgangskontroll.RL_LOKAL_ADMIN || roleLevel == Adgangskontroll.RL_ADMIN || roleLevel == Adgangskontroll.RL_UTVIKLER ); case TkUtils.TB_STATUS_KORREKTURLEST: kanSlette = kanRedigere = ( roleLevel == Adgangskontroll.RL_REDAKTOR || roleLevel == Adgangskontroll.RL_LOKAL_ADMIN || roleLevel == Adgangskontroll.RL_ADMIN || roleLevel == Adgangskontroll.RL_UTVIKLER ); break; } subTbID = subEntry.getTjenestebeskrivelseID(); isFraOversettingtabell = subEntry.isFraOversettingtabell(); if (isFraOversettingtabell) endreUrl = response.encodeURL("oversett.jsp?tjenestebeskrivelseID=" + subTbID + "&op=reset&isFraOversettingtabell=" + isFraOversettingtabell); else endreUrl = response.encodeURL("endre.jsp?tjenestebeskrivelseID=" + subTbID + "&op=reset&isFraOversettingtabell=" + isFraOversettingtabell); slettUrl = "javascript:velgSlettBeskrivelse('" + subTbID + "')"; %> <tr bgcolor="<%= isFraOversettingtabell ? "#DDBBBB" : (rowEven) ? "#D7DBFD" : "#FFFFFF" %>"> <%-- Start rad for hver språkvariant --%> <td align="left" valign="middle" class="menytekst"><%= subEntry.getSprak() %></td> <td background="<%= imageBase %>centerbg_blue.gif"><img src="<%= imageBase %>centerbg_blue.gif" width="7" height="16"></td> <td valign="middle" class="menytekst" nowrap="nowrap"><%= subEntry.getDatoOppdatert(TkUtils.DATO_TID_FORMATERING) %></td> <td background="<%= imageBase %>centerbg_blue.gif"><img src="<%= imageBase %>centerbg_blue.gif" width="7" height="16"></td> <td valign="middle" class="menytekst"><%= subEntry.getNavnAjouransvarlig() %></td> <td background="<%= imageBase %>centerbg_blue.gif"><img src="<%= imageBase %>centerbg_blue.gif" width="7" height="16"></td> <td align="left" nowrap valign="middle" class="menytekst"><%= subEntry.getStatusTekst() %></td> <td background="<%= imageBase %>centerbg_blue.gif"><img src="<%= imageBase %>centerbg_blue.gif" width="7" height="16"></td> <td valign="middle" class="menytekst"><a href="revisjonslogg.jsp?tjenestebeskrivelseID=<%=subTbID.toString()%>&revisjon=<%= subEntry.getRevisjon() %>" target=_blank><%= subTbID.getVersjon() %>.<%= subEntry.getRevisjon() %></a></td> <td background="<%= imageBase %>centerbg_blue.gif"><img src="<%= imageBase %>centerbg_blue.gif" width="7" height="16"></td> <td valign="middle" class="menytekst"> <table width="20" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td> <% if (kanRedigere) { %> <a href="<%= endreUrl %>"><span class="tekst"><img src="<%= imageBase %>ikon_endre.gif" width="12" height="12" border="0"> </span></a><% } %> </td> </table> </td> <%-- Slutt rad for hver språkvariant --%> </tr> <% } %> <%-- </td> --%> <%-- </tr> --%> <% } } else { %> <tr> <td colspan="14"><h2><%= I18nUtils.getString("tjeneste_liste.tekst.ingen_beskrivelser_funnet",appLocale) %></h2></td> </tr> <% } ns = "s"; %> </table> <% } %> <% } catch ( Exception e ) { out.println("</table>"); %> <div class="feilmelding"><%= I18nUtils.getString("_global.feil.databasefeil",appLocale) %></div> <% } finally { if ( stmt != null ) try { stmt.close(); } catch(Exception e){} if ( connection != null ) try { connection.close(); connection = null; } catch ( Exception e ) {} } %> <tr valign="top" height="1"> <td colspan="13" bgcolor="#CCCC00"></td> </tr> <tr height="120%"><td colspan="13" align="right" bgcolor="#FFFFFF">Versjon: ${ VERSJON }</td></tr> </table> </body> </html><%}catch(Exception myEx){ System.err.println("Oh no! It failed!"); myEx.printStackTrace(); if (connection != null) connection.close(); }%>
I’ve tried to open other files with similar “levels of messiness” without problem, though.
(“messiness”=mixing large portions of java/javascript/html)My versions of Eclipse/MyEclipse/Windows/Java is similar to that reported by others on this topic.
Loyal WaterMemberI was able to reproduce this issue at my end as well. Thank you for posting the JSP file. Im going to file this for investigation. As a workaround, you can use the MyEclipse JSP editor for now. Sorry for the inconvenience caused.
mikekonikoffMemberI have the same problem with jsp visual designer. It is caused by having a double hyphen “–” inside a jsp comment.
How do I switch from the visual designer to the jsp editor?
rmcvayMember@mikekonikoff wrote:
I have the same problem with jsp visual designer. It is caused by having a double hyphen “–” inside a jsp comment.
How do I switch from the visual designer to the jsp editor?
Is the double hyphen to which you refer an “additional” one like:
<%– now is — the time — for all — good men –%> or
<%——————— new section ——————%> ?Or is it simply the fact that a JSP/Java comment is being used?
rmcvayMemberBTW, the reason I asked is because my examples are examples of invalid comment syntax.
Loyal WaterMemberHow do I switch from the visual designer to the jsp editor?
You should go to Windows > Prefs > General > Editors > File Associations and select *.jsp. In the associated editors window choose the MyEclipse JSP Editor and hit the default button to make it the default editor.
monroeMemberI too have this problem (and a lot of JSPs that won’t open).
Any ETA or Update on when this IMHO Show Stopper bug will be addressed? Loosing major editor functionality as a workaround should not be a long term fix.
FWIW – Ray is wrong in that JSP comments with — embedded are invalid. That is an HTML comment syntax rule. Here are the JSP omment syntax rules:
http://java.sun.com/products/jsp/tags/11/syntaxref11.fm2.html
These clearly state… “You can use any characters in the body of the comment except the closing –%> combination.”
-
AuthorPosts