facebook

JSP tag library

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

    cdsnow
    Member

    How would I go about setting up a project in ME to recognize a particular tag library? Currently it only recognizes standard tags.

    Thank you,
    C

    #219624 Reply

    Riyad Kalla
    Member

    It will recognize your own taglibraries if you put them in the right place…

      1) Make sure your classes or JAR(s) are in your Java Build Path (or setup as your output dir)
      2) Make sure your TLD files are either under WEB-INF somewhere, or in your META-INF dir of a JAR in your Java Build Path
      3) IF your TLDs are under WEB-INF OR your TLDs do not define a default URI, make sure your setup <taglib> entries correctly in your web.xml file mapping the location to the URI
      4) Make sure your JSP pages use the correct URI from the web.xml file or the default URI from the TLD file.
      * CHeck out this link for detail about how URIs and taglibs are resolved: http://www.myeclipseide.com/FAQ+index-myfaq-yes-id_cat-31.html#251
Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: JSP tag library

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