[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details

<jsp:include> tag error when moving from Java 1.4 to 1.5

Asked by drg1022 in Java Server Pages (JSP), JDeveloper, Java Standard Tag Library (JSTL) & Server Tags

Tags: Java, JSP, JDeveloper, Tags

I am working on bringing our application up to Java 1.5 There are no issues to speak of except that I have to start using a new version of JDeveloper. We use the <jsp:include> tag all over the application because of the size of some of the forms. It works right out of the box with the older version, but for some reason, I'm getting compile errors in the newer version of JDev (Studio Edition Version 10.1.3.0.4 (SU3)).

Here is the error I get for every place the tag appears in my code.

Error(26,1): method include(java.lang.String, boolean) not found in class javax.servlet.jsp.PageContext

I don't actually use the flush attribute, only the page attribute. For some reason the compiler is implicitly calling include that way. Secondly, I can't understand why it should be a problem anyway since flush is a valid attribute.

The application builds correctly with my ant scripts and runs correctly on the Oracle 10 application server (don't know the exact version).

The only thing I can figure is that there must be some configuration issue, something that didn't migrate correctly with my project files. I have tried many different options in the project properties, but nothing seems to help.

Any help would be greatly appreciated!!
[+][-]08/05/09 04:27 PM, ID: 25028959Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/05/09 10:45 PM, ID: 25030362Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091021-EE-VQP-81 - Hierarchy / EE_QW_3_20080625