facebook

[Closed] Code Completion Question?

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

    mkorcy
    Member

    I’m trying to use struts-layout in a myeclipse project. I’ve added the taglib definition to web.xml, put the struts-layout.jar in /WEB-INF/lib/ and added the .tld file to /WEB-INF but I don’t get code completion on the tags in struts-layout, what steps do I need to take to ensure I can get code completion for additional taglibs I add to my myeclispe webproject?

    Thanks,
    Mike

    Here is my config info:
    *** Date: Fri Dec 09 12:49:47 EST 2005

    *** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.5.0_03

    *** MyEclipse details:
    MyEclipse Enterprise Workbench

    Version: 4.0.3 GA
    Build id: 20051025-4.0.3-GA

    *** Eclipse details:
    Eclipse SDK

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Platform

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse RCP

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Java Development Tools

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Plug-in Development Environment

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Project SDK

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -launcher
    C:\myeclipseide\eclipse\eclipse.exe
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    10cc_50
    -vm
    C:\Program Files\Java\jdk1.5.0_03\bin\javaw.exe

    #242951 Reply

    mkorcy
    Member

    I figured this out. in my web.xml I defined
    <taglib>
    <taglib-uri>/WEB-INF/struts-layout.tld</taglib-uri>
    <taglib-location>/WEB-INF/struts-layout.tld</taglib-location>
    </taglib>

    but the Struts-Layout.jar had its own tld so when i just changed the uri to
    http://struts.application-servers.com/layout

    everything worked as expected.

    Mike

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: [Closed] Code Completion Question?

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