Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
keithdfetterman
Post subject: MyEclipse JSP Editor does not like JSP file include statemen  PostPosted: Oct 20, 2006 - 06:11 PM
Veteran Member
Veteran Member


Joined: Aug 07, 2004
Posts: 112

Folks,

I just installed Eclipse 3.2.1 and MyEclipse Version: 5.0 GA Build id: 20060805-5.0-GA. I am running
Sun JDK 1.5.0_09 on RHE 3 WS system.

When I display one of my JSP files, I am getting a validation error on statements like the following:

<%@ include file="/includes/webTrendsDataCollector.jsp" %>

The validation error is: "Syntax error, insert "Finally" to complete TryStatement"

Please help me resolve this.

Thanks,
Keith
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
keithdfetterman
Post subject:   PostPosted: Oct 20, 2006 - 06:42 PM
Veteran Member
Veteran Member


Joined: Aug 07, 2004
Posts: 112

This error isn't as simple as I originally outlined. I looked at another file and discovered that it does not flag every <%@ include file="/includes/webTrendsDataCollector.jsp" %>. Only some of them. Take a look at the following snippet:
Code:

<%@ include file="/includes/tag_lib_defs.jspf" %>
<tiles:insert definition="footer.comp" />
<%@ include file="/includes/webTrendsDataCollector.jsp" %>


The JSP editor only flags the second "include file" statement, but not the first one.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits