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.
%>