facebook

Validation problem with multiple includes

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #241268 Reply

    GFoyle
    Member

    Hi,

    validation seems to fail in the following situation:

    header.jsp has all the package imports to use for the rest of the page

    I include the header in a index.jsp

    Then I also include footer.jsp which includes navi.jsp, from this jps forward the imports do not apply for the validation. It cannot find the classes imported in the header.jps in navi.jsp or any jsp file included by the navi.jsp

    I try to visualize:

    index.jsp
    includes: header.jsp (imports java packages)
    includes: footer.jsp
    includes: navi.jsp (from navi.jsp forward the imports in header.jsp are not found in validation)

    It works in reality.

    Can I do something?

    Cheers
    Ilkka

    #241270

    GFoyle
    Member

    Found the problem. I haven’t been done jsp pages in ages so I wasn’t aware of the whole fragment (jspf) files which those included files seems to need to be.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Validation problem with multiple includes

You must be logged in to post in the forum log in