facebook

include page problum.

💡
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
  • #241689 Reply

    iam235
    Member

    Hi. I am test MyEclipse App.

    Make a two file in same folder.

    one header.jsp, other Main.jsp

    =======================================
    header.jsp…
    <%@ page import = “java.net.Socket”%>
    <%
    Socket kk; // OK

    %>
    =======================================

    =======================================
    main.jsp
    <%@ include file=”header.jsp”%>
    <%
    java.net.Socket so; // Ok
    Socket so1; // Error
    %>
    =======================================

    main.jsp is include header.jsp. I want using Socket class in main.jsp.
    But Import java class in header.jsp.

    Is not MyEclipse resolve this structure?

    Please return solve. Have a good time.

    #241724

    Riyad Kalla
    Member

    This should work, try closing and reopening the file.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: include page problum.

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