Regarding JSTL Core library

Hi All,
When I run the following JSP
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jstl/sql" prefix="sql"%>
<%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt"%>
<%@ page import="java.util.*,com.dpbabu.*"%>
<html><head><title></title></head>
<body>
<c:set var="rowsPerPage" value="10" scope="session"/>
<c:set var="categories" value="${rows}"/>
<%int rowNum=categories.size();%>
<c:set var="a" value="rowNum/rowsPerPage">
<fmt:formatNumber maxFractionDigit="0"/>
</c:set>
</body>
</html>
I am getting the following Error: Please solve my Problem. I put all required .jar files in the Application directory.
org.apache.jasper.JasperException: /PageView.jsp(9,0) According to TLD or attribute directive in tag file, attribute value does not accept any expressions
     org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
     org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409)
     org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:150)
     org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:941)
     org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:696)
     org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1441)
     org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
     org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
     org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2219)
     org.apache.jasper.compiler.Node$Root.accept(Node.java:456)
     org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
     org.apache.jasper.compiler.Validator.validate(Validator.java:1475)
     org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:214)
     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)
     com.dpbabu.Search.doPost(Search.java:57)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
What is the Actual problem? is there any syntax error?
Please the correct the syntax if wrong.
Thanks in avance.
Prasad.

This is the standard error message you see when you use JSTL1.0 with a JSP2.0 container like Tomcat 5.
With Tomcat 5 you should be using JSTL1.1
For JSTL1.1 you need to use the following import:
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
(note the subtle addition of the "jsp" into the url.)
Also make sure your web.xml file declares itself as being version 2.4
http://forum.java.sun.com/thread.jspa?threadID=629437&tstart=0

Similar Messages

  • Getting img tags to work in sub page using jstl core import tag

    Am trying to bring disparate system page reports together under one web app. This means using the jstl core import tag (I dont want to redirect as I want to hide the urls, this web app provides better security than those it calls).
    Use of the import tag works to a degree but any resources (ie. img tags) don't load.
    Have created a much simplified example that demonstrates..
    So heres the jsp...
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
    <h3>Delivery Performance Report</h3>
    <c:url value="http://localhost/mycontext/subpage.html" var="myUrl"/>
    <c:import url="${myUrl}" />and a simple sub page (note plain html, no jsp, this mimics my project as the other systems are hidden source, non jsp)
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
    <HTML>
    <HEAD>
    <TITLE>sub page</TITLE>
    </HEAD>
    <BODY>
         This is the sub page<br>
         <img src="images/banner_image.jpg" />
    </BODY>
    </HTML>While I dont get any errors what I do get is ..
    Delivery Performance Report
    This is the sub page
    ...but image fails to load.
    If I redirect instead of import it works, but as I said I need to hide the url from the user as security is an issue.
    Any help appreciated, really pulling my hair out with this final stage of something that will make a real difference to us!
    regards,
    G.

    Thanks for the answer but Im afraid thicko here doesnt get it.
    The img src is relative to the sub page, and I have tried it with an absolute address (ie. http://localhost/.....) with the same result.
    If I call the sub page direct (get with browser) the image tag works. Its just if the sub page is imported with the jstl core import tag.
    I've not tried a base tag. The real project always returns pages containing absolute urls... http://ourReportServer/reports?....plenty of params so dont belive relevant, please correct me if Im wrong here though.
    thanks, G.

  • JDeveloper 10.1.3.0.4 and JSTL Core 1.1

    I am attempting to use JSTL Core 1.1 with the new version of JDeveloper. I can reference the URI for JSTL 1.0 just fine but my web page cannot seem to find JSTL 1.1. I get an error of Error(2): "http://java.sun.com/jsp/jstl/core" is not a registered TLD namespace when I try to comple and an error of Fix install JSP Tag Library failed with exception: java.lang.reflect.InvocationTargetException when I try to do a Install JSP Tag library command. The manage libraries tab shows everything in the correct place. Any ideas?

    This was imported from an old Java 1.4 project, but I wished to upgrade it to use JSTL 1.1. Apparently if you import an old project there is no way to switch it to use JSP 2.0 (or at least I could not find one). As such now I have to recreate all of my old projects from scratch (create the project and then import all the source code) to be able to use JSP 2.0 features.

  • Deployment error - Missing class: javax.servlet.jsp.jstl.core.Config

    Hi,
    We are using JDeveloper 10.1.3.0.4(SU5) on windows for development of ADF application. We need to deploy the developed application onto Oracle Application Server 10g (10.1.3) which is running on Solaris. We are using BC4J, WAR and EAR deployment profiles in jdeveloper to create the .war and .ear files.
    If I deploy the generated ear on a standalone OC4J server install on my windows PC, it works fine.
    Now when I deploy the generated .ear file onto the Oracle Application Server 10.1.3 through Application Server Control interface and then try to access the jspx pages under our application we are getting following error:
    oracle.classloader.util.AnnotatedNoClassDefFoundError:      Missing class: javax.servlet.jsp.jstl.core.Config     Dependent class: com.sun.faces.application.ViewHandlerImpl     Loader: accaweb.web.accaweb:0.0.0     Code-Source: /oracle/app/oracle/product/10gas3/j2ee/home/applications/accaweb/accaweb/WEB-INF/lib/jsf-impl.jar     Configuration: WEB-INF/lib/ directory in /oracle/app/oracle/product/10gas3/j2ee/home/applications/accaweb/accaweb/WEB-INF/libThe missing class is available from the following locations:     1. Code-Source: /oracle/app/oracle/product/10gas3/j2ee/home/default-web-app/WEB-INF/lib/jstl.jar (from WEB-INF/lib/ directory in /oracle/app/oracle/product/10gas3/j2ee/home/default-web-app/WEB-INF/lib)      This code-source is available in loader default.web.defaultWebApp:0.0.0.      at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2051) [oracle/app/oracle/product/10gas3/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@1482257]
    I have confirmed that the .war file inside the .ear file does contain the jstl.jar file under WEB-INF/lib folder. And the jar file does contain the class 'javax.servlet.jsp.jstl.core.Config'
    As a workaround, I found that if I copy the jstl.jar file from default-web-app to my application web-inf/lib folder, things start to work fine. ie copy from: '/oracle/app/oracle/product/10gas3/j2ee/home/default-web-app/WEB-INF/lib/jstl.jar'
    to: '/oracle/app/oracle/product/10gas3/j2ee/home/applications/accaweb/accaweb/WEB-INF/lib/'
    – or –
    Another workaround is to add the '/oracle/app/oracle/product/10gas3/j2ee/home/default-web-app/WEB-INF/lib/jstl.jar' file in the classpath for my web application through Application Server Control setting page.
    Now both of these workaround needs us to perform additional post deployment steps which should really not be required since the jar files is included in the project.
    Has anyone faced this issue? Any pointers in this respect will be a great help.
    regards - rutwik

    Surprise Surprise !
    I just tried deploying the file via uploading it from the Application Server Control UI and it worked fine.
    Till now, I was ftp'ing the ear file from my PC to the server on which Oracle AS is running and was telling Application Server Control to pick form that uploaded location.
    I am still not clear on why it works with HTTP upload and not via the FTP upload?
    cheers - rutwik

  • JSTL javax.servlet.jsp.jstl.core.Config strange lookup

    Hi everyone !
    Could someone explain me this code in the class javax.servlet.jsp.jstl.core.Config :
    public static Object get(PageContext pc, String name, int scope) {
    switch (scope) {
         case PageContext.PAGE_SCOPE:
         return pc.getAttribute(name + PAGE_SCOPE_SUFFIX, scope);
         case PageContext.REQUEST_SCOPE:
         return pc.getAttribute(name + REQUEST_SCOPE_SUFFIX, scope);
         case PageContext.SESSION_SCOPE:
         return get(pc.getSession(), name);
         case PageContext.APPLICATION_SCOPE:
         return pc.getAttribute(name + APPLICATION_SCOPE_SUFFIX, scope);
         default:
         throw new IllegalArgumentException("unknown scope");
    Why adding a suffix when calling PageContext.getAttribute(String, int) ?
    This could lead to potential problems... For example, in my web application I want to share a single ResourceBundle for each JSP page and I would like to use <fmt:message/> tag to resolve my messages.
    For this purpose I added a LocalizationContext in my servlet context attribute in its init method:
    ResourceBundle bundle = ....
    LocalizationContext context = new LocalizationContext(bundle);
    servletContext.setAttribute(Config.FMT_LOCALIZATION_CONTEXT, context);
    Thus, the <fmt:message/> will be able to resolve the messages from this LocalizationContext...
    Unfortunately, this will never happen because the implementation of this tag call somewhere Config.find(PageContext, String) that will call the Config.get(PageContext, String, int) method....
    A quick fix would be to replace the name of the servlet context attribute :
    servletContext.setAttribute(Config.FMT_LOCALIZATION_CONTEXT + ".application", context);
    Could someone tell me if it is a bug ? A bug of the Message tag implementation ? A bug in JSTL code ? Or am I doing all wrong ?
    Note : I'am using a servlet 2.4/JSP 2.0 compatible application with the jstl 1.2 core library and the jakarta standard 1.1.2 implementation library. I'am using Jetty to test my application with Jasper as the JSP compiler...

    This is an internal decision made by JSTL as to how it stores its configuration values.
    The reason they have given here for the suffixes being added is to treat the four scopes as different namespaces, so that there can be no confusion between them.
    I'd say your mistake is trying to set this value into the attribute space yourself rather than using one of the defined interfaces for JSTL to do it - in web.xml, or using the Config class.
    I guess that would make your code
    Config.set(servletContext, Config.FMT_LOCALIZATION_CONTEXT, context); Using their interface for setting this attribute adds the required suffix automatically.
    Cheers,
    evnafets

  • ActionScript 3 Core Library

    how to use ....  ActionScript 3 Core Library.  pls help...

    how to use ....  ActionScript 3 Core Library.  pls help...

  • [Xcode 4.0.1] Internal error installing Mac OS X 10.6 core library

    Hi folks, this is on a clean 1-month old mac running 10.6.7, with a fresh install of Xcode 4 from the app store. The "documentation" tab in the options allow you to install the mac os 10.6 core library documentation. It downloads the package but fails to install it. Here's the error:
    "Internal error installing Mac OS X 10.6 Core Library". Install process rejected install attempt.
    What can be done to fix this? Thanks.

    http://stackoverflow.com/questions/5658693/xcode-4-0-1-internal-error-installing -mac-os-x-10-6-core-library
    step 1 : Exit XCode And Remove Old Mac OS X 10.6 Core Library.
    Default Position :
    /Library/Developer/Documentation/DocSets
    File Name :
    com.apple.adc.documentation.AppleSnowLeopard.CoreReference.docset
    step 2 : Download Again.
    Open XCode And Select Menu XCode / Preferences... / Documentation,
    get Mac OS X 10.6 Core Library(661 MB) Again.
    ps : In Fact, file size is 1.31 GB, Not 661 MB

  • Oracle 9i core library improvements

    Hi All,
    I'm currently preparing for the Oracle 9i dba exam.
    The test content checklist contains the following :
    'List the benefits of core library improvements'
    Does anybody know more about this ?
    I searched the 9i docs but cannot find any reference to so-
    called 'core library improvements' !?
    Tia,
    Roger.

    Core library is further modularized.
    Reduced dependencies between modules:
    7 Applications pull in smaller chucks, improving memory usage.
    7 Smart linkers pull objects into the executables, based upon
    their atomic level (object files) and their dependencies.
    The result of these changes improve memory usage because
    applications acquire smaller modules, and require less memory
    overall. Also, applications need a smaller number of modules to
    be linked together to meet dependency requirements.
    I am taking the test on 12/03/01 when are you taking?

  • Xcode 4.1: Failed to download documentation package for Mac OS X 10.7 Core Library.

    I have installed Xcode 4.1 in Mac OS lion 10.7, Xcode is failed to download the Mac OS X 10.7 Core Library, but Xcode4.1 download Xcode4.1 developer library successfully. who knows why it is?

    Nothing official, yet. But I don't think this will ever have official response. If it is a policy change and not a bug, we won't get an official response. If we were to get one, we would already have, and no onw would wait until we found that out by ourselves.

  • Can't find JSTL/core.  Why?

    I'm getting this error:
    org.apache.jasper.JasperException: /WEB-INF/jsp/select_season.jsp(6,0) The absolute uri: http://java.sun.com/jstl/core cannot be resolved in either web.xml or the jar files deployed with this applicationfor this code:
    <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>I've never seen an error for this before. What could be wrong? Thanks.
    Ken

    jstl.jar is in the WEB-INF/lib directory, but not standard.jar. WHere does that come from? My tomcat version is 5.0.24 and I built the war with maven. The project.xml points to the jstl jar, version 1.1.2. Thanks.
    Ken

  • How to call java class in jstl core

    Hi,
    Can any one guide me how to call a java method using jstl core library

    Read on about EL functions.

  • ClassNotFoundException: javax.servlet.jsp.jstl.core.LoopTagStatus

    In JSF2, writing facelets I tried to use <ui:repeat> tag instead of <c:forEach> - JSTL tag.
    I get -> java.lang.ClassNotFoundException: javax.servlet.jsp.jstl.core.LoopTagStatus
    Here is my facelet snippet ...
    <ui:repeat value="#{historyCenterManagedBean.purchases}" var="order" >
             <tr>
                 <td>
                    #{order.totalPriceBeforeDiscounts}:
                 </td>
                 <td>
                    #{order.person.firstname}
                  </td>           
             </tr>
        </ui:repeat>I am not sure why am I getting it. Any help is appreciated.

    Hmm, Thanks Ryan. I am still confused.
    I am not clearly understanding why would c:forEach fail? And this is happening after the nightly build jar of 20091216
    for example this is we have:
    <c:forEach var="partner" items="#{contentPartnersManagedBean.allAuthorizedContentPartners}" >
        <tr>
              <td><a href="#{contextPathManagedBean.contextPath}/about_us/providers_detail.jsf?pID=${partner.partnerId}"
                     class="# {portalSkinManagedBean.contentPortletSkin.normalTextStyle}">${partner.partnerName}
                     </a>
              </td>
       </tr>
    </c:forEach>This is the exception:
    javax.servlet.ServletException: javax/servlet/jsp/jstl/core/LoopTagStatus
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:325)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at com.legaledcenter.util.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:250)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at com.jscape.framework.galileo.support.upload.UploadFilter.doFilter(UploadFilter.java:71)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: javax.faces.view.facelets.FaceletException: javax/servlet/jsp/jstl/core/LoopTagStatus
         at com.sun.faces.facelets.tag.AbstractTagLibrary$UserComponentHandlerFactory.createHandler(AbstractTagLibrary.java:303)
         at com.sun.faces.facelets.tag.AbstractTagLibrary.createTagHandler(AbstractTagLibrary.java:672)
         at com.sun.faces.facelets.tag.CompositeTagLibrary.createTagHandler(CompositeTagLibrary.java:177)
         at com.sun.faces.facelets.compiler.TagUnit.createFaceletHandler(TagUnit.java:113)
         at com.sun.faces.facelets.compiler.CompilationUnit.getNextFaceletHandler(CompilationUnit.java:108)Thanks for responding.

  • JSTL/CORE

    I'm trying to use the jstl/core in a JSP. When I try to access the JSP, I get a 'Unable to open taglibrary http://java.sun.com/jstl.core" Any idea why?

    Here is the code. Very Simple.
    <%@ page contentType="text/html" %>
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
    <html>
    <head>
    <title>JSP is Easy</title>
    </head>
    <body bgcolor="white">
    <h1>JSP is as easy as ...</h1>
    <%-- Calculate the sum of 1 + 2 + 3 dynamically --%>
    1 + 2 + 3 = <c:out value="${1 + 2 + 3}" />
    </body>
    </html>
    I am learning JSP's on my own so I am a complete rookie at this. (I hate the term newbie).
    My server is an IBM iSeries (AS/400). I'm not sure where to find the version of Tomcat.

  • JSTL Core - be my hero

    How do I access the Hero[] array located in the BatmanAndRobin class, from my jsp page... PLEASE.
    package ping.pong.heros;
    public class BatmanAndRobin {
         private final Hero[] herosArray;
         public Hero[] getMyHeros() {
              return herosArray;
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
    <html>
         <head>
         </head>
         <body>
              <c:set target="${BatmanAndRobin}" property="getMyHeros" value="${Hero}"/>
              <c:forEach var="abc" items="${ping.pong.heros.BatmanAndRobin}">
                   <p>
                   <c:out value="${abc.getMyHeros}"/>
                   </p>
                   <p>loop 1</p>
              </c:forEach>     
         </body>
    </html>Help would be much appreciated. Asap. Hence the duke dollars.

    Well, You've got a few problems..
    You're misunderstanding the property attribute. You don't have to supply the "get" portion of the property you are after. The property specified is retrieved by the tag via Reflection and will append the "get" to the property name and upper-case the first letter.
    Second, the foreach tag items attribute is refering to the page/session scope bean that contains the collection to iterate over .
    Third, you're using the variable created from the forEach incorrectly. The "abc" variable, in this case, is an instance of the Hero class you've made. So inside the forEach out tag you'll want to output properties that are present in the Hero bean.
    So to fix up your forEach tag you'd need to A) fix your bean property getter to actually be "getHerosArray" (you don't have to do this...but it's the standard way of doing things), B) instantiate a BatmanAndRobin bean correctly before the forEach tag C) your tag should look like <c:forEach var="abc" items="${batmanAndRobinBean.herosArray}" > and D) your out tag will look like <c:out value="${abc.someProperty}" />
    HTH

  • Error using jstl 1.1 core library on Weblogic 8.1

              I've deployed the sample web application 'jstl-examples.war' which comes with the
              Java Web Services Developer Pack 1.2. When I view any page which accesses 'c.tld'
              I get the following exception:
              weblogic.servlet.jsp.JspException: (line -1): cannot load TLD: weblogic.xml.dom.ChildCountException:
              missing child tagclass in tag
              at weblogic.servlet.jsp.TagLibHelper.loadTagLib(TagLibHelper.java:328)
              at weblogic.servlet.jsp.JspLexer.loadTagLib(JspLexer.java:145)
              at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE_BODY(JspLexer.java:4991)
              at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE(JspLexer.java:4829)
              at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java:4675)
              at weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:2093)
              at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1879)
              at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1752)
              at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:962)
              at weblogic.servlet.jsp.JspParser.doit(JspParser.java:105)
              at weblogic.servlet.jsp.JspParser.parse(JspParser.java:228)
              at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:120)
              at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:258)
              at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:364)
              at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:220)
              at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:172)
              at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:504)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:349)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:431)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
              at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6291)
              at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
              at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)
              at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3575)
              at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2573)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
              The c.tld file is well-formed, i can't see why it won't load?
              thanks
              

              Refer to
              http://e-docs.bea.com/wls/docs81/notes/resolved.html#1455538
              thanks,
              Deepak
              "Dave Sturgeon" <[email protected]> wrote:
              >
              >I've deployed the sample web application 'jstl-examples.war' which comes
              >with the
              >Java Web Services Developer Pack 1.2. When I view any page which accesses
              >'c.tld'
              >I get the following exception:
              >
              >weblogic.servlet.jsp.JspException: (line -1): cannot load TLD: weblogic.xml.dom.ChildCountException:
              >missing child tagclass in tag
              > at weblogic.servlet.jsp.TagLibHelper.loadTagLib(TagLibHelper.java:328)
              > at weblogic.servlet.jsp.JspLexer.loadTagLib(JspLexer.java:145)
              > at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE_BODY(JspLexer.java:4991)
              > at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE(JspLexer.java:4829)
              > at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java:4675)
              > at weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:2093)
              > at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1879)
              > at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1752)
              > at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:962)
              > at weblogic.servlet.jsp.JspParser.doit(JspParser.java:105)
              > at weblogic.servlet.jsp.JspParser.parse(JspParser.java:228)
              > at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:120)
              > at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:258)
              > at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:364)
              > at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:220)
              > at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:172)
              > at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:504)
              > at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:349)
              > at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:431)
              > at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
              > at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6291)
              > at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
              > at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)
              > at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3575)
              > at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2573)
              > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
              > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
              >
              >The c.tld file is well-formed, i can't see why it won't load?
              >
              >thanks
              

Maybe you are looking for

  • Not properly displayed report in JRC but in CR designer

    Hi, The report has two XML data sources and data are displayed in a Table. Table is designed with multiple column feature. When I run this report in CR designer preview it works fine. But When I run it in JRC, data are displayed on the report. But no

  • Error invoking web service deployed in SOA Suite

    I have implemented a stateful web service in Jdeveloper 10.1.3.2. I can test succesfully an operation of the web service from the embedeed oc4j of jdeveloper, but i can not succes when i try do the same from the application server control of soa suit

  • Error in Crystal

    Hello Sir,   I am using Web Application and using Crystal Rpt . When Crystal Report OPens it gives me an Error as: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception. Please solve this issue ...

  • Duplicate Target database for  RAC

    Oracle Database 11g Enterprise Edition Red Hat Linux Hi I am cloning a RAC database using Duplicate Target Database command. First we need to create one Auxiliary Instance using the init file of RAC source database. I see the following in the init fi

  • I can see the latest episode of my podcast but not downloading

    Hi all, I've got a podcast feed that runs out of here http://averyhillpublishing.com/category/podcast/ . The first episode worked fine but now I've added a more recent one it's not working properly.  I can see it in the itunes site here http://itunes