Unable to see %> on JSP Expression, using MyEclipseIDE plug-in... [message #158064] |
Thu, 22 June 2006 04:21  |
Eclipse User |
|
|
|
Originally posted by: untz.hotmail.com
Hello,
I am using Eclipse 3.1 on OS X Tiger, with the MyEclipseIDE plug-in...
My color settings are set as follows:
1. Editor's background is black.
2. Java code is set to white.
3. HTML tags are blue.
4. JSP delimiters are white.
Wrote a simple JSP file and the closing % for my opening JSP Expression
(<%=)
does not appear on the screen, it looks like this:
Code:
<%@ page import = "foo.*" %>
<html>
<body>
The page count is:
<%
<%= Counter.getCount() %>
>
</body>
</html>
Now, when I just toggled / highlighted the code (in order to paste it in
here), I did see it there, but
for some reason or another Eclipse doesn't recognize the <%= and didn't
even code complete the closing %>.
The reason I know it doesn't recognize it is because I get the following
errors and warning:
1. Error:
line 7: illegal start of type: <%= Counter.getCount()
2. Error:
line 11: expected: out.write("\n%>\n\n </body>\n</html>");
3. Warning:
line 8: Invalid character used in text string ( %> ).
Am really disappointed by this! This is such a simple piece of code
and it seems like the MyEclipseIDE plug-in doesn't recognize JSP
expressions ( <%= %> ).
Has anyone seen / experienced a similar problem?
Please help!!!
-Unnsse
|
|
|
|
Powered by
FUDForum. Page generated in 0.07098 seconds