I'm implementing a web application using jsp/servlet. To reduce complexity and increase productivity, I divided the jsp contents in files that could be reused by another jsp pages by the include tag.
It works fine, but, on the desgin, the Eclipse detects errors and warning like: X cannot be resolved.
X is a class that was declared in a jsp that includes another jsp that uses it.
To better explain it, I have a jsp file, called TabPane, that renders a TabPane on the web page. This jsp file is included by another jsp that defines the tabs properties, like width, height, tabPages, in a TabPane object. This object is used by the TabPane jsp file to correctly render the Tab!
There are any clue to eliminate these warning and error messages? I'm thinking on refactor the jsp pages, but I don't want to affect the reuse.