facebook

Syntax errors in
  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #208303 Reply

    aka3
    Member

    In the code that I show below
    you will find that I have misspelled the class in the jsp:useBean
    aka.MyBeanxx does not exist. I should write aka.MyBean as
    the import statement also indicates

    Problem:
    1) I get no red sourceline mark that I have misspelled aka.MyBeanxx
    2) When I compile from the project root .. Yes my .JSP file is flagged
    3) When I try to use some autocompletion as shown under the useBean
    statements, it turns out that
    X) when no errors in spelling of the class –> autocompletion works
    Y) when errors in spelling of the class –> autocompletion BEEPS me.

    best regards
    Anders Kr. Andersen

    <%@ page language=”java”%>
    <%@ page import=”aka.MyBean” %>
    <%
    System.out.println(“test”);
    %>
    <H1>TEXT FROM MYBEAN </H1>
    <jsp:useBean id=”mybean” class=”aka.MyBeanxx” scope=”request”>
    <jsp:setProperty name=”mybean” property=”msg” value=”this is text”/>

    <H2><jsp:getProperty name=”mybean” property=”msg”/></H2>
    </jsp:useBean>
    <%
    request.
    %>

    #208311 Reply

    Riyad Kalla
    Member

    1) I get no red sourceline mark that I have misspelled aka.MyBeanxx

    This is strange and sounds like an installation problem. Did you install the Eclipse SDK or JDT? If you just installed the Eclipse ‘platform’ that might help explain what is going on.

    X) when no errors in spelling of the class –> autocompletion works
    Y) when errors in spelling of the class –> autocompletion BEEPS me.

    Unfortunately this is a known weakness with the JSP editor, it breaks when the JSP file being edited has errors in it. We are working to take care of this in a future release.

    #208331 Reply

    aka3
    Member

    Again thanks for the rapid response
    Yes the coloring is strange, Now after I completed the tutorials I suddently started working …..

    #208336 Reply

    Riyad Kalla
    Member

    Now after I completed the tutorials I suddently started working …..

    That IS strange… atleast I am glad to hear you are working now. Let us know if you run into any more trouble.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Syntax errors in

You must be logged in to post in the forum log in