TAG Library Class Refresh

If I build a Tag-library class on Weblogic 5.1, and subsequentially update
          and recompile it; how can I get WebLogic 5.1 to use this updated .class? I
          don't want to continually stop and start the service... any ideas?
          

I figured it out. Under the Configuration/TagLibraries,
create a CrossTagAttr folder and stick a .vtm file in it. In the
.vtm file, use the <crosstag_attributes> tag and its
children. See Configuration/TagLibraries/CrossTagAttr/Spry/Spry.vtm
for an example.

Similar Messages

  • Connection Pooling and JSP Custom Tag Library - is code (inside) the best way/correc?

    Hi, can anyone advise as to whether my tag library code (based
    on Apache Jakarta Project) will actually achieve connection
    pooling functionality across my entire JSP based application? I
    am slightly concerned that my OracleConnectionCacheImpl object
    may exist multiple times, hence rendering my conection pooling
    attempt useless.
    package com.solved.tag.dbtags.connection;
    import java.io.IOException;
    import java.sql.Connection;
    import java.sql.SQLException;
    import javax.servlet.jsp.tagext.TagSupport;
    import javax.servlet.jsp.JspTagException;
    import javax.sql.DataSource;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    import oracle.jdbc.pool.OracleConnectionCacheImpl;
    * <p>JSP tag connection, used to get a
    * java.sql.Connection object.</p>
    * <p>JSP Tag Lib Descriptor
    * <pre>
    * &lt;name>connection&lt;/name>
    &lt;tagclass>com.solved.tag.dbtags.connection.ConnectionTag&lt;/t
    agclass>
    * &lt;bodycontent>JSP&lt;/bodycontent>
    &lt;teiclass>com.solved.tag.dbtags.connection.ConnectionTEI&lt;/t
    eiclass>
    * &lt;info>Opens a connection based on a jndiName.&lt;/info>
    * &lt;attribute>
    * &lt;name>id&lt;/name>
    * &lt;required>true&lt;/required>
    * &lt;rtexprvalue>false&lt;/rtexprvalue>
    * &lt;/attribute>
    * </pre>
    * @author Matt Shannon
    public class ConnectionTag extends TagSupport {
    static private OracleConnectionCacheImpl cache = null;
    public int doStartTag() throws JspTagException {
    try {
    Connection conn = null;
    if (cache == null) {
    try {
    InitialContext ic = new InitialContext();
    DataSource ds = (DataSource) ic.lookup
    ("jdbc/pool/OracleCache");
    cache = (OracleConnectionCacheImpl)ds;
    catch (NamingException ne) {
    throw new JspTagException(ne.toString());
    conn = cache.getConnection();
    pageContext.setAttribute(getId(),conn);
    catch (SQLException e) {
    throw new JspTagException(e.toString());
    return EVAL_BODY_INCLUDE;
    package com.solved.tag.dbtags.connection;
    import java.sql.Connection;
    import java.sql.SQLException;
    import javax.servlet.jsp.tagext.TagSupport;
    * <p>JSP tag closeconnection, used to close the
    * specified java.sql.Connection.<p>
    * <p>JSP Tag Lib Descriptor
    * <pre>
    * &lt;name>closeConnection&lt;/name>
    &lt;tagclass>com.solved.tag.dbtags.connection.CloseConnectionTag&
    lt;/tagclass>
    * &lt;bodycontent>empty&lt;/bodycontent>
    * &lt;info>Close the specified connection. The "conn"
    attribute is the name of a
    * connection object in the page context.&lt;/info>
    * &lt;attribute>
    * &lt;name>conn&lt;/name>
    * &lt;required>true&lt;/required>
    * &lt;rtexprvalue>false&lt;/rtexprvalue>
    * &lt;/attribute>
    * </pre>
    * @author Matt Shannon
    * @see ConnectionTag
    public class CloseConnectionTag extends TagSupport {
    private String _connId = null;
    * The "conn" attribute is the name of a
    * page context object containing a
    * java.sql.Connection.
    * @param connectionId
    * attribute name of the java.sql.Connection to
    close.
    * @see ConnectionTag
    public void setConn(String connectionId) {
    _connId = connectionId;
    public int doStartTag() {
    try {
    Connection conn = (Connection)pageContext.getAttribute
    (_connId);
    conn.close();
    } catch (SQLException e) {
    // failing to close a connection is not fatal
    e.printStackTrace();
    return EVAL_BODY_INCLUDE;
    public void release() {
    _connId = null;
    package com.solved.tag.dbtags.connection;
    import javax.servlet.jsp.tagext.TagData;
    import javax.servlet.jsp.tagext.TagExtraInfo;
    import javax.servlet.jsp.tagext.VariableInfo;
    * TagExtraInfo for the connection tag. This
    * TagExtraInfo specifies that the ConnectionTag
    * assigns a java.sql.Connection object to the
    * "id" attribute at the end tag.
    * @author Matt Shannon
    * @see ConnectionTag
    public class ConnectionTEI extends TagExtraInfo {
    public final VariableInfo[] getVariableInfo(TagData data)
    return new VariableInfo[]
    new VariableInfo(
    data.getAttributeString("id"),
    "java.sql.Connection",
    true,
    VariableInfo.AT_END
    data-sources.xml:
    <?xml version="1.0"?>
    <!DOCTYPE data-sources PUBLIC "Orion data-
    sources" "http://xmlns.oracle.com/ias/dtds/data-sources.dtd">
    <data-sources>
    <data-source
    class="oracle.jdbc.pool.OracleConnectionCacheImpl"
    name="jdbc/pool/OracleCache"
    location="jdbc/pool/OracleCache"
    url="jdbc:oracle:thin:@oracle1:1521:pdev"
    >
    <property name="maxLimit" value="15" />
    <property name="cacheScheme" value="2" />
    <property name="user" value="console" />
    <property name="password" value="console" />
    <description>
    This DataSource is using an Oracle-native DataSource Class so as
    to allow Oracle Specific extensions.
    A getConnection() call on this DataSource will return
    oracle.jdbc.driver.OracleConnection.
    The connection returned is a logical connection.
    The caching scheme in place is Fixed Wait. Refer below to
    possible values.
    Dynamic 1
    Fixed Wait 2
    Fixed Return Null 3
    </description>
    </data-source>
    </data-sources>
    many thanks,
    Matt.

    Hi. Show me your pool definition.
    Joe
    Ramamurthy wrote:
    I am using the jsp custom tag library from BEA called sqltags.tld which came with Weblogic 5.1. Currently I am using Weblogic6.1 sp2 on Solaris.
    I have created a Connection Pool for Sybase database using the driver com.sybase.jdbc.SybDriver.
    When I created jsp page to connect to the connection pool using sqltags custom tag library, I am getting the error
    "javax.servlet.jsp.JspException: Failed to write body content
    at weblogic.taglib.sql.ConnectionTag.doAfterBody(ConnectionTag.java:43)
    at jsp_servlet.__hubwcdata._jspService(__sampletest.java:1014)"
    After this message, whenever I try to access the same jsp page I am getting the message
    "javax.servlet.jsp.JspException: Failed to load JDBC driver: weblogic.jdbc.pool.D
    river
    at weblogic.taglib.sql.ConnectionTag.doStartTag(ConnectionTag.java:34)
    at jsp_servlet.__hubwcdata._jspService(__sampletest.java:205)".
    Can you please help me the reason why this problem is happening and how to fix this ?
    This problem doexn't happen consistently. This occurs once in a while.
    I tried to increase Login delay Seconds parameter in the Connection Pool to 15 sec. It didn't help me much.
    Thanks for your help !!!
    Ram

  • 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.

  • 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
              

  • 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 :)

  • 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.

  • Commerce server 3.2 tag library error

    I have installed the following components on Solaris 2.7:-
    - Java1.3
    - WebLogic5.1
    - SP6
    - Commerce Server 3.2
    The commerce server seems to start fine except the following exception
    when the Create User button is clicked from the Admin screen. Any help
    is appreciated.
    Leo
    6th Dimension-
    Tue Jan 02 11:14:15 PST 2001:<I> <WebAppServletContext-tools> *.jsp:
    init
    Tue Jan 02 11:14:15 PST 2001:<I> <WebAppServletContext-tools>
    FlowManager: init
    Tue Jan 02 11:14:26 PST 2001:<E> <WebAppServletContext-tools> Servlet
    failed with Exception
    weblogic.servlet.jsp.JspException: (line -1): Error in tag library at:
    'wl': For tag 'repeat', cannot load extra info class
    'weblogicx.jsp.tags.RepeatTagInfo'
    at
    weblogic.servlet.jsp.StandardTagLib.jspException(StandardTagLib.java:138)
    at
    weblogic.servlet.jsp.StandardTagLib.processTag(StandardTagLib.java:201)
    at
    weblogic.servlet.jsp.StandardTagLib.processTagElements(StandardTagLib.java:146)
    at
    weblogic.servlet.jsp.StandardTagLib.<init>(StandardTagLib.java:125)
    at weblogic.servlet.jsp.JspLexer.loadTagLib(JspLexer.java:87)
    at
    weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE_BODY(JspLexer.java:3739)
    at
    weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE(JspLexer.java:3495)
    at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java:3356)
    at
    weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:1694)
    at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1535)
    at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1425)
    at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:825)
    at weblogic.servlet.jsp.JspParser.doit(JspParser.java:69)
    at weblogic.servlet.jsp.JspParser.parse(JspParser.java:116)
    at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:97)
    at
    weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:242)
    at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:265)
    at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:180)
    at
    weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:181)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:118)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:141)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:154)
    at
    com.beasys.commerce.foundation.flow.ServletDestinationHandler.handleDestination(ServletDestinationHandler.java:51)
    at
    com.beasys.commerce.foundation.flow.FlowManager.service(FlowManager.java:448)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:123)
    at
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:761)
    at
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:708)
    at
    weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:252)
    at
    weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:346)
    at
    weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:246)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:135)
    Tue Jan 02 11:14:26 PST 2001:<I> <ServletContext-General> servletimages:
    init

    To be more specific, I put the jar file in the $WEBLOGIC_HOME/lib directory.
    -Brad.
    "Brad Christiansen" <[email protected]> wrote:
    >
    I was getting the same exception until I put the weblogic-510-tags.jar file (found in the SP6 zip file) in a directory referenced by the WEBLOGIC_CLASSPATH environment variable.
    -Brad.
    Leo Fu <[email protected]> wrote:
    I have installed the following components on Solaris 2.7:-
    - Java1.3
    - WebLogic5.1
    - SP6
    - Commerce Server 3.2
    The commerce server seems to start fine except the following exception
    when the Create User button is clicked from the Admin screen. Any help
    is appreciated.
    Leo
    6th Dimension-
    Tue Jan 02 11:14:15 PST 2001:<I> <WebAppServletContext-tools> *.jsp:
    init
    Tue Jan 02 11:14:15 PST 2001:<I> <WebAppServletContext-tools>
    FlowManager: init
    Tue Jan 02 11:14:26 PST 2001:<E> <WebAppServletContext-tools> Servlet
    failed with Exception
    weblogic.servlet.jsp.JspException: (line -1): Error in tag library at:
    'wl': For tag 'repeat', cannot load extra info class
    'weblogicx.jsp.tags.RepeatTagInfo'
    at
    weblogic.servlet.jsp.StandardTagLib.jspException(StandardTagLib.java:138)
    at
    weblogic.servlet.jsp.StandardTagLib.processTag(StandardTagLib.java:201)
    at
    weblogic.servlet.jsp.StandardTagLib.processTagElements(StandardTagLib.java:146)
    at
    weblogic.servlet.jsp.StandardTagLib.<init>(StandardTagLib.java:125)
    at weblogic.servlet.jsp.JspLexer.loadTagLib(JspLexer.java:87)
    at
    weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE_BODY(JspLexer.java:3739)
    at
    weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE(JspLexer.java:3495)
    at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java:3356)
    at
    weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:1694)
    at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1535)
    at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1425)
    at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:825)
    at weblogic.servlet.jsp.JspParser.doit(JspParser.java:69)
    at weblogic.servlet.jsp.JspParser.parse(JspParser.java:116)
    at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:97)
    at
    weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:242)
    at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:265)
    at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:180)
    at
    weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:181)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:118)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:141)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:154)
    at
    com.beasys.commerce.foundation.flow.ServletDestinationHandler.handleDestination(ServletDestinationHandler.java:51)
    at
    com.beasys.commerce.foundation.flow.FlowManager.service(FlowManager.java:448)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:123)
    at
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:761)
    at
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:708)
    at
    weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:252)
    at
    weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:346)
    at
    weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:246)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:135)
    Tue Jan 02 11:14:26 PST 2001:<I> <ServletContext-General> servletimages:
    init

  • No tag library could be found with this URI

    Hi,
              I am trying to deploy the duke application on weblogic 9.2. I have deployed the application is exploded format using the admin console and its in active state.
              When I try to access http://localhost:7001/hello1, I get the following error:
              Compilation of JSP File '/index.jsp' failed:
              index.jsp:28:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
              <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
              ^----^
              index.jsp:29:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
              <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
              ^----^
              Below are the files used
              web.xml(under WEB-INF)
              ======================
              <?xml version="1.0" encoding="UTF-8"?>
              <web-app xmlns:j2ee="http://java.sun.com/xml/ns/j2ee">
              <display-name>WorkBench War</display-name>
              <description>WorkBench War that contains all the JSP files</description>
              <welcome-file-list>
              <welcome-file>index.html</welcome-file>
              <welcome-file>index.htm</welcome-file>
              <welcome-file>index.jsp</welcome-file>
              <welcome-file>default.html</welcome-file>
              <welcome-file>default.htm</welcome-file>
              <welcome-file>default.jsp</welcome-file>
              </welcome-file-list>
              </web-app>
              weblogic.xml
              ============
              <?xml version="1.0" encoding="UTF-8"?>
              <wls:weblogic-web-app xmlns:wls="http://www.bea.com/ns/weblogic/90">
              <wls:context-root>/hello1</wls:context-root>
              </wls:weblogic-web-app>
              index.jsp
              =========
              <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
              <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
              <html>
              <head><title>Hello</title></head>
              <body bgcolor="white">
              Hello, my name is Duke. What's yours?
              <form method="get">
              <input type="text" name="username" size="25">
              <input type="submit" value="Submit">
              <input type="reset" value="Reset">
              </form>
              <c:if test="${fn:length(param.username) > 0}" >
              <%@include file="response.jsp" %>
              </c:if>
              </body>
              </html>
              with regards
              Mahesh Acharya

    This got resolved after I copied the jstl.jar and standard.jar from ajakarta site under WEB-INF/lib.
              Now I get the following error :-(
              index.jsp:1:1: Unable to load the validator class: "org.apache.taglibs.standard.tlv.JstlCoreTLV".
              <%--
              ^---
              --%>
              ---^
              index.jsp:44:2: The tag handler class was not found "org.apache.taglibs.standard.tag.rt.core.IfTag".
              <c:if test="${fn:length(param.username) > 0}" >
              ^--^
              index.jsp:44:2: The tag handler class was not found "org.apache.taglibs.standard.tag.rt.core.IfTag".
              <c:if test="${fn:length(param.username) > 0}" >
              ^--^

  • My app can't see the tag library

    Hi everybody,
    I am developing an application in JSP which accesses an Oracle database and display the results to the user.
    I am using the tag "exceltag.jar" taken from "http://www.servletsuite.com/servlets/exceltag.htm" to convert an html table to an excel sheet. This works fine on my computer but it fails after we installed the application to our web server, running Tomcat 4.1.12.
    The "exceltag.jar" file has been placed under 'WEB-INF\lib' and the classpath has been set to point to that location. However when I attempt to convert the html table to an excel sheet by clicking a button, I get the following error:
    java.lang.NoClassDefFoundError:
    javax/servlet/jsp/tagext/BodyTagSupport at java.lang.ClassLoader.defineClass0(Native Method) at
    java.lang.ClassLoader.defineClass(ClassLoader.java:509)
    It seems like the application can't see the "exceltag.jar" file.
    What do I need to do to overcome this problem?
    Thank you very much.

    The servlet.jar is in TOMCAT_HOME/common/lib. Since all the JARs in that directory are automatically added to the CLASSPATH and are visible to all applications running under Tomcat, you don't have to do anything for the class loader to find it.
    Your app's WEB-INF/lib directory JARs are also automatically added to to the CLASSPATH. That's the correct place to put that exceltag.jar, by the way, not the TOMCAT_HOME/common/lib.
    As a matter of fact, if you have a system CLASSPATH, be sure that Tomcat ignores it completely. You shouldn't even have one, IMO. (I don't.)
    When I open up the servlet.jar in my TOMCAT_H0ME/common/lib, I can see a class named BodyTagSupport with path javax.servlet.jsp.tagext. You should, too.
    In your exceltag.jar, you should find a TLD for the library. Open that with a text editor and make sure that the text under the <uri> tag matches that in your JSP. For example, I use the JSTL tag library. The c.tld has this <uri> tag:
      <uri>http://java.sun.com/jstl/core</uri>My JSPs that want to use the core tag library have this near the top of the page:
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>Notice how the URIs match. That's what yours should do, too.
    If you don't find a TLD inside the exceltag.jar, that means they didn't package it properly. - MOD

  • How to include javascript resources in  Facelet tag library

    I've been trying out Duncans watermark behavior tag (https://blogs.oracle.com/groundside/entry/placeholder_watermarks_with_adf_11). Indeed a great article and the example work perfectly when the tag library is included within the project and when the javascript resource (common.js) file is added to the document using af:resource tag.
    I would like to create a deployable tag library, including a setWatermarkBehavior tag, for reuse in various apps. I'm able to create and deploy the tag library as a ADF library and include it for use in an application. But on runtime, the pages are not able to find the "addWatermarkBehavior" method, which I hoped automatically got loaded from the javascript file defined in the tag library jar. In the tag library file, I've added a "adf-js-features.xml" in META-INF. This file and the .js file is included in the ADF library jar. "adf-js-features.xml" looks like this:
    <adf-js-features xmlns="http://xmlns.oracle.com/adf/faces/feature">
    <features xmlns="http://xmlns.oracle.com/adf/faces/feature">
    <feature>
    <feature-name>adfExtTaglib</feature-name>
    <feature-class>com/cgi/adf/ext/taglib/js/adfExtTaglib.js</feature-class>
    </feature>
    </features>
    </adf-js-features>
    I'm not sure, what value should be used for "feature-name" - I've tried many different "meaningful" names. I presume, that the ADF framework, should automatically discover all "adf-js-features" files and automatically load js-file on pages, which are using tags from the particular tag library. But apparently I'm missing something. In the facelets page used for testing, I have these few components.
    <f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:adfext="http://xmlns.cgi.com/adf/ext">
    <af:document title="testAdfExtTaglib" id="d1">
    <!-- af:resource type="javascript" source="/resources/js/common.js" / -->
    <af:form id="f1">
    <af:inputText label="Label 1" id="it1">
    <adfext:setWatermarkBehavior value="CHR-Nr"/>
    </af:inputText>
    </af:form>
    </af:document>
    </f:view>
    Doing some debugging, I can confirm that the "getScript" method of the setWatermarkBehavior class is called. I can also find the javascript produced by the "getScript" method in the DOM. But I cannot find anywhere in the DOM, where the javascript file from the tag library is loaded.
    Please, help me out?
    Edited by: wmjaboj on 2012-09-23 23:58

    The Javascript source URI has the value "RES_NOT_FOUND".
    If I try to access it using ".../faces/javax.faces.resource/javascript.js?ln=js" I get a blank page (contains a Html and Body only).
    If I try to access it using ".../faces/resources/js/javascript.js" I can download the javascript file from the taglib.
    If I manually copy the javascript.js file from the taglib into the enclosing project and save it in "resource/js", then the javascript source URI is resolved correctly to ".../faces/javax.faces.resource/javascript.js?ln=js" and I can downloaded it, but then it is the local copy and not the one from the taglib jar.
    Do I need some specific configuration in web.xml or other deployment descriptors, to be able to use "javax.faces.resource"?
    The only configurations whoch smells like "javax.faces.resource" is this context param: javax.faces.FACELETS_RESOURCE_RESOLVER=oracle.adfinternal.view.faces.facelets.rich.AdfFaceletsResourceResolver
    In web.xml various "resource" servlets is defined (I'm not sure whether I need them, JDeveloper has created them automatically):
    a) resources = org.apache.myfaces.trinidad.webapp.ResourceServlet, maps to: /adf/*, /afr/*, /bi/*
    b) adflibResources = oracle.adf.library.webapp.ResourceServlet, maps to: /adflib/*
    I appreciate your help.

  • Navigation Tag library : lyt:container

    hi,
      From my basic research, I found that                                               <lyt:container id="navPanelContainer" /> uses the default iview tray for displaying its iviews in the container using Navigation Tag Library.
    It is mentioned that this one calls the default iview tray.. if so..could you please let me know where can i find the code for the default iview Tray..
    So that I can create a "containerwithtraydesign"..and use that default code and add a line at the bottom of iview tray.
    Please help me in this regard.
    Thank you

    Hi Daniel,
      Thanks for the reply.. I found a workaround...luckily the code was in light_Waandnavpanel.jsp.
    1. I downloaded com.sap.portal.layouts.framework.par
    2. Just took out the following code from light_WAandNavPanel.jsp and put that in WAandNavPanel.jsp
                                                       <table cols="1" cellspacing="0" cellpadding="0" border="0" style="width:100%" class="urTrcWhlHdr" id="DTNTray">
                                                       <tbody>
                                                            <tr>
                                                                 <td class="urTrcHdNotchTrn"><img width="1" src='<%=op%>'></td>
                                                                 <td class="urTrcSpcVertLftMidTrn"><img width="1" src='<%=op%>'></td>
                                                                 <td style="width:100%"><table cellspacing="0" cellpadding="0" border="0" class="urTrcHdTrn" id="Tray-hd"><tbody><tr>
                                                                 <td nowrap><div class="urTrcTitHdr"><lyt:IViewTitle/></div></td>
                                                                 <td style="width:100%"></td>
                                                                 <td nowrap width="100%" oncontextmenu="return false" class="urTrcHdIco">
                                                                      <lyt:IViewToggleOpen><img style="border: medium none" src='<%=top%>'></lyt:IViewToggleOpen>
                                                                      <lyt:IViewToggleClose><img style="border: medium none" src='<%=tcl%>'></lyt:IViewToggleClose>
                                                                 </td>
                                                                 </tbody>
                                                                 </table></td>
                                                                 <td class="urTrcSpcVertMidRghtTrn"><img width="1" src='<%=op%>'></td>
                                                                 <td class="urTrcHdRightTrn"><img width="1" src='<%=op%>'></td>
                                                            </tr>
                                                       </tbody>
                                                       <tbody>
                                                            <tr class="urTrcSpcRowHdContTrn">
                                                                 <td class="urTrcSpcHorLftTrn"><img width="1" src='<%=op%>'></td>
                                                                 <td class="urTrcSpcHorLftMidTrn"><img width="1" src='<%=op%>'></td>
                                                                 <td class="urTrcSpcHorMidTrn"><img width="1" src='<%=op%>'></td>
                                                                 <td class="urTrcSpcHorMidRghtTrn"><img width="1" src='<%=op%>'></td>
                                                                 <td class="urTrcSpcHorRghtTrn"><img width="1" src='<%=op%>'></td>
                                                            </tr>
                                                            <tr>
                                                                 <td class="urTrcBdyNotchTrn"><img width="1" src='<%=op%>'></td>
                                                                 <td class="urTrcSpcVertLftMidTrn"><img width="1" src='<%=op%>'></td>
                                                                 <td class="urTrcBodyHdr urTrcBodyBdrHdr"><div class="urTrcBodyHdr urTrcBodyBdrHdr urTrcBodyHdrPd"><lyt:IViewContent/></div></td>
                                                                 <td class="urTrcSpcVertMidRghtTrn"><img width="1" src='<%=op%>'></td>
                                                                 <td class="urTrcBdyRightTrn"><img width="1" src='<%=op%>'></td>
                                                            </tr>
                                                       </tbody>
                                                       <tbody>
                                                            <tr class="urTrcSpcRowContFtTrn">
                                                                 <td class="urTrcSpcHorLftTrn"><img width="1" src='<%=op%>'></td>
                                                                 <td class="urTrcSpcHorLftMidTrn"><img width="1" src='<%=op%>'></td>
                                                                 <td class="urTrcSpcHorMidTrn"><img width="1" src='<%=op%>'></td>
                                                                 <td class="urTrcSpcHorMidRghtTrn"><img width="1" src='<%=op%>'></td>
                                                                 <td class="urTrcSpcHorRghtTrn"><img width="1" src='<%=op%>'></td>                                                        
                                                            </tr>
                                                       </tbody>
                                                       </table>
    so the tray looks fine now without collapse icon(as i commented it in the above code)..
    but i have a small problem..I hope that you can help me in this regard. The problem is
    I am not able to see the "options" icon that is on the left of "collapse"  icon..could you please let me know how can i get that options menu... would be great if you could include in the above snippet of code..
    Thank you

  • Tag library 'div' hook

    Well, 'div' is not corrupt, but the application programming related to customization of Tag libraries is corrupt.
    What is happening:
    When Dreamweaver CC is installed, and when it opens fresh html files, it makes a mess of line breaks and indents in the text layout of the code. Using the menu item Commands / Apply source formatting also makes a mess, This menu command mess is a slight improvement over the horrendous mess that Dreamweaver CC makes of code when it opens and when it periodically 'refreshes' the files that it trashes. However, the code is not usable, as with more advanced css and html technique, the code becomes unreadable for Chrome, Internet Explorer, Safari, and presumably all browsers.
    DW's mess described:
    All indents are as spaces, making manual clean-up repetitive, necessary and extremely tedious.
    The head and body tags are indented far inside their content, and that content is also erratically indented.
    The use of Tag library editor would seem the expected user path, in seeking a user resolution, and perhaps in defining a programmatic intervention.
    All tags are trashed, put going to the heart of the html cascade, we start with the p tag: e.g., p tag in Tag libraries defaults as
    Line breaks: before and after tag
    Contents: formatted and indented
    Case: default
    We try numerous combinations of p tag settings in the noted dialog interface.
    The p tag settings do not appear to effect the mess. Dreamweaver, ignores default and manual settings, sometimes shuffling the mess a little, but minor shuffling only occurring twice, and without any tag block line break changes.
    Perhaps, for a given instance of Dreamweaver installation, within a given simple document's system interface, Dreamweaver settings may reveal something called a 'performance hook' by application programmers. Perhaps we can isolate a hook that is useful for the Adobe support; support that lacking professional attention has maintained Dreamweaver as a failed application for over a year (since October 2012) on my Windows desktop. We move next to the div tag.
    Manual intervention 'exposes bad behavior of div tag' hook:
    Our simple document layout is... simple. Deploying doctypes for both html5 and xhtml transitional and deploying internal and external style methods, with the same code trashing result, we correctly layout tags as HEAD, BODY, DIV and P. Beginning with the p tag, various tag library settings are applied to determine effect on Apply source formatting command. Various p tag settings have no effect, and p is returned to its DW default setting, as noted above. The following div tag settings disable Apply source formatting command's code trashing specifically of line indents.
    Line breaks: before and after tag
    Contents: formatted but not indented
    Case: default
    Unfortunately, with this setting, line breaks between only some tags are maintained during Dreamweaver's auto code trashing (e.g., between closing head and opening body tag): sometimes when Dreamweaver does it's auto (or manual) trashing, these specific line breaks, between block tags, are not preserved. However, with this Tag library setting for the div tag using the noted basic cascade, all tag indents are ignored. But only when code is manually kept against left margin, without any indentation. And, ONLY WITH DIV TAG HOLDING THESE PARTICULAR SETTINGS, FOR THIS PARTICULAR DOCUMENT!
    FLAT CODE is preferable to the bigger mess that Dreamweaver routinely imposes as it auto trashes code. Also, allowing any left margin indentation worsens Dreamweaver's code trashing... so, given Dreamweaver's chaotic destructiveness, I don't know if it is correct to imply any significance to my manual Tag library settings management, but it is clear that Dreamweaver is unable to correct the mess it makes, using the manual Apply source formatting command. And this is the first 'performance hook' that has been defined for my desktop in over 400 days. But setting div tag in this way is the only way to stop Dreamweaver trashing code layout line indents (trashing that occurs both during Dreamweaver automatic actions and with user menu action, for the specific noted html layout - a layout that is far too basic to be useful for 99.9% of design work). But only for a given instance of Dreamweaver installation for a given OS installation, and not across OS installations, or with any other file than the file (or files, in relational assessment) targeted for our 'hook' presentation analysis.
    Conclusion:
    Dreamweaver trashes code layout every time the application applies code formatting (e.g., opening new documents from other sources, applying menu commands, etc.). That is, all user code layout will be trashed by Dreamweaver. However, a specific div tag setting in Tag library editor may maintain a single instance for manual correction of Dreamweaver code trashing, when basic page layout is used with div in the noted cascade, and with div settings manually corrected as noted. This is a hopelessly unacceptable condition that the Dreamweaver application imposes on design work for my Windows 8.1 operating system. Professional designers of global significance and stature using many variants of Mac and PC systems have warned me not to use Dreamweaver, recommending numerous alternatives. I am taking the position that Adobe retains a shred of marketplace survivability, and therefore will promptly fix minor problems when I bring them to Adobe's attention.
    IMPORTANT:
    Obviously, this is not acceptable application performance. Is support available to Adobe that will now, immediately repair the Dreamweaver application that I use as a paid subscription to eliminate systematic code trashing?

    I figured it out. Under the Configuration/TagLibraries,
    create a CrossTagAttr folder and stick a .vtm file in it. In the
    .vtm file, use the <crosstag_attributes> tag and its
    children. See Configuration/TagLibraries/CrossTagAttr/Spry/Spry.vtm
    for an example.

  • Weblogic 12c : Spring taglib No tag library could be found with this URI

    Hello,
    I have an application which deploy perfectly on JBOSS 7 and Websphere
    My WAR includes WEB-INF/lib/spring-webmvc.jar which contains all .tld files declaration (stardard stuff up to now....)
    When I try to acces ths page (JSP) I got : No tag library could be found with this URI
    Really don't know why ??

    I think that there is bug in JSP precompilation by weblogic 12c maven plugin and appc. Seems me that jsp compiler can lose sometimes tag libraries it's precompiling. Next retry using exactly same pom can be successful. I get same results using command line and OEPE 12.1.1.0 mave(pom). My java options for maven package are(-Xmx1024m -Xms1024m -XX:PermSize=512m).
    When I get the error it's something like
    "Failed to execute goal com.oracle.weblogic:wls-maven-plugin:12.1.1.0:appc (default) on project ui_elements:
    There are 1 nested errors:
    weblogic.utils.compiler.ToolFailureException: jspc failed with errors :weblogic.servlet.jsp.CompilationException: naviButtons.tag:23:6: The tag handler class was not found "jsp_servlet._tags.__pagelink_tag".
    <T:pageLink url="${naviStatus.previousPage.linkUrl}"
    ^--------^
    naviButtons.tag:23:6: The tag handler class was not found "jsp_servlet._tags.__pagelink_tag".
    <T:pageLink url="${naviStatus.previousPage.linkUrl}"
    Failed to execute goal com.oracle.weblogic:wls-maven-plugin:12.1.1.0:appc (default) on project ui_elements:"
    Next unsuccessful compilation can mention different tags. Very irregular behavior.
    Do you have resolution?

  • Custom tag library called multiple times

    Hi ppl ,
    I have a custom tag library which i use to populate some menu components. When i do call my custom tag library though , it is called multiple times, use case is as follows.
    I have menu tabs and menu bars which thanks to Mr.Brenden is working splendidly as so:-
    <af:menuTabs>
    <af:forEach var="menuTab" items="#{bindings.menu.vwUserMenuTabRenderer.rangeSet}">
    <af:commandMenuItem text="#{menuTab.MenuLabel}"
    shortDesc="#{menuTab.MenuHint}"
    rendered="true"
    immediate="true"
    selected="#{sessionScope.selectedMenuId == menuTab.MenuId }"
    onclick="fnSetSelectedValue('#{menuTab.MenuId}')" >
    </af:commandMenuItem>
    </af:forEach>
    </af:menuTabs>
    <af:menuBar>
    <af:forEach var="menuBar" items="#{bindings.menu.vwUserMenuBarRenderer.rangeSet}">
    <af:commandMenuItem onclick="return clickreturnvalue()"
    onmouseover="dropdownmenu(this, event,#{menuBar.MenuId}, '150px')"
    onmouseout="delayhidemenu()"
    text="#{menuBar.MenuLabel}"
    action="#{menuBar.MenuUri}"
    rendered="#{menuBar.ParentId == sessionScope.selectedMenuId}"
    immediate="true" />
    </af:forEach>
    </af:menuBar>
    </afc:cache>
    now all of this code is within a subview , and just directly below the subview tag , i have the call to my custom tag library:-
    <myCustomTagLib:menuCascade />
    only issue now is that assuming i have in all 7 menu bar components, the doStartTag is called 7 times. the relevant code within my custom tag class is as follows :-
    public int doStartTag() throws JspException {
    return (EVAL_BODY_INCLUDE);
    public int doEndTag() throws JspException {
    try {
    declareVariables();
    return EVAL_PAGE;
    }catch (Exception ioe) {
    throw new JspException(ioe.getMessage());
    and within my declareVariables method i do an out of the jscript ( out.print(jscript.toString()); ) which is a simple string generated based on certain conditions...
    now it seems to be working fine on the front end , but when i view the source of the page, i notice that the declaration is called multiple times, and this happens because the doStartTag method is called multiple times, i haven't even nested the call to the custom tag within the menu components , any clue as to whats going wrong ?
    Cheers
    K

    Hi,
    if you add the following print statement
    System.out.println("rendering "+FacesContext.getCurrentInstance().getViewRoot().getViewId());
    Then the output in my case is
    07/04/24 08:14:04 rendering /BrowsePage.jsp
    07/04/24 08:14:05 rendering /otn_logo_small.gif
    The image comes from the file system, which means it is rendered by the JSF lifecycle. If you reference the image with a URL then the lifecycle doesn't render the image but only refrences it.
    To avoid your prepare render code to be executed multiple times, just check for jsp and jspx file extensions, which will guarantee that your code only executes for JSF pages, not for loaded files.
    The reason why this happens is because the JSF filter is set to /faces , which means all files that are loaded through that path
    Frank

  • How to get the JSP Name calling the Tag Library inside the Tag Library

    Hi guys,
    I have defined a Tag Library PenStart:
    import javax.servlet.jsp.tagext.*;
    public class PenStart extends TagSupport
      public int doStartTag()
        return EVAL_BODY_INCLUDE;       
      public int doEndTag()
        return EVAL_PAGE;
    }I have also defined the pentags.tld:
    <taglib xmlns="http://java.sun.com/xml/ns/j2ee"
              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee web-jsptaglibrary_2_0.xsd"
              version="2.0">
         <description>My Tag Library</description>
         <tlib-version>1.0</tlib-version>
         <short-name>pentags</short-name>
         <tag>
              <name>penstart</name>
              <tag-class>com.srh.tag.PenStart</tag-class>
              <body-content>empty</body-content>
         </tag>
    </taglib>I am calling the tag library in my JSPs:
    <%@ taglib uri="WEB-INF/pentags.tld" prefix="pen"%>
    <pen:penstart/>Now in the doStartTag() I want to know the JSP which is using the tag. How can I do that?
    Thanks

    pageContext.getRequest().getRequestURI()

Maybe you are looking for

  • Component Qty Increases during change in Sales order for CONFIGURABLE MATL

    Hi PP Gurus,           I have setup a configurable material with a bom that has component quantities is computed by entering the characteristic values (length, width, thickness) in the SALES ORDER creation. When the go back to the sales order (VA02),

  • How to safe my hosting server

     i am web developer design my website http://www.monicaoberoi.com/  in php and host on linux hosting ,someone try to hack my website . plz suggest me how can i do safe my website.

  • Projects query

    Hi Can someone help me in reducing the cost the of the below query. SELECT gcc.segment3 cost_centre , pe.expenditure_ending_date-6 date_from , pe.expenditure_ending_date date_to , ppx.employee_number employee_number , ppx.full_name employee_name , as

  • Continual order failure. Unbelievable customer ser...

    Hi, I am a Bt broadband customer and I was recently told that I would be able to update to the infinity service. I have been trying to do so for weeks now and have been experiencing the catastrophe that is bt's customer service. I have called no less

  • No icons on bookmarks

    The "icons" on the bookmarks are no longer there. On the "drop down" menu for my bookmarks, the specific location icon is now gone. I scanned and cleaned out my PC using PC Unleash.