Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » included jsp objects not resolved
included jsp objects not resolved [message #70396] Mon, 31 January 2005 13:52 Go to next message
stuart mellanby is currently offline stuart mellanbyFriend
Messages: 23
Registered: July 2009
Junior Member
Can eclipse understand/know about an object in an included jsp? if so how?

in the top level jsp:-
<jsp:useBean id="pageBean" scope="request"
type="com.mvc.pagebeans.examplebean" />

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

in the included jsp:-
"pageBean" in example.jsp, throws can't be resolved error.
Re: included jsp objects not resolved [message #70416 is a reply to message #70396] Mon, 31 January 2005 14:26 Go to previous message
Eclipse UserFriend
Originally posted by: pavery.us.ibm.com

The "top level" jsp knows about the files it includes. What's declared
in those included files should be available in the top level document.
(in content assist, validation, etc...).

But if you just have one of the included files open, they do not have
knowledge of any jsp documents (parent documents) that include it, which
was the case you described I believe.

-phil


stuart mellanby wrote:
> Can eclipse understand/know about an object in an included jsp? if so how?
> in the top level jsp:-
> <jsp:useBean id="pageBean" scope="request"
> type="com.mvc.pagebeans.examplebean" />
>
> <%@ include file="includes/queryResultsPage/example.jsp" %>
>
> in the included jsp:-
> "pageBean" in example.jsp, throws can't be resolved error.
>
Previous Topic:Gantt-Tool
Next Topic:Flexible Project Structure: Status and Request for Feedback
Goto Forum:
  


Current Time: Sat Apr 27 00:06:39 GMT 2024

Powered by FUDForum. Page generated in 0.03157 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top