facebook

How to Configure custom taglib in web.xml

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

    FranVarin
    Member

    We are in the process of converting from WSAD to Eclipse/MyEclipse. One point that I can’t seem to put my finger on is how to configure a custom taglib descriptor in the web.xml using MyEclipse. In WSAD, when you edit the web.xml there is a series of dialogs that parses the xml and presents a nice interface for making changes quickly…this appears to not exist in MyEclipse.

    I’ve tried editing the web.xml manually and looking at the configuration for the project under properties but, cannot locate where I should configure the custom taglig. I’ve searched the various forums on this site as well but, have not turned up an answer. Any help would be greatly appreciated.

    #246245 Reply

    Riyad Kalla
    Member

    We are in the process of converting from WSAD to Eclipse/MyEclipse. One point that I can’t seem to put my finger on is how to configure a custom taglib descriptor in the web.xml using MyEclipse. In WSAD, when you edit the web.xml there is a series of dialogs that parses the xml and presents a nice interface for making changes quickly…this appears to not exist in MyEclipse.

    You would need to do it by hand if the taglibs you are using don’t define default URIs or if you don’t want to use the default URIs.

    I’ve tried editing the web.xml manually and looking at the configuration for the project under properties but, cannot locate where I should configure the custom taglig. I’ve searched the various forums on this site as well but, have not turned up an answer. Any help would be greatly appreciated.

    THe ordering of the file is importnat, if it’s web 2.3 spec, you enter them near the bottom:
    <taglib</taglib>

    if it is web 2.4 spec, they must go inside of <jsp-config> tags near the bottom.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: How to Configure custom taglib in web.xml

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