Results 1 to 3 of 3

Thread: Tag Lib....

  1. #1
    Junior Member
    Join Date
    Jun 2007
    Answers
    21

    Tag Lib....

    In Jsp, How to create Tab lib, pl explain.with example


  2. #2
    Contributing Member
    Join Date
    Sep 2006
    Answers
    962

    Re: Tag Lib....

    Go through the following url. It is surely give the answer for your question..

    how to add a custom jsp tag library?


    -----------------------
    suresh


  3. #3
    Junior Member
    Join Date
    Sep 2007
    Answers
    1

    Re: Tag Lib....

    In order to avoid the Java code from JSPs JavaSoft has provided JSP custom tag-library.
    In JSP standard tag libs (JSTL) we have 4 taglibs they are
    1) jstl core:contains tags like out, set, remove etc which are required as part of every application
    To use the tags of jstl core we have to use the directive like
    <@taglib uri="http:// java . sun . com/jstl/core" prefix="c" %>
    <c:set var="vone" value="11" scope="page"/>
    when this tag is evaluated internally it executes
    pagecontext.setAttribute("vone","11");
    vone is the scoped variable name

    2) jstl xml:contains the tags like out,set,remove that deals with xml stuff
    3) jstl sql:contains the tags like setDataSource,query,update... to deal with databases
    4) jstl fmt(i18n):used for the development of i18n web applications


  4.  Sponsored Ads
    Ad


     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact