facebook

Adding in web.xml [Closed]

💡
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. General Development
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #210808 Reply

    clievers
    Member

    I have a question regarding the automatic addition of <taglib> entries to the Web.XML file when adding Struts capabilities through MyEclipse.

    1. Create Web Project
    2. Add Struts Capabilities
    a. Yes to Install Struts Jars
    b. Yes to Install Struts TLDs

    MyEclipse adds the <servlet> and <servlet-mapping> tags to the Web.XML file appropriately; however, it does not add any of the required <taglib> entries to reference the TLDs that it has installed.

    Is this a bug or is this functionality not available for a reason? My team is currently using version 2.6.200, through Eclipse 2.1.2. Is upgrading to the 2.8 Beta required for this?

    Thank you.

    #210821

    Riyad Kalla
    Member

    however, it does not add any of the required <taglib> entries to reference the TLDs that it has installed.

    Actually they aren’t required because the struts.jar file contains the taglibs in its META-INF directory, which (According to spec) is another valid way to resolve taglibs.

    #210823

    clievers
    Member

    Ok. Thank you very much.

    #210827

    Riyad Kalla
    Member

    No problem, I hope it helped.

    #210831

    clievers
    Member

    I never thought to try without the tags. Just every “tutorial” out there uses it so I was curious why MyEclipse didn’t add it.

    Very cool. Quick reply which is nice.

    Thx again.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Adding in web.xml [Closed]

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