• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

JDeveloper problem with JSP compilation

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have some JSP code which does not compile in JDeveloper but works fine when deployed in a web server (Websphere).
There is a page called main.jsp with code like:
...
Map clientDataList = (Map) request.getAttribute("clientDataList");
...
<%@ include file="standard1Page.jsp" %>

clientDataList is set in a servlet which forwards to main.jsp. On standard1Page.jsp I want to access the clientDataList object:
...
<%= clientDataList.get("sitealignment") %>
...
But standard1Page.jsp does not compile in JDeveloper because clientDataList is not defined on that page:
Error(2,75): variable clientDataList not found in class _standard1Page

Is this a fundamental problem with JDeveloper not following through the "includes" when doing the project compile, or is there something I can set to make this stuff compile ? If not I'm going to have to edit my JSPs in a text editor so I can compile my project.

Francis
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
I have the same problem !! Have you found a solution or work arround it ?
Thanks
 
author & internet detective
Posts: 42145
937
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hatem,
The original post was a year and a half ago, so that poster may no longer be around. Maybe someone else has encountered the problem though.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic