JSP TagLib Bug

I took my taglib's and tried to move them
          over to get them working on 6.0.
          I now get an error:
          Parsing of JSP File '/showdate.jsp' failed:
          /showdate.jsp(1): Error in using tag library uri='date' prefix='/date.tld':
          There is no setter method for property 'datestring', for Tag class
          'com.almaer.taglib.date.ShowDateTag'
          probably occurred due to an error in /showdate.jsp line 1:
          <%@ taglib uri="/date.tld" prefix="date" %>
          However I do have a setDatestring() method. I have tried various taglibs
          that are in production working fine.
          Is this a known bug? Has anyone else run into this?
          I also find that precompile=true in weblogic.xml doesn't seem to do anything
          Who does the QA for this? ;)
          Dion
          Dion Almaer | [email protected]
          CustomWare | http://www.customware.com
          

Thank you. I changed my setter to be setFoo() and have the attribute foo in
          my tag and it worked. For some reason some values don't work in there. I
          haven't worked out
          if the problem is a) having a variable x and then having a setX() or whether
          it has something to do with the properties of the name that you call it.
          Crazy.
          Dion
          "newsgroups.bea.com" <[email protected]> wrote in message
          news:[email protected]...
          > I encountered this problem several times. I don't know why. The setter
          > method is exactly there. Finally I changed the spelling of the properties
          > and setter method to solve this problem. It worked. I think there are some
          > words cannot be used as names of properties. It should be a bug of WL 6.0
          >
          > "Dion Almaer" <[email protected]> ¼¶¼g©ó¶l¥ó
          > news:[email protected]...
          > > I took my taglib's and tried to move them
          > > over to get them working on 6.0.
          > >
          > > I now get an error:
          > >
          > > Parsing of JSP File '/showdate.jsp' failed:
          > >
          >
          > --------------------------------------------------------------------------
          > --
          > > ----
          > >
          > > /showdate.jsp(1): Error in using tag library uri='date'
          > prefix='/date.tld':
          > > There is no setter method for property 'datestring', for Tag class
          > > 'com.almaer.taglib.date.ShowDateTag'
          > > probably occurred due to an error in /showdate.jsp line 1:
          > > <%@ taglib uri="/date.tld" prefix="date" %>
          > >
          >
          > --------------------------------------------------------------------------
          > --
          > > ----
          > >
          > >
          > > However I do have a setDatestring() method. I have tried various
          > taglibs
          > > that are in production working fine.
          > > Is this a known bug? Has anyone else run into this?
          > >
          > > I also find that precompile=true in weblogic.xml doesn't seem to do
          > anything
          > > :)
          > > Who does the QA for this? ;)
          > >
          > > Dion
          > > -------------------------------------------------------------
          > > Dion Almaer | [email protected]
          > > CustomWare | http://www.customware.com
          > >
          > >
          > >
          > >
          > >
          >
          >
          

Similar Messages

  • Jsp taglibs in include files not detected, throws errors, no code insight

    I have a jsp which is included in all the other jsp. it looks something like this
    taglibs.jsp
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
    <%@ taglib uri="http://www.springframework.org/tags" prefix="spring" %>
    <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
    test.jsp
    <%@ include file="/jsp/menu/taglibs.jsp"%>
    <html>
         <head>
              <title>Tours</title>
         </head>
         <body>
    <form:form commandName="testCommand">
                   <form:hidden path="tour.firstname" id="tour.firstname" />
    and so on.
    I am having 2 problems
    1. the jsp editor show errors all over the place saying
    element path not expected
    element commandName not expected etc.
    2. no code insights.
    but if i include the taglib def in test.jsp it dosn't show any error and also provides code insights. but seldom do people include all taglibs in all jsps.
    is there a way for Jdeveloper to show code insights in jsp pages which includes a jsp or like xml schemas could be added at some place(tools-pref-xml schemas) and when used anywhere, would provide code insights.

    am not sure, try with this
    <jsp:include   .../>

  • JSP Taglib for RSS

    Just wondering if anyone else is having better luck - been working thru:
    http://developer.java.sun.com/developer/technicalArticles/javaserverpages/rss_utilities/
    Each time I try and parse an RSS file I get the following trace:
    <rss>
    <channel>
    <title>
    </title>
    <link>
    </link>
    <description>
    </description>
    </channel>
    <item>
    INFO: items does not exist or method signature is incorrect
    java.lang.NoSuchMethodException
    at java.lang.Class.getMethod0(Native Method)
    at java.lang.Class.getMethod(Class.java:888)
    at com.sun.cnpi.rss.handlers.DefaultElementHandler.startElement DefaultElementHandler.java:91)
    at com.sun.cnpi.rss.handlers.DocumentHandler.startElement(DocumentHandler.java:98)
    at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1477)
    ... rest of stack trace.
    This is tried with 5 or 6 different RSS feeds (0.91 and 2.0) and with both crimson and the latest xerces parsers (stacktrace is the same apart from the parser specific parts - it's always in com.sun.cnpi.rss.handlers.DocumentHandler.startElement(DocumentHandler.java:98)
    It appears to be trying to call a method based on the fact that it has seen an items tag (which it hasn't - it's an item tag).
    The JSP:
    <%@ taglib uri="/rssutils.tld" prefix="rss" %>
    <rss:feed
    url="path-to-feed"
    feedId="intranetRT"/>
    <h2>"><rss:channelTitle feedId="intranetRT"/></a></h2>
    <rss:forEachItem feedId="intranetRT">
    <h3><a href="<rss:itemLink feedId="intranetRT"/>"><rss:itemTitle feedId="intranetRT"/></a></h3>
    <div class="item">
    <p><rss:itemDescription feedId="intranetRT"/></p>
    </div>
    </rss:forEachItem>
    Maybe of interest - all tried RSS streams work fine for various other RSS readers and return valid from 2 different validators.
    Hints anyone?

    I try using this tag library, and I get the following on my page:
    java.lang.ClassNotFoundException: com.cj.rss.objVariable
    as the root cause for this excemption:
    org.apache.jasper.JasperException: Failed to load or instantiate TagExtraInfo class: com.cj.rss.objVariable
    Do I have a bad "path" set up somewhere? Here's my code:
    <%@ taglib uri="/WEB-INF/lib/taglib.tld" prefix="c" %>
    <html>
    <head><title>Java Feed</title></head>
    <body>
    <%-- <jsp:useBean id="beanInstanceName" scope="session" class="beanPackage.BeanClassName" /> --%>
    <%-- <jsp:getProperty name="beanInstanceName" property="propertyName" /> --%>
    <c:setFeed url="http://www2.theserverside.com/rss/theserverside-1.0.rdf" id="A"/>
    <p>Title:<c:getChannelTitle feedId="A"/>
    <p>Description:<c:getChannelDescription feedId="A"/>
    <c:forEachItem feedId="A">
    Link:<%=itemLink%>
    Title:<%=itemTitle%>
    Description:<%=itemDescription%>
    </c:forEachItem>
    </body>
    </html>
    It's pretty simple code, and I made sure that the library file (jar) and .tld file were in the /WEB-INF/lib directory, off of the "context" directory or "docroot". I guess I would have gotten a different error if they weren't there.
    Any thoughts as to why my server is having problems loading the object:
    com.cj.rss.objVariable
    It is in my rsstag.jar file. I confirmed it by opening it with WinZip. Here's the reference to it in the rssrag.tld file:
    <tag>
    <name>setFeed</name>
    <tagclass>com.cj.rss.setFeedTag</tagclass>
    <teiclass>com.cj.rss.objVariable</teiclass>
    <bodycontent>JSP</bodycontent>
    <info>parses rss feed</info>
    Any information would be greatly appreciated.

  • JSP Taglibs

    Hi,
    I try to use a taglib and get this Exception:
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 4 in the jsp file: /Login.jsp
    Generated servlet error:
    C:\Programme\Apache Tomcat 4.0\work\localhost\testdemo\Login$jsp.java:59: Class org.apache.jsp.testTL not found.
    testTL jspxth_mytag_test_0 = new testTL();
    ^
    An error occurred at line: 4 in the jsp file: /Login.jsp
    Generated servlet error:
    C:\Programme\Apache Tomcat 4.0\work\localhost\testdemo\Login$jsp.java:59: Class org.apache.jsp.testTL not found.
    testTL jspxth_mytag_test_0 = new testTL();
    ^
    2 errors
    My taglibs looks like this:
    <?xml version="1.0"?>
    <!DOCTYPE taglib
         PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
         "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
    <taglib>
         <tlibversion>1.0</tlibversion>
         <jspversion>1.1</jspversion>
         <shortname>shorttest</shortname>
         <uri></uri>
         <info>abc</info>
         <tag>
              <name>test</name>
              <tagclass>testTL</tagclass>
         </tag>
    </taglib>
    And web.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
    <web-app>
    <display-name>Tag Demo</display-name>
    <description>bla</description>
    <taglib>
    <taglib-uri>/shorttest</taglib-uri>
    <taglib-location>/WEB-INF/tld/test1.tld</taglib-location>
    </taglib>
    </web-app>
    the jsp:
    <%@ taglib uri="/shorttest" prefix="mytag" %>
    <html>
    <body>
    <mytag:test/>
    </body>
    </html>
    I can`t find the failure.
    Thanks
    Hayri

    Yes, change
    <tagclass>testTL</tagclass>
    to
    <tagclass>yourPackage.testTL</tagclass> and of course recompile class with package declaration and put into package.

  • JSP bug or JSP container bug?

    This the following a JSP bug or JSP container bug?
    When I put:
    <jsp:declaration>
         void method() {
    </jsp:declaration>in a JSP page it runs fine, but when I put:
    <jsp:declaration>
         void method() {
              for(int idx=0; idx<5; idx++) {
    </jsp:declaration>in a JSP page I get:
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: /doc/c11/XmlSyntaxDeclarations.jsp(54,17) Unterminated <jsp:declaration> tag
         org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
         org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
         org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:134)
         org.apache.jasper.compiler.Parser.parseXMLDeclaration(Parser.java:695)
         org.apache.jasper.compiler.Parser.parseElements(Parser.java:1545)
         org.apache.jasper.compiler.Parser.parse(Parser.java:126)
         org.apache.jasper.compiler.ParserController.doParse(ParserController.java:220)
         org.apache.jasper.compiler.ParserController.parse(ParserController.java:101)
         org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:203)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:470)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.0.27 logs.
    Apache Tomcat/5.0.27

    What gives? I'm having the same problem with a scriptlet!
    This works:
    <jsp:scriptlet>
         cntInt++;
         out.println("cntInt = "+cntInt);
    </jsp:scriptlet>but this doesn't works:
    <jsp:scriptlet>
         cntInt++;
         out.println("cntInt = "+cntInt);
         for(int idx=0; idx<cntInt; idx++) {
    </jsp:scriptlet>...it can't seem to handle for loop? Does anyone know why?

  • JSP taglib tags

    hello every one
    i am using JSP taglibs in my work and i am trying the example given in book - " JSP The Complete Reference" . example of database operations . In chapter 11.
    But when i compile i am getting warning that EVAL_BODY_TAG is deprecated.
    so i would like to know what can i use instead of EVAL_BODY_TAG
    Thanks
    Amol

    Use either "EVAL_BODY_BUFFERED" or "EVAL_BODY_AGAIN".

  • EL or RT expressions for JSP taglibs

    I have a simple question
    We all know that there are two ways to implement a JSP page. either RT expressions or expression language (EL). I have done plenty of research and I am comfortable at creating custom JSP taglibs that support both RT and EL. What I want to know is which if them is used more commonly?
    Its useless to right 2 seperated libs, since you can pass variables from EL to RT and vice versa, so I want to have only one tag library, but I dont know how I should implement it EL or RT.
    What is used more often and why? What is the advantages of using one over the other. Thank you!!!

    RT was the original way; it required scriptlets, which everyone hates.
    EL is the new way; it helps eliminate scriptlets, which everyone loves.
    EL is the method of choice; even moreso when JSP 2.0 is finalized, it allows them to be used more freely (not just in tags)

  • How Do I Specify uri in JSP taglib Directive to Point to the Jar File

    I put the trail-taglib-0.2.jar file in the MyApplication/WEB-INF/lib directory.
    Because the .tld is included in the trail-taglib-0.2.jar, I added the following In the MyApplication/WEB-INF/web.xml file:
    < filter >
      < filter-name > trailFilter < /filter-name >
      < filter-class > org.osjava.taglib.trail.OriginalRequestFilter < /filter-class >
    < /filter >
    < filter-mapping >
      < filter-name > trailFilter < /filter-name >
      < url-pattern > *.do < url-pattern >
    < filter-mapping > How do I specify the uri in my JSP @taglib to point to the jar file? I think I did not get the path right:
    < %@ taglib prefix="trail" uri="trail-taglib-0.2" % >

    Your advices have been very good. Problems get solved one at a time.
    1. Now, the taglib.tld in the WEB-INF directory can be found; however, another problem occurred: XML parsing error on file /WEB-INF/taglib.tld: (line 11, col 17): Element type "display-name" must be declared.
    2. no matter where I insert the filter and its mapping in the web.xml file,
      <filter>
       <filter-name>trailFilter</filter-name>
       <filter-class>org.osjava.taglib.trail.OriginalRequestFilter</filter-class>
      </filter>
      <filter-mapping>
       <filter-name>trailFilter</filter-name>
       <url-pattern>*.do</url-pattern>
      </filter-mapping>The server cannot find the Struts tag libraries. If I remove the filter tag and its mapping, the server does not complain anymore. I checked the DTD, the filter tag and its mapping tag should be before the servlet tag and servlet mapping tag. But, it does not work.
    Here is the taglib.tld:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN" "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
    <taglib>
      <tlibversion>1.0</tlibversion>
      <jspversion>2.0</jspversion>
      <shortname>trail</shortname>
      <uri>http://www.osjava.org/taglibs/trail-1.0</uri>
      <info>Breadcrumbs in a taglib. </info>
      <display-name>Trail Taglib</display-name>
      <description>The Trail taglib maintains a dynamic trail of pages that the user has hit and allows a normalized version of that trail to be shown as a breadcrumbs list. </description>
      <tag>
        <name>list</name>
        <tagclass>org.osjava.taglib.trail.ListTag</tagclass>
        <bodycontent>JSP</bodycontent>
        <display-name>Trail List</display-name>
        <description>ListTag is used to display the trail, either the whole trail or more likely the normalized version. </description>
      <attribute>
          <name>var</name>
          <required>false</required>
          <rtexprvalue>true</rtexprvalue>
          <description>Store the trail text in a variable. This will probably change to store the actual trail list and not the text. </description>
        </attribute>
        <attribute>
          <name>delimiter</name>
          <required>false</required>
          <rtexprvalue>true</rtexprvalue>
          <description>The delimiter to use between trail items. It defaults to -> and at some point an image will be useable instead. </description>
        </attribute>
        <attribute>
          <name>type</name>
          <required>false</required>
          <rtexprvalue>true</rtexprvalue>
          <description>The type of list to show. The default is 'normalized', while any other type specified will result in 'full'. </description>
        </attribute>
      </tag>
      <tag>
        <name>push</name>
        <tagclass>org.osjava.taglib.trail.PushTag</tagclass>
        <bodycontent>JSP</bodycontent>
        <display-name>Trail Formation</display-name>
        <description>Place a page on the trail. </description>
        <attribute>
          <name>label</name>
          <required>true</required>
          <rtexprvalue>true</rtexprvalue>
          <description>The text to use when placing the page on the trail. This is what will be displayed to the user in the List tag. </description>
        </attribute>
        <attribute>
          <name>url</name>
          <required>false</required>
          <rtexprvalue>true</rtexprvalue>
          <description>Usually the url in question will be figured out by the taglib, however you may override it with this attribute. </description>
        </attribute>
      </tag>
    </taglib>

  • I18n jsp taglib, hot update

    Hi
    I'm investigating use of the jsp taglib i18n that comes with Personalization
    server.
    Is there any way of updating the .properties files so that the changes come
    thru reliably without restarting the server?
    A kind of reloadCheckSecs=0 like for jsp files would be good.
    Does such a functionality exist?
    Has anyone implemented such a functionality?
    Alternatively, is the code for the taglib available?
    Regards
    Alex

    If you need more information, don't know what I mean or whatever, please ask.
    I realy need this but don't know how to do...

  • Jsp taglib problems in J2ee server  of j2sdkee1.3

    Fresh from solving the problems with usebean in jsp, I again got a problem with the custom tags of JSP
    I am using Jdk1.3 and j2sdkee1.3, windows98
    The class file is stored in a package called my in the c:\j2sdkee1.3\lib\classes\my folder
    and the tld and jsp file stored in c:\j2sdkee1.3\public_html folder
    when I access the atm.jsp page, I got this error message
    A Servlet Exception Has Occurred
    org.apache.jasper.compiler.ParseException: End of content reached while more parsing required: tag nesting error?
    Here is the ATMJsp.tld code
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN" "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
    <taglib>
         <tlibversion>1.0</tlibversion>
         <jspversion>1.1</jspversion>
         <shortname>ATMJsp</shortname>
         <info>a tag library for the atm details</info>
         <tag>
              <name>ATM</name>
              <tagclass>my.atmtag</tagclass>
              <bodycontent>JSP</bodycontent>
              <info>Outputs of the ATM Counter</info>
         </tag>
    </taglib>
    I try:
    When I put the <bodycontent> tags below the <info> tags, I got the error message that the tag doesn't allow "bodycontent" here
    I don't know what caused the problem ... is there some mistake in the above code?
    Include other file to make it more clear---* atm.jsp and atmtag.java
    atm.jsp
    <%@ page import="my.atmtag" %>
    <%@ taglib uri="ATMJsp.tld" prefix="atmjsp" %>
    <%@ page errorPage="errorpage.jsp" %>
    <!DocType HTML Public "-//W3C//DTD// HTML 4.0 Translational//EN">
    <html>
    <head></head>
    <body>
    <h3 align=center>ATM counters that need cash</h3>
    <table><tr>
    <td></td>
    <td><atmjsp:ATM></td>
    </tr>
    </body>
    </html>
    atmtag.java
    package my;
    import javax.servlet.jsp.*;
    import javax.servlet.jsp.tagext.*;
    import java.io.*;
    import java.sql.*;
    import java.math.*;
    import java.util.*;
    //tag handler
    public class atmtag extends TagSupport
         Connection connect=null;
         Statement state=null;
         ResultSet result=null;
         public atmtag() throws ClassNotFoundException
              Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
         public int doStartTag() throws JspTagException
              return EVAL_BODY_INCLUDE;
         public int doEndTag() throws JspTagException
              try
                   JspWriter out=pageContext.getOut();
                   connect=DriverManager.getConnection("jdbc:odbc:EarnestBank","","");
                   String strquery="select cCounter_id, cAddress, mCashBalance from Counter where mCashBalance<=10000";
                   state=connect.createStatement();
                   ResultSet result=state.executeQuery(strquery);
                   String sid=null;
                   String saddress=null;
                   String sbalance=null;
                   Vector v=new Vector();
                   while(result.next())
                        sid=result.getString(1);
                        saddress=result.getString(2);
                        sbalance=result.getString(3);
                        v.add(sid);
                        v.add(saddress);
                        v.add(sbalance);
                   for (int i=0; i<v.size();i++)
                        String str=(String)v.elementAt(i);
                        pageContext.getOut().write(str);
              catch(Exception ex)
              return EVAL_PAGE;
    Pls help me to get through this hurdle
    Thanks

    1) To handle <bodycontent> you should inherit from BodyTagSupport
    class
    2) You should use your bean like: <td><atmjsp:ATM/></td>
    with closing slash - it's bodyless tag - this mistake
    causes JSP compiler to report error
    Enjoy!
    Paul

  • In Jsp TagLib how can I get the Attribute value (like JavaBean) in jsp

    Dear Friends,
    TagLib how can I get the Attribute value (like JavaBean) in jsp .
    I do this thing.
    public void setPageContext(PageContext p) {
              pc = p;
    pc.setAttribute("id", new String("1") );
              pc.setAttribute("first_name",new String("Siddharth")); //,pc.SESSION_SCOPE);
              pc.setAttribute("last_name", new String("singh"));
    but in Jsp
    <td>
    <%=pageContext.getAttribute("first_name"); %>
    cause null is returing.
    Pls HELP me
    with regards
    Siddharth Singh

    First, there is no need to pass in the page context to the tag. It already is present. How you get to it depends on what type of tag:
    Using [url http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/jsp/tagext/SimpleTagSupport.html]SimpleTagSupport
    public class MyTag extends SimpleTagSupport
      public void doTag()
        PageContext pc = (PageContext)getJspContext();
        pc.setAttribute("first_name", "Siddharth");
        pc.setAttribute("last_name", "Singh");
        pc.setAttribute("id", "1");
    }Using [url http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/jsp/tagext/TagSupport.html]TagSupport or it's subclass [url http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/jsp/tagext/BodyTagSupport.html]BodyTagSupport the page context is aleady declared as an implicit object:
    public class MyTag extends TagSupport
      public void doStartTag()
        pageContext.setAttribute("first_name", "Siddharth");
        pageContext.setAttribute("last_name", "Singh");
        pageContext.setAttribute("id", "1");
    }In each case, this sort of thing should work:
    <mytags:MyTag />
    <%= pageContext.getAttribute("first_name") %>I

  • JSP Taglib Issues

    Hey there. I am deploying a WAR file on OC4J 9.0.4.0, and it has a taglib that I wrote as well as the "core" tld. I have made sure that my tag classes, my tld file, and my web.xml conform to JSP 1.2 as JSP 2.0 does not appear to be supported. I receive the following error:
    (See bold)
    500 Internal Server Error
    java.lang.NullPointerException
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].naming.ContextClassLoader.loadClass(ContextClassLoader.java:138)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].naming.ContextClassLoader.loadClass(ContextClassLoader.java:138)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].naming.ContextClassLoader.loadClass(ContextClassLoader.java:138)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at
    oracle.jsp.parse.JspUtils.loadClassJDK(JspUtils.java:255)
    at oracle.jsp.parse.JspUtils.loadClass(JspUtils.java:245)
    at oracle.jsp.parse.JspRTTag.<init>(JspRTTag.java:136)
    at oracle.jsp.parse.JspParseState.createTagParser(JspParseState.java:573)
    at oracle.jsp.parse.JspParseTag.parseNextTag(JspParseTag.java:693)
    at oracle.jsp.parse.JspParseTagFile.parse(JspParseTagFile.java:184)
    at oracle.jsp.parse.OracleJsp2Java.transform(OracleJsp2Java.java:154)
    at oracle.jsp.runtimev2.JspPageCompiler.attemptCompilePage(JspPageCompiler.java:406)
    at oracle.jsp.runtimev2.JspPageCompiler.compilePage(JspPageCompiler.java:282)
    at oracle.jsp.runtimev2.JspPageInfo.compileAndLoad(JspPageInfo.java:443)
    at oracle.jsp.runtimev2.JspPageTable.getJspClass(JspPageTable.java:210)
    at oracle.jsp.runtimev2.JspServlet.getJspClass(JspServlet.java:684)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpApplication.getOjspJspFileServletInst(HttpApplication.java:2155)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpApplication.loadServlet(HttpApplication.java:1990)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpApplication.findServlet(HttpApplication.java:4523)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2561)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:640)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Unknown Source)
    I can verify that all the files are in the right places as well.
    I have exhausted all avenues as far as determining why this error is occurring, but I cannot solve it. Worse yet, we have a deadline fast approaching. I know this isn't much, but I was hoping the stack trace could at least help you point me in some direction. Any insights you have out there are greatly appreciated.
    Thanks and Happy New Year.

    Hello MackDe,
    If the rquired libraries are not updated in the NWDI system. Plz ask your Basis team to update the shr/ext component from the SAP Market place. After the update plz create the project of shr/ext and synch it,  then all the required libraries will be added to the classpath automatically in NWDS. Do the build and deploy and test the application. If not plz update the latest errors that you got.
    Thanks,
    Pateelu

  • JSP taglib prefix issue

    Placing the prefix before the URI as shown below works when deploying to Tomcat
    <%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
    but does not work for OC4J.
    For OC4J , placing the prefix after URI works , but will not work under Tomcat
    <%@ taglib uri="http://www.springframework.org/tags" prefix="spring" %>
    Any ideas?
    Jeff
    GoogleTalk : ejbengine
    Skype : ejbengine
    Registered Linux user number 366042

    Placing the prefix before the URI as shown below
    works when deploying to Tomcat
    <%@ taglib prefix="spring"
    uri="http://www.springframework.org/tags" %>
    but does not work for OC4J.It should not matter which one is placed first. If it does not work for OC4J, it should be, as my first thought, caused by some factors other than the order of attributes. Can you confirm that once if the uri and the prefix are switched in a single jsp file, then that jsp file will be working correctly? If so, what is version of your oc4j?
    As far as I have tried on oc4j 10.1.3.0.0, there is no such problem.

  • JSP taglib  Error

    hi
    I am using IPlanet 4.1 web Server
    Here is the error i get ..
    [02/Jul/2001:16:39:20] info (11201): JSP: JSP1x compiler threw exception
    org.apache.jasper.JasperException: Unable to open taglibrary /mylib.tld : Could not locate TLD
    META-INF/taglib.tld
    at
    org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEventListener.java,
    Compiled Code)
    at org.apache.jasper.compiler.DelegatingListener.(DelegatingListener.java, Compiled Code)
    at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java, Compiled Code)
    at org.apache.jasper.compiler.Parser.parse(Parser.java, Compiled Code)
    at org.apache.jasper.compiler.Parser.parse(Parser.java, Compiled Code)
    at org.apache.jasper.compiler.Parser.parse(Parser.java, Compiled Code)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java, Compiled Code)
    at com.netscape.server.http.servlet.NSServletEntity.load(NSServletEntity.java, Compiled
    Code)
    at com.netscape.server.http.servlet.NSServletEntity.update(NSServletEntity.java, Compiled
    Code)
    at com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner.java, Compiled
    Code)
    Can anyone please help me on this .
    My JSP file looks like :
    <%@ taglib uri="/mylib.tld" prefix="test" %>
    <html>
    <body>
    <test:hello name="Hans">
    </body>
    </html>
    And The mylib.tld is :
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <!DOCTYPE taglib
    PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
    "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
    <taglib>
    <tlibversion>1.0</tlibversion>
    <jspversion>1.1</jspversion>
    <shortname>test</shortname>
    <tag>
    <name>hello</name>
    <tagclass>classes.HelloTag</tagclass>
    <bodycontent>empty</bodycontent>
    <attribute>
    <name>name</name>
    </attribute>
    </tag>
    </taglib>
    Thanks,
    vikas

    Does your web server have an internet connection, or is it just a localhost on a development machine? If it can't see the internet, it can't find the DTD:
    <!DOCTYPE taglib
    PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
    "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
    ...which may be your problem. A workaround is to download the above file, put it on your webserver somewhere, and change this url to point to the new location.

  • JSP---Taglib

    HI
    I am new JSP .Can any one tell what is taglib
    with regards
    Amutha

    hi,
    what is taglibAdvantage of a JSP is its ability to implement a custom tag library. These custom tags allow page designers to abstract themselves from a complex set of logic; include this tag and it will have this effect on the web page.
    Steps
    http://www.jguru.com/faq/view.jsp?EID=323452

Maybe you are looking for

  • Surround Sound via HDMI

    I've tried just about everything to get Surround Sound out of the MacBook Pro. I'm starting to wonder if it's even possible. I have a MacBook Pro Mid-2010 (the first model to support Multi-Channel Audio, BTW), and I've been trying to output surround

  • Airport Express has stopped streaming my iTunes any ideas?

    I have 2 macs connected to my home network. iBook G4 (Tiger) running iTunes 7 works fine. Connects with remote speakers, all is good. Mac mini intel duo core 2 (Leopard) runs iTunes and plays via my computers speakes but will not play wireless to my

  • Photos uploaded to Picasa after being adjusted in Aperture look washed out.

    I imported color pics (RAW and JPEG) from my Nikon D70 to iPhoto. I brought them into Aperture, adjusted the shadows and uploaded them to Picasa (using the Picasa Web Albums Uploader, not the "Aperture to Picasa" plugin. The pictures on Picasa are to

  • Exporting to multiple clips to compressor3.5  from final Cut 7

    Hi have a timeline split into 20 or so individual clips that i want to export as DV fies using compressor. I set the in and out points for each clip in the sequence timeline, then use the "send to compressor" menu option. Each time it sends the clip

  • Transport of Notes/Documents of a query

    Is there a mean to transport notes associated to a BW query ? Thxs. LauQ