Error in using tag library

          I am using Weblogic server 8.1 and have a struts app. I am using the random taglib
          from jarkarta and recieving this error while using weblogic. With the same setup
          in tomcat everything works fine. What do I need to do special for weblogic?
          ERROR FROM WEBLOGIC
          /control/register/newMember.jsp(1): Error in using tag library uri='http://jakarta.apache.org/taglibs/random-1.0'
          prefix='randME': For tag 'string', cannot load extra info class 'org.apache.taglibs.random.RandomStrgTEI'
          probably occurred due to an error in /control/register/newMember.jsp line 1:
          <%@ taglib uri="http://jakarta.apache.org/taglibs/random-1.0" prefix="randME"
          %>
          taglibs-random.jar is in WEB-INF/lib
          random.tld is in WEB-INF
          the taglib include in my jsp looks like this:
          <%@ taglib uri="http://jakarta.apache.org/taglibs/random-1.0" prefix="randME"
          %>
          the call in my jsp looks like this:
          <randME:number id="random1" range="10000000-99999999"/>
          my web.xml looks like this:
          <taglib>
          <taglib-uri>http://jakarta.apache.org/taglibs/random-1.0</taglib-uri>
          <taglib-location>/WEB-INF/random.tld</taglib-location>
          </taglib>
          any help would be appreciated
          

This may not solve your problem, but WL8.1 SP1 seems to have a problem with
          closing tags.
          Where you are using:
          <randME:number id="random1" range="10000000-99999999"/>
          ...try this instead:
          <randME:number id="random1" range="10000000-99999999"></randME:number>
          This problem is fixed in SP2.
          -- Craig
          "ssandy" <[email protected]> wrote in message news:[email protected]...
          >
          > I am using Weblogic server 8.1 and have a struts app. I am using the
          random taglib
          > from jarkarta and recieving this error while using weblogic. With the
          same setup
          > in tomcat everything works fine. What do I need to do special for
          weblogic?
          >
          > ERROR FROM WEBLOGIC
          >
          > /control/register/newMember.jsp(1): Error in using tag library
          uri='http://jakarta.apache.org/taglibs/random-1.0'
          > prefix='randME': For tag 'string', cannot load extra info class
          'org.apache.taglibs.random.RandomStrgTEI'
          > probably occurred due to an error in /control/register/newMember.jsp line
          1:
          > <%@ taglib uri="http://jakarta.apache.org/taglibs/random-1.0"
          prefix="randME"
          > %>
          >
          > taglibs-random.jar is in WEB-INF/lib
          > random.tld is in WEB-INF
          >
          > the taglib include in my jsp looks like this:
          > <%@ taglib uri="http://jakarta.apache.org/taglibs/random-1.0"
          prefix="randME"
          > %>
          >
          > the call in my jsp looks like this:
          > <randME:number id="random1" range="10000000-99999999"/>
          >
          > my web.xml looks like this:
          > <taglib>
          > <taglib-uri>http://jakarta.apache.org/taglibs/random-1.0</taglib-uri>
          > <taglib-location>/WEB-INF/random.tld</taglib-location>
          > </taglib>
          >
          > any help would be appreciated
          

Similar Messages

  • Error in using tag library uri='weblogic.tld'

    Hmmm...
    I'm trying to config my userprofile by creating it in the tools application (myserver/tools/index.jsp),
    but when I try to access the Unified Profile Types I get an Error 500 Internal
    Server Error in my webbrowser. The weblogic.log prints out an errormessage that
    sounds something like this:
    ####<30-Aug-01 16:30:14 CEST> <Error> <HTTP> <Ast-WT01> <server01> <ExecuteThread:
    '14' for queue: 'default'> <system> <> <101020> <[WebAppServletContext(3530676,tools)]
    Servlet failed with Exception>
    weblogic.servlet.jsp.JspException: (line 24): Error in using tag library uri='weblogic.tld'
    prefix='wl': For tag 'repeat', cannot load extra info class 'weblogicx.jsp.tags.RepeatTagInfo'
    I'm running weblogic 6.0 and wlcs 3.5. I'm sure of that the tag libraries are
    correct and they are located under tools/web-inf.

    Hmmm...
    I'm trying to config my userprofile by creating it in the tools application (myserver/tools/index.jsp),
    but when I try to access the Unified Profile Types I get an Error 500 Internal
    Server Error in my webbrowser. The weblogic.log prints out an errormessage that
    sounds something like this:
    ####<30-Aug-01 16:30:14 CEST> <Error> <HTTP> <Ast-WT01> <server01> <ExecuteThread:
    '14' for queue: 'default'> <system> <> <101020> <[WebAppServletContext(3530676,tools)]
    Servlet failed with Exception>
    weblogic.servlet.jsp.JspException: (line 24): Error in using tag library uri='weblogic.tld'
    prefix='wl': For tag 'repeat', cannot load extra info class 'weblogicx.jsp.tags.RepeatTagInfo'
    I'm running weblogic 6.0 and wlcs 3.5. I'm sure of that the tag libraries are
    correct and they are located under tools/web-inf.

  • Weblogic.servlet.jsp.JspException: (line 1): Error in using tag library uri

    Previously my web app was running fine using eclipse 3.1
    When I upgraded my eclipse to 3.2 then built the same web app and deployed, upon running the url i got error
    weblogic.servlet.jsp.JspException: (line 1): Error in using tag library uri='/tags/css' prefix='css' : cannot find tag class
    Your help is appreciated.

              Hi Guys
              Problem is almost certainly because I've gone and defined the get as returning
              an int, (hence no property!)
              Apols
              J
              

  • Error while using Tag Library in Weblogic !

    Hi,
    I am trying to run a JSP in weblogic which makes use of tag library in it. I am getting the following error
    C:\bea\weblogic81\samples\domains\examples\.\examplesServer\.wlnotdelete\extract\examplesServer_Bidla_Bidla\jsp_servlet\_registration\__finish.java:192: cannot resolve symbol
    probably occurred due to an error in /Registration/Finish.jsp line 29:
    <as:email>
    Corresponding Full compiler error(s): is
    C:\bea\weblogic81\samples\domains\examples\.\examplesServer\.wlnotdelete\extract\examplesServer_Bidla_Bidla\jsp_servlet\_registration\__finish.java:192: cannot resolve symbol
    symbol : variable EVAL_BODY_BUFFERED
    location: interface javax.servlet.jsp.tagext.BodyTag
    if (_int0 == BodyTag.EVAL_BODY_BUFFERED) { //[ /Registration/Finish.jsp; Line: 29]
    ^
    I have 10 errors like this, just for simplicity, I haven't posted them all.
    The JSP runs fine with Tomcat.
    I don't have servlet.jar anywhere in my classpath nor in my application\WEB-INF\lib
    Please help.
    Thanks !

    Hi,
    I am still facing the same problem even after placing servlet.jar and struts.jar files in application\WEB-INF\lib\ directory. Can you please guide me what may be the reason for it.
    Thanks in advance.
    Regards,
    Prashanth.

  • Error when using tag library !

    Hi,
              I am trying to run a JSP in weblogic which makes use of tag library in it. I am getting the following error
              C:\bea\weblogic81\samples\domains\examples\.\examplesServer\.wlnotdelete\extract\examplesServer_Bidla_Bidla\jsp_servlet\_registration\__finish.java:192: cannot resolve symbol
              probably occurred due to an error in /Registration/Finish.jsp line 29:
              <as:email>
              Corresponding Full compiler error(s): is
              C:\bea\weblogic81\samples\domains\examples\.\examplesServer\.wlnotdelete\extract\examplesServer_Bidla_Bidla\jsp_servlet\_registration\__finish.java:192: cannot resolve symbol
              symbol : variable EVAL_BODY_BUFFERED
              location: interface javax.servlet.jsp.tagext.BodyTag
              if (_int0 == BodyTag.EVAL_BODY_BUFFERED) { //[ /Registration/Finish.jsp; Line: 29]
              ^
              I have 10 errors like this, just for simplicity, I haven't posted them all.
              The JSP runs fine with Tomcat.
              I don't have servlet.jar anywhere in my classpath nor in my application\WEB-INF\lib
              Please help.
              Thanks !

    Problem solved when i made the jar file of class files in my tag library and placed the jar file in application\WEB-INF\lib
              Thanks !

  • Problems with JSP - using tag library with Weblogic 8.1

    I am getting the following error when I try to run a web application called "regain":
    /searchinput.jsp(2): Error in using tag library uri='regain-search.tld' prefix='search': cannot find tag class: 'net.sf.regain.ui.server.taglib.MsgTag'
    probably occurred due to an error in /searchinput.jsp line 2:
    <%@taglib uri="regain-search.tld" prefix="search" %>
    The classes that the .tld file points to are in the web applications WEB-INF/classes directory and I have put this path into my classpath environment variable (running Windows 2000 Server).
    This application runs fine on Tomcat.
    I can't not figure out whether is error is masking another error or what. I've tried using JDK and Jrockit for my web app - no luck.
    Please help! Thanks!

    anyone? :/

  • About screen flow (using tag library)

    dear all, i have the following problem...
    according to the sample about using tag library to make the screen flow of jsp pages, i successfully construct the tag for showing pages as needing. it works ok but when the number of pages exceeds 29, an exception arrises:
    Exception:
    java.lang.VerifyError: jsp_eventmanager_html.template
    in which template is the jsp page for the tags... i do try to set the size of the buffer but it does no help.
    can anyone help me solve this problem? thanks in advance...
    yinman.
    null

    sure,
    in the message.jsp
        <p>
        <!-- use messages tag to display errors -->
        <logic:messagesPresent>
          <bean:message key="error.header"/>
            <ul>
              <html:messages id="error">
                <li><bean:write name="error"/></li>
              </html:messages>
            </ul>
         </logic:messagesPresent>
         <p>
        <!-- use messages tag to display messages -->
        <logic:messagesPresent message="true">
          <bean:message key="message.header"/>
            <ul>
              <html:messages message="true" id="msg">
                <li><bean:write name="msg"/></li>
              </html:messages>
            </ul>
        </logic:messagesPresent>in the tablibs.jsp
    <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
    <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>

  • My Jsp is showing error while using tag liabrary in code

    Error(3,48): FIXED type Attribute value not equal to the default value 'http://java.sun.com/xml/ns/j2ee'.
    Error(4,14): Attribute 'xmlns:xsi' used but not declared.
    Error(5,23): Attribute 'xsi:schemaLocation' used but not declared.
    Error(6,12): Attribute 'version' used but not declared.
    Error(8,15): Invalid element 'description' in content of 'taglib', expected elements '[tlibversion]'.
    Error(8,15): Element 'description' used but not declared.
    Error(9,16): Invalid element 'display-name' in content of 'taglib', expected elements '[tlibversion]'.
    Error(9,16): Element 'display-name' used but not declared.
    Error(10,16): Invalid element 'tlib-version' in content of 'taglib', expected elements '[tlibversion]'.
    Error(3): Unable to load taghandler class: http://java.sun.com/jsp/jstl/core

    What is the JDeveloper version? What is the JSP version required for the tag library?

  • How can i use tag library in the mvc?

    hello
    in some tag libraris such as jakarta tag library and jrun tag library,there is database
    access tag, it provide convenient function to access database from jsp page,but i wonder how can i use such a tag within MVC architecture.
    as we know,in MVC architecture,all requests from the jsp pages are submit to the controller servlet,then the controller manipulate ejb to access database,it don't allow the database access from the jsp page.
    who can tell me how can i combine the tag library with mvc architecture appropriately?
    thank you!

    You can't! If you decide to limit the JSP to be part of the View component, obviously you should not include tags that directly access the database. If the strict MVC architecture is less important to you, then the tags can save coding time. It's your choice.

  • LabVIEW PDA reports COREDLL.DLL error when using Call Library Function Node

    I'm trying to build a LV PDA app that calls an external DLL file built using embedded visual C. When configuring the Call Library Function node I select the stub DLL, configure the I/O parameters and select OK. When the configuration dialog closes I get the following error:
    LabVIEW: LabVIEW.exe - Unable to Locate Component
    This application has failed to start because COREDLL.DLL was not found. Re-installing the application may fix this problem.
    I do not get this error when using the configuration dialog in the example VIs.
    Any suggestions as to the cause and/or the solution?
    Thanks,
    Ryan

    Hello -
    When you create a PDA VI that calls a DLL, you must include the .c or .lib file that corresponds to the DLL. Take a look at these documents:
    LabVIEW PDA Module Build Errors with VIs that Call DLLs
    Why Do I Receive Errors When Calling a C++ DLL from a Call Library Node Using the LabVIEW PDA Module...
    How To Call External Code in LabVIEW PDA for Palm OS
    H
    ow To Call External Code in LabVIEW PDA for Pocket PC
    Hope this helps!
    S Vences
    Applications Engineer
    National Instruments

  • Using tag library to create a tree in jsp

    Hi,
    I want to create a tree in a JSP page whose node values are obtained from the database. The number of children of a particular node is known only during the construction of the tree.
    Root
    |---Node I
    |----Node I Level 1 Child 1
    |----Node I Level 1 Child 2
    |----Node I Level 1 Child 2 SubLevel Child 1
    |----Node I Level 1 Child 2 SubLevel Child 2
    |---Node I Level 1 Child 2 SubLevel Child 2 Subsub Level1
    |----Node I Level 1 Child 3
    |---Node I Level 1 Child 3 SubLevel Child 1
    |---Node II
    |---Node n
    These node values are obtained from the database. Any early help is appreciated. Helping in tree construction using JSP & Tag Libraries is requested (not swings). Also help me in deploying the same in Tomcat 4.0 server.
    Regards
    Vimal

    I am not very knowledgable in tag libraries. Bust using pure java, you can do something like this:
    Create Node and NodeRenderer java classes. These classes will have methods to access their siblings, parent and its properties and to render itself using HTML code. When you read the database to retreive the tree structure, you can build a hierarchy of nodes. Each Node can render itself and by doing an appropriate traversal, the tree can be rendered.

  • Error in using struts tag library

    Platform information:
    Windows XP
    BEA Weblogic Server 8.1 (Developer)
    Struts 1.1
    I am unable to compile the following JSP in weblogic because it says there is
    an error using the struts-html tag library. (Details about the error are mentioned
    after the JSP)
    My JSP file is:
    ===================================================================
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
    <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
    <%@ taglib uri='/WEB-INF/struts-template.tld' prefix='template' %>
    <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
    <%@ page import="com.hipaaccelerator.runtime.HARuntime" %>
    <jsp:useBean id='logonForm' scope='request' class='com.hipaaccelerator.hipaax.form.LogonForm'/>
    <html:html>
    <head>
    <title>Logon</title>
    <link rel='stylesheet' href="<html:rewrite page='/styles/default.css'/>" type='text/css'
    >
    <script language='javascript' src="<html:rewrite page='/scripts/default.js'/>"
    type='text/javascript'></script>
    </head>
    <body>
    <html:form action='/logon.do' >     
         <table border='0' align='center' >
              <tr><td height='10'></td></tr>
              <tr>
    <td align='center'>
    <html:img src='/images/Logo.gif' height='70'
    width='449'/>
    </td>
    </tr>
              <tr><td height='10'></td></tr>
         </table>
         <table align='center' width='100%' >
         <tr><td height='10'></td></tr>
         <tr>
         <td height='20' width='10%'> </td>
         <td height='20' colspan='3' align='center' style="font-size: 18pt; color:
    blue;
    background-color: white; text-align:center">PAC
    </td>
         <td height='20' width='10%'> </td>
         </tr>
         <tr><td height='10'></td></tr>
         <tr>
         <td height='20' width='10%'> </td>
         <td height='20' width='8%'> </td>
         <td height='20' align='center' style="border-style:solid; border-width:2pt;
    font-
    size: 10pt; color: red; background-color: white; text-align:center">
    <%= HARuntime.instance().getConfig().getProperty("logonAnnouncement")
    %>
    </td>
         <td height='20' width='8%'> </td>
         <td height='20' width='10%'> </td>
         </tr>
         <tr><td height='10'></td></tr>
         </table>
         <table border='0' align='center' >               
         <tr>
    <td class='formfieldname' ><b>User Name: </td>
         <td class='formfield'>
         <html:text property='username' maxlength='20' size='20'/>
         </td>
         </tr>
         <tr><td class='formfieldspacer'></td></tr>
         <td class='formfieldname' ><b>Password:</b> </td>
         <td class='formfield'>
         <html:password property="password" size="20" maxlength="20"
    redisplay="false"/>
         </td>
         </tr>
         <tr><td class='formfieldspacer'></td></tr>
         <tr>
    <td colspan='2' align='middle'>
         <html:image src='/images/login.gif' onclick='document.forms[0].submit();
    return false;' />     
         </td>
    </tr>
    </table>
    <br><br>
    </html:form>     
    </body>
    </html:html>
    ===================================================================
    The translation of this page fails with the following error:
    <Dec 16, 2003 5:06:13 PM MST> <Error> <HTTP> <BEA-101045> <[ServletContext(id=4595,name=hipaax,context-path=/hipaax)]
    translation of /logon.jsp failed:
    weblogic.servlet.jsp.JspException: (line 1): Error in using tag library uri='/WEB-INF/struts-html.tld'
    prefix='html': The Tag class 'org.apache.struts.taglib.html.BaseTag' has no setter
    method corresponding to TLD declared attribute 'server', (JSP 1.1 spec, 5.4.1)>
    ===================================================================
    I have struts.jar in /web-inf/lib. I have taglib (uri and location) definitions
    in web.xml.I have all the struts tld files under /web-inf. Is there anything
    else I have to do?
    Any help would be greatly appreciated.
    Thank you.
    Sharmila

    Update: I just looked up the WL version and it's 8.1 sp3
              So, I guess, JSTL 1.1 (which includes jstl fn tags) is not supported by WL.... Someone correct me if I am wrong.
              Thanks,
              pal :)

  • T:tabChangeListener tag not recognized error when using in facelets

    I am trying to use tomahawk's TabChangeListener with PanelTabbedPane, but when I add the tabChangeListener tag in the body of the <t:panelTabbedPane /> , I get an error: "<t:tabChangeListener> Tag Library supports namespace: http://myfaces.apache.org/tomahawk, but no tag was defined for name: tabChangeListener". I have used many other tomahawk components with no problem. Do I have to configure my tomahawk taglib to include that tag? I am using tomahawk in facelets.
    Here is facelets source:
    <ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:c="http://java.sun.com/jstl/core"
        xmlns:t="http://myfaces.apache.org/tomahawk" xmlns:fn="http://java.sun.com/jsp/jstl/functions" xmlns:fr="http://myproject.com/test/jsf">
    <t:panelTabbedPane selectedIndex="#{coverageDisplay.startIndex}" serverSideTabSwitch="#{true}">
              <t:panelTab label="#{lbls.vehCovDetailsTab1}" rendered="#{vehiclesBean.vehicles.rowCount > 0}" >
                  <fr:vehCovSummTab />
              </t:panelTab>
              <t:panelTab label="#{lbls.vehCovDetailsTab2}" rendered="#{vehiclesBean.vehicles.rowCount > 3}" >
                  <fr:vehCovSummTab />
              </t:panelTab>
              <t:panelTab label="#{lbls.vehCovDetailsTab3}" rendered="#{vehiclesBean.vehicles.rowCount > 6}" >
                  <fr:vehCovSummTab />
              </t:panelTab>
              <t:tabChangeListener type="myproject.MyTabChangeListener" />
    </t:panelTabbedPane>My tomahawk.taglib.xml:
        <tag>
            <tag-name>panelTabbedPane</tag-name>
            <component>
                <component-type>org.apache.myfaces.HtmlPanelTabbedPane</component-type>
                <renderer-type>org.apache.myfaces.TabbedPane</renderer-type>
            </component>
        </tag>My tomahawk.tld:
            <!-- panelTabbedPane -->
        <tag>
            <name>panelTabbedPane</name>
            <tag-class>org.apache.myfaces.custom.tabbedpane.HtmlPanelTabbedPaneTag</tag-class>
            <body-content>JSP</body-content>
                    <!-- UIPanel attributes -->
            <!-- UIComponent attributes -->
            <attribute>
                <name>id</name>
                <required>false</required>
                <rtexprvalue>false</rtexprvalue>
                <type>java.lang.String</type>
                <description>Every component may have an unique id. Automatically created if omitted.</description>
            </attribute>
            <attribute>
                <name>rendered</name>
                <required>false</required>
                <rtexprvalue>false</rtexprvalue>
                <type>java.lang.String</type>
                <description>If false, this component will not be rendered.</description>
            </attribute>
            <attribute>
                <name>binding</name>
                <required>false</required>
                <rtexprvalue>false</rtexprvalue>
                <type>java.lang.String</type>
                <description>Component binding.</description>
            </attribute>
            <!-- HTML 4.0 universal attributes -->
            <attribute><name>dir</name>     <required>false</required>  <rtexprvalue>false</rtexprvalue></attribute>
            <attribute><name>lang</name>    <required>false</required>  <rtexprvalue>false</rtexprvalue></attribute>
            <attribute><name>style</name>   <required>false</required>  <rtexprvalue>false</rtexprvalue></attribute>
            <attribute><name>title</name>   <required>false</required>  <rtexprvalue>false</rtexprvalue></attribute>
            <attribute>
                <name>styleClass</name>
                <required>false</required>
                <rtexprvalue>false</rtexprvalue>
                <description>Corresponds to the HTML class attribute.</description>
            </attribute>
            <!-- HTML 4.0 event-handler attributes -->
            <attribute><name>onclick</name>    <required>false</required>  <rtexprvalue>false</rtexprvalue></attribute>
            <attribute><name>ondblclick</name> <required>false</required>  <rtexprvalue>false</rtexprvalue></attribute>
            <attribute><name>onmousedown</name><required>false</required>  <rtexprvalue>false</rtexprvalue></attribute>
            <attribute><name>onmouseup</name>  <required>false</required>  <rtexprvalue>false</rtexprvalue></attribute>
            <attribute><name>onmouseover</name><required>false</required>  <rtexprvalue>false</rtexprvalue></attribute>
            <attribute><name>onmousemove</name><required>false</required>  <rtexprvalue>false</rtexprvalue></attribute>
            <attribute><name>onmouseout</name> <required>false</required>  <rtexprvalue>false</rtexprvalue></attribute>
            <attribute><name>onkeypress</name> <required>false</required>  <rtexprvalue>false</rtexprvalue></attribute>
            <attribute><name>onkeydown</name>  <required>false</required>  <rtexprvalue>false</rtexprvalue></attribute>
            <attribute><name>onkeyup</name>    <required>false</required>  <rtexprvalue>false</rtexprvalue></attribute>
            <!-- HTML 4.0 table attributes -->
            <attribute><name>align</name>           <required>false</required>  <rtexprvalue>false</rtexprvalue></attribute>
            <attribute><name>border</name>          <required>false</required>  <rtexprvalue>false</rtexprvalue></attribute>
            <attribute><name>bgcolor</name>         <required>false</required>  <rtexprvalue>false</rtexprvalue></attribute>
            <attribute><name>cellpadding</name>     <required>false</required>  <rtexprvalue>false</rtexprvalue></attribute>
            <attribute><name>cellspacing</name>     <required>false</required>  <rtexprvalue>false</rtexprvalue></attribute>
            <attribute><name>datafld</name>         <required>false</required>  <rtexprvalue>false</rtexprvalue></attribute>
            <attribute><name>datasrc</name>         <required>false</required>  <rtexprvalue>false</rtexprvalue></attribute>
            <attribute><name>dataformatas</name>    <required>false</required>  <rtexprvalue>false</rtexprvalue></attribute>
            <attribute><name>frame</name>           <required>false</required>  <rtexprvalue>false</rtexprvalue></attribute>
            <attribute><name>rules</name>           <required>false</required>  <rtexprvalue>false</rtexprvalue></attribute>
            <attribute><name>summary</name>         <required>false</required>  <rtexprvalue>false</rtexprvalue></attribute>
            <attribute><name>width</name>           <required>false</required>  <rtexprvalue>false</rtexprvalue></attribute>
            <!-- MyFaces extension: user role attributes -->
            <attribute>
                <name>enabledOnUserRole</name>
                <required>false</required>
                <rtexprvalue>false</rtexprvalue>
                <description>
                    If user is in given role, this component will be rendered
                    normally. If not, no hyperlink is rendered but all nested
                    tags (=body) are rendered.
                </description>
            </attribute>
            <attribute>
                <name>visibleOnUserRole</name>
                <required>false</required>
                <rtexprvalue>false</rtexprvalue>
                <description>
                    If user is in given role, this component will be rendered
                    normally. If not, nothing is rendered and the body of this tag
                    will be skipped.
                </description>
            </attribute>
            <attribute>
                <name>selectedIndex</name>
                <required>false</required>
                <rtexprvalue>false</rtexprvalue>
                <description>
                    Index of tab that is selected by default.
                </description>
            </attribute>
            <attribute>
                <name>activeTabStyleClass</name>
                <required>false</required>
                <rtexprvalue>false</rtexprvalue>
                <description>
                    Style class of the active tab cell.
                </description>
            </attribute>
            <attribute>
                <name>inactiveTabStyleClass</name>
                <required>false</required>
                <rtexprvalue>false</rtexprvalue>
                <description>
                    Style class of the inactive tab cells.
                </description>
            </attribute>
            <attribute>
                <name>disabledTabStyleClass</name>
                <required>false</required>
                <rtexprvalue>false</rtexprvalue>
                <description>
                    Style class of the disabled tab cells.
                </description>
            </attribute>
            <attribute>
                <name>activeSubStyleClass</name>
                <required>false</required>
                <rtexprvalue>false</rtexprvalue>
                <description>
                    Style class of the active tab sub cell.
                </description>
            </attribute>
            <attribute>
                <name>inactiveSubStyleClass</name>
                <required>false</required>
                <rtexprvalue>false</rtexprvalue>
                <description>
                    Style class of the inactive tab sub cells.
                </description>
            </attribute>
            <attribute>
                <name>tabContentStyleClass</name>
                <required>false</required>
                <rtexprvalue>false</rtexprvalue>
                <description>
                    Style class of the active tab content cell.
                </description>
            </attribute>
        </tag>
        <!-- tab change listener -->
        <tag>
            <name>tabChangeListener</name>
            <tag-class>org.apache.myfaces.custom.tabbedpane.TabChangeListenerTag</tag-class>
            <body-content>empty</body-content>
            <attribute>
                <name>type</name>
                <required>true</required>
                <rtexprvalue>false</rtexprvalue>
            </attribute>
        </tag>Message was edited by:
    citress
    Message was edited by:
    citress

    I have the same question. Does someone have a solution for this?

  • Tag Library Descriptor

    I am trying to use the dbtags from Jakarta using Tomcat and MySQL. When I try to call my ASP I keeping getting an error that says:
    Unable to open taglibrary /WEB-INF/mytaglib.tld : Parse Error in the tag library descriptor: External entity not found: "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd".
    Here is what my ASP looks like:
    package tags;
    import java.io.*;
    import javax.servlet.jsp.*;
    import javax.servlet.jsp.tagext.*;
    public class HelloTag implements Tag {
    private PageContext pageContext;
    private Tag parent;
    public HelloTag() {
    super();
    public int doStartTag() throws JspException {
    try {
    pageContext.getOut().print(
    "This is my first tag!");
    } catch (IOException ioe) {
    throw new JspException("Error:IOException while writing to client" + ioe.getMessage());
    return SKIP_BODY;
    public int doEndTag() throws JspException {
    return SKIP_PAGE;
    public void release() {
    public void setPageContext(PageContext
    pageContext) {
    this.pageContext = pageContext;
    public void setParent(Tag parent) {
    this.parent = parent;
    public Tag getParent() {
    return parent;

    Here is what my jsp looks like:
    <%@ taglib uri="/WEB-INF/mytaglib.tld"
    prefix="first" %>
    <HTML>
    <HEAD>
    <TITLE>Hello Tag</TITLE>
    </HEAD>
    <BODY bgcolor="#ffffcc">
    <B>My first tag prints</B>:
    <first:hello/>
    </BODY>
    </HTML>

  • Purpose of TAG Library?

    What is the purpose of TAG library?
    I feel so hard while using Tag library in my JSP pages?

    Which taglibrary are you talking about? JSTL?
    If so, its purpose is just to control the flow of code logic and the data output in JSP. It is less or more a replacement of scriptlets, which are been discouraged since a decade. Scriptlets are considered a bad practice. Taglibs (and EL) forces you to write clean and well-MVC-formed JSP code. The JSTL core, format and functions taglibs are extremtly useful. The JSTL sql and xml taglibs are intented for quick prototyping only, in real you should be using Java classes for this to avoid tight coupling of database/business/model/view logic.

Maybe you are looking for

  • Change of Condition Value in PO after MIGO

    Hi Gurus! I want to change the condition value after migo. I have a scenario in which we have lots of purchase orders which are received. Unfortunately user has mentioned a wrong value in the tax. We want to change the value of tax in the purchase or

  • Regular expressions help

    I'm using a RegExp class (http://www.jurjans.lv/flash/RegExp.html) to do some regular expression in AS2. But I'm not very good at it. var str:String="What if there are other variables, such as possible <a class='gloss' href='asfunction:_root.handle,

  • InDesign capitalization question

    I am in an InDesign document in which the name of the company (i.e., Yum!) is throughout. When I do a spell check it flags every word following that name as "uncapitalized" because the name has "!" in it. Is there a way to skip all instances it flags

  • BI Publisher fail to burst all records

    Hi, BIEE 11g (11.1.3) and BIP 11.1.1 (embedded into BIEE) I am using Oracle BI Publisher together with BIEE's Answers. I would like to use the bursting features in BIP. However, after I successfully bursted the reports I find that it fails to burst a

  • HT5129 where do I find the source list?

    for iPhotos to have my Mobile Me albums transferred.