Announcement Announcement Module
Collapse
No announcement yet.
Code reference to Java file in another project rather than its home project Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Code reference to Java file in another project rather than its home project

    I have two projects in STS 2.8, A and B.
    The java statement
    <%AdhTOC selTO = (AdhTOC)session.
    getAttribute(DataManagementConstantsC.ADH_ATTR_SEL ECTION_TO);
    %>
    in jsp file adh.jsp in A\WebContent\ (in project A)
    references the Java file DataManagementConstantsC.java in another project B\javaresource\src\DataManagementP\.
    Logically, it should reference some java file in project A\javaresource\src\. (in fact, there is no such a file DataManagementConstantsC.java in A\javaresource\src\; therfore, an error should be reported in editor)

    I use F3 and Linked with Editor to find out the above issue.
    Anyone could help me about it. Thank you very much.

    David

  • #2
    Hey David!

    Could you attach the projects or a sample project at reproduces this? That would be great.

    Thanks,
    Martin

    Comment

    Working...
    X