Standard.jar taglib is malformed

Hi
I have the following warnings on the console.
I have bea weblogic 8.1 SP6
The application works perfect, but I keep getting this warnings.
Is there a way to fix this? or at least to hide only these warnings?
Thanks
Daniel
####<Dec 4, 2007 10:19:42 AM EST> <Warning> <HTTP> <DV2KATUS03> <ATUS01sp4> <main> <<WLS Kernel>> <> <BEA-101248> <[ServletContext(id=11572001,name=webdesktop,context-path=/)]: Deployment descriptor "jar:file:E:\public\AppServer\ATUSDEVsp4\ATUS01sp4\.wlnotdelete\extract\ATUS01sp4_webdesktop_webdesktop\jarfiles\WEB-INF\lib\standard-1.1.2.jar!/standard-1.1.2/META-INF/fn.tld" is malformed. Check against the DTD: cvc-elt.1: Cannot find the declaration of element 'taglib'. (line 6, column 17).>
####<Dec 4, 2007 10:19:42 AM EST> <Warning> <HTTP> <DV2KATUS03> <ATUS01sp4> <main> <<WLS Kernel>> <> <BEA-101248> <[ServletContext(id=11572001,name=webdesktop,context-path=/)]: Deployment descriptor "jar:file:E:\public\AppServer\ATUSDEVsp4\ATUS01sp4\.wlnotdelete\extract\ATUS01sp4_webdesktop_webdesktop\jarfiles\WEB-INF\lib\webdesktop_taglib-1.0.jar!/META-INF/webdesktopTag.tld" is malformed. Check against the DTD: cvc-elt.1: Cannot find the declaration of element 'taglib'. (line 3, column 81).>
####<Dec 4, 2007 10:19:42 AM EST> <Warning> <HTTP> <DV2KATUS03> <ATUS01sp4> <main> <<WLS Kernel>> <> <BEA-101248> <[ServletContext(id=11572001,name=webdesktop,context-path=/)]: Deployment descriptor "jar:file:E:\public\AppServer\ATUSDEVsp4\ATUS01sp4\.wlnotdelete\extract\ATUS01sp4_webdesktop_webdesktop\jarfiles\WEB-INF\lib\standard-1.1.2.jar!/standard-1.1.2/META-INF/x.tld" is malformed. Check against the DTD: cvc-elt.1: Cannot find the declaration of element 'taglib'. (line 6, column 19).>
####<Dec 4, 2007 10:19:42 AM EST> <Warning> <HTTP> <DV2KATUS03> <ATUS01sp4> <main> <<WLS Kernel>> <> <BEA-101248> <[ServletContext(id=11572001,name=webdesktop,context-path=/)]: Deployment descriptor "jar:file:E:\public\AppServer\ATUSDEVsp4\ATUS01sp4\.wlnotdelete\extract\ATUS01sp4_webdesktop_webdesktop\jarfiles\WEB-INF\lib\standard-1.1.2.jar!/standard-1.1.2/META-INF/permittedTaglibs.tld" is malformed. Check against the DTD: cvc-elt.1: Cannot find the declaration of element 'taglib'. (line 6, column 19).>
####<Dec 4, 2007 10:19:42 AM EST> <Warning> <HTTP> <DV2KATUS03> <ATUS01sp4> <main> <<WLS Kernel>> <> <BEA-101248> <[ServletContext(id=11572001,name=webdesktop,context-path=/)]: Deployment descriptor "jar:file:E:\public\AppServer\ATUSDEVsp4\ATUS01sp4\.wlnotdelete\extract\ATUS01sp4_webdesktop_webdesktop\jarfiles\WEB-INF\lib\standard-1.1.2.jar!/standard-1.1.2/META-INF/c.tld" is malformed. Check against the DTD: cvc-elt.1: Cannot find the declaration of element 'taglib'. (line 6, column 19).>
####<Dec 4, 2007 10:19:42 AM EST> <Warning> <HTTP> <DV2KATUS03> <ATUS01sp4> <main> <<WLS Kernel>> <> <BEA-101248> <[ServletContext(id=11572001,name=webdesktop,context-path=/)]: Deployment descriptor "jar:file:E:\public\AppServer\ATUSDEVsp4\ATUS01sp4\.wlnotdelete\extract\ATUS01sp4_webdesktop_webdesktop\jarfiles\WEB-INF\lib\standard-1.1.2.jar!/standard-1.1.2/META-INF/sql.tld" is malformed. Check against the DTD: cvc-elt.1: Cannot find the declaration of element 'taglib'. (line 6, column 19).>
####<Dec 4, 2007 10:19:42 AM EST> <Warning> <HTTP> <DV2KATUS03> <ATUS01sp4> <main> <<WLS Kernel>> <> <BEA-101248> <[ServletContext(id=11572001,name=webdesktop,context-path=/)]: Deployment descriptor "jar:file:E:\public\AppServer\ATUSDEVsp4\ATUS01sp4\.wlnotdelete\extract\ATUS01sp4_webdesktop_webdesktop\jarfiles\WEB-INF\lib\standard-1.1.2.jar!/standard-1.1.2/META-INF/scriptfree.tld" is malformed. Check against the DTD: cvc-elt.1: Cannot find the declaration of element 'taglib'. (line 6, column 19).>
####<Dec 4, 2007 10:19:43 AM EST> <Warning> <HTTP> <DV2KATUS03> <ATUS01sp4> <main> <<WLS Kernel>> <> <BEA-101248> <[ServletContext(id=11572001,name=webdesktop,context-path=/)]: Deployment descriptor "jar:file:E:\public\AppServer\ATUSDEVsp4\ATUS01sp4\.wlnotdelete\extract\ATUS01sp4_webdesktop_webdesktop\jarfiles\WEB-INF\lib\standard-1.1.2.jar!/standard-1.1.2/META-INF/fmt.tld" is malformed. Check against the DTD: cvc-elt.1: Cannot find the declaration of element 'taglib'. (line 6, column 19).>
-------------------------------------------------------------------------------------

There is no way to hide these warnings. The main reason with these warnings is that standard-1.1.2.jar is based on JSP 2.0 where as WLS 8.1 SP6 does not support JSP 2.0, but only JSP 1.2. Please check http://e-docs.bea.com/wls/docs81/notes/new.html#1184292.
In order to resolve the issue, either you need to use JSTL supported with JSP 1.2 or need to upgrade to WLS versions 9.x or higher.
Please check http://java.sun.com/products/jsp/jstl/, which states
JSTL 1.1 Specification Maintenance Release This release builds on JSTL 1.0, adding a function library and requiring a Web container that supports JSP 2.0.
Jakarta TagLibs Project also states that JSTL 1.1 requires a JSP container that supports JSP 2.0 Specifications. Please see http://jakarta.apache.org/taglibs/doc/standard-doc/intro.html.

Similar Messages

  • Problem in standard.jar

    Hi All,
    I face an exception when try to get response of my application through browser.
    Exception I got on browser:
    org.apache.jasper.JasperException: /index2.jsp(0,0) This absolute uri (http://java.sun.com/jstl/fmt) cannot be resolved in either web.xml or the jar files deployed with this application
    I am developing a springframe mvc application.In which we've to create jsp page start with
    <%@taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt"%>
    I also include standard.jar jar file in by jar folder.
    pl guide any If know about solution of this problem.
    Regards
    -S.Singh
    My jsp code is:
    <%@ page session="false"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"%>
    <%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>
    Kindly look whatever in tomcat window:
    ParserUtils: warning org.xml.sax.SAXParseException: Valid documents must have a
    <!DOCTYPE declaration.
    Exception initializing TldLocationsCache: XML parsing error on file /WEB-INF/lib
    /standard.jar: (line 3, col -1): Element type "taglib" is not declared.

    Hi,
    Just check have u included this uri & handler class mapping in web.xml.

  • Different errors using standard.jar

    I've been trying to use the standard.jar (JSTL1.0) but I keep getting different errors. I presume, it's JSP1.2 and Servlet2.3 compliant.
    Here is the problem description:
    I've a web-module. I kept this jar under WEB-INF/lib. When I use the taglib usiing
    <%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>
    I get "Unable to open taglibrary http://java.sun.com/jstl/fmt : Could not locate TLD http://java.sun.com/jstl/fmt".
    And when I use the taglib using a local fmt.tld, as in,
    <%@ taglib prefix="fmt" uri="/tld/fmt.tld" %>
    I get, "com.sun.portal.providers.jsp.jasper3.jasper.compiler.CompileException: ......./HarnessPortletContent.jsp(47,65) Unable to load class null".
    Tried both Tomcat3.0 and Sun App Server 7.0

    I know that the JSTL 1.0 jars work in AppServer 7.1. The TLD scanning mechanism is included in 7.1 where you only need to place the jar files that include your TLD's in the web application's WEB-INF/lib directory.
    You can either upgrade to AppServer 7.1 or do the mappings yourself manually as follows:
    1) unjar the JSTL implementation jar file
    2) copy the TLD's to your WEB-INF directory
    3) rejar the JSTL implementation jar file and place it in your WEB-INF/lib directory
    4) modify your web.xml file to point to the JSTL TLD's like:
    <taglib>
    <taglib-uri>http://java.sun.com/jstl/fmt</taglib-uri>
    <taglib-location>/WEB-INF/fmt.tld</taglib-location>
    </taglib>
    I'd recommend upgrading since the above steps are tedious and you can avoid them by using a container like AppServer 7.1 or Tomcat 4.x that implements TLD scanning.
    Thanks,
    Justyna

  • Jstl.jar and standard.jar

    I have an application in 9.2, it is deployed as an exploded directory. For some reason, I have to explicitly add jstl.jar and standard.jar to the weblogic system classpath. I have the jars in the /WEB-INF/lib directory. Weblogic is able to find the classes that are in my other jars that are also in that directory. I have a Spring servlet, and on startup, the application context is able to load and all of my classes and the Spring classes are correctly found.
    However, when I try to hit one of the pages, I get this error:
    java.lang.NoClassDefFoundError: org/apache/taglibs/standard/tag/rt/core/ForEachTag
    I get the feeling that weblogic is correctly parsing through the standard.jar file and correctly finding the tld inside the META-INF directory in the jar. Otherwise, how would it know that it needs to load the "ForEachTag" class? I checked and I made sure that I don't have any .tld files anywhere on the server. I also double checked to make sure that I have the "1.1" version of both of those jars. I also checked and I made sure that my web.xml is the correct version: Here is the top of my web.xml file.
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app version="2.4"
    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 http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" >
    I also did a test where I explicitly added standard.jar and jstl.jar to the classpath (keeping them in the WEB-INF/lib directory, just adding that path to the CLASSPATH) and everything worked.
    Any help would be greatly appreciated. I really don't want to have to modify the startup script of my production servers to include those jars on the classpath.
    Thanks, Chris

    Yes, I tried that. No luck. But, unless I am misunderstanding something, that setting only works if weblogic finds more than one version of a class throughout the classpath. I thought that that setting would just tell weblogic to use the version that it finds in my WEB-INF/lib directory. If this setting were to apply, wouldn't that imply that weblogic is finding some version of this class and I wanted to indicate which one to use. From the error message that I get, weblogic can't find this class anywhere.

  • Jstl.jar and standard.jar in NetBeans

    how can i put jstl.jar, standard.jar in library folder and how can i run that in same ide???

    Which version of NetBeans are you using?
    In general though, you should be able to expand the NetBeans project, select the Libraries folder, right-click on it, select 'Add Jar/File...' option and add any jar to the library list for the project.
    Another method is to define a library by 'Tools | Library Manager | New Library | Name the library and click OK | add the jars you want to be part of the named library'. Once a library is defined, then select 'Add Library...' on the right-click menu of the Libraries folder of a project and add the named library from the library manager. This should add all the jars that are part of the named library to the project.
    In NetBeans 5.5, JSTL 1.1 is a pre-defined library. You should be able to select that from the library manager and add to any project.

  • Standard.jar and jstl.jar directory

    First off I probably should apologize in advance because my problem might be an eclipse config issue.
    I created a simple servlet and I tried to include a jstl library import javax.servlet.jsp.jstl.sql.Result;. It compiled cleanly but, when I ran the application (through a browser accessing tomcat through eclipse) I was getting this error...
    The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application
    I eventually found out what was wrong but I don't understand why it was wrong and that's my question. Originally I had jstl.jar and standard.jar in the projectHome/lib directory. When I moved those 2 files to the projectHome]/WEB-INF/lib directory, however, things ran correctly. Is this a setting somewhere within my tomcat config on eclipse perhaps? Or can someone point me in the right direction about this issue in general?
    Thanks in advance!

    Tomcat and Eclipse have different ideas of classpath.
    In Eclipse you set the classpath as part of the project properties: Java Build Path.
    Tomcat uses:
    - web-inf/classes directory
    - jar files in web-inf/lib
    - jar files in /shared/lib
    - jar files in /common/lib
    So in order to run on Tomcat, they need to be in the web-inf/lib directory.
    Cheers,
    evnafets

  • Where do I put the Jakarta files standard.jar and jstl.jar when developing with JSF 2.0 in OEPE using web logic server

    hi everybody, I am wondering what should i do with the standard.jar and jstl.jar files when using we logic. I tried putting both files into
    the directory c:\oracle\middleware\oracle_home\user_projects\domains\base_domain\bin.  I don't know if this is correct.  Thanks in
    in advance for the help.

    Anyways I found this link on www.oracle.com website by the same author of the book I am reading Deepak Vohra - Templating with JSF 2.0 Facelets.
    although here he is using Weblogic 11g although I don't think it makes a difference.  have a look at the Setting up the Environment section
    where he says to download the jstl.jar and standard.jar files.
    http://www.oracle.com/technetwork/articles/java/facelets-454361.html

  • Jar Taglib in War WebLogic 6.0 sp 1

    Can anyone please give an in depth explanation of what is necessary to
              deploy a tag lib jar inside an unjarred web application resource in Web
              Logic 6.0. I have a jar of my tag library which contains
              /META-INF/taglib.tld
              /com/foo/Test.class
              I am placing this jar in the /WEB-INF/LIB directory of the Default Web
              Application that ships with WebLogic
              6.0sp1.(DefaultWebApp_myserver/WEB-INF/LIB). I should also note this is
              below config/mydomain/applications as shipped with WL6.0.
              My JSP finds the taglib.tld but give an error cannot find class
              com.foo.Test. The taglib.tld is correct because it works when I place
              it in "DefaultWebApp_myserver/WEB-INF/classes/META-INF" directory,
              placing my com/foo/Test.class beside the META-INF directory in
              /WEB-INF/classes/com/foo/Test.class.
              The documentation on this subject in Web Logic 6 is very thin. Have you
              ever considered putting a checklist for common errors linked the doc on
              this or any other subjects?
              Thank you,
              Chris
              

    I recommend you use the Informix jdbc driver available from Informix
    website. It is free and is from the vendor. If you have to use this feature
    with the weblogic driver please call support and file a case.
    hth
    sree
    "Margaret (Margot) Vafides" <[email protected]> wrote in message
    news:3b83061e$[email protected]..
    >
    Hi,
    I am not able to get Column Name:
    String columnName = rsmd.getColumnName(i);
    When I print out:
    System.out.println ("Column = [" + columnName + "]");
    I get:
    [expression] for each value in the row.
    I do get data via table.toString...
    Here is the row with correct data. I see (expression) here as well.
    #### <2001.08.21.15.54.13.PDT> <VERBOSE> Table: [(expression)]:[40731049,
    , 1234589353, 223475628, 999-00990099 , 00120, , ,,
    N , , , null, -1, NW:NO SA:NO HW:NO , S , Y , REG ,2001-08-10,
    1, N , 10077973 , , 0, null, null, null, null, null, -1, ]
    Have any out there experienced this trouble or have any ideas?
    Thanks
    Margot Vafides
    Autodesk Inc.
    IT - Web Application Group
    ([email protected])

  • [ OAS 10.1.2.0.2 ] Convert J2EE 1.4 webapp to J2EE 1.3

    Hi,
    I have a project nicely running under tomcat 5.x and OC4J standalone 10.1.3 ...
    Both rely on J2EE 1.4 accroding to what i understood ...
    But production environnement is OAS 10.1.2.0.2 ... relying on J2EE 1.3 :(
    Deploying the war don't work of course.
    So i've made lots of search to find a way ... i have made a few steps forward but i think i need help now :s ...
    Correct me if i'm wrong, to deploy J2EE 1.3 web app :
    - java classes can be compiled with jdk 1.4.2_x but not 5.0,
    - servlet api 2.3 and jsp 1.2 are needed,
    - jstl can't be higher than 1.0.x.
    So i refactored my code to make it compile with jdk 1.4.2_13.
    Regarding servlet api and jsp, i suppose webapp is using the jars provided with OC4J.
    Do i need to do anything else ?
    I also made little customization of my web.xml :
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app
        PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
        "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
        <!-- uncomment the following if you're using the open-session-in-view pattern
             note: that you'll need to update the filter-class value if you've changed
             the defaults for the package and/or filter name
        <filter>
            <filter-name>OpenSessionInViewFilter</filter-name>
            <filter-class>org.andromda.spring.presentation.AndroMDAOpenSessionInViewFilter</filter-class>
            <init-param>
                <param-name>singleSession</param-name>
                <param-value>false</param-value>
            </init-param>
        </filter>
        -->
        <filter>
            <filter-name>ResponseOverrideFilter</filter-name>
            <filter-class>org.displaytag.filter.ResponseOverrideFilter</filter-class>
        </filter>
        <!-- uncomment the following if you're using the open-session-in-view pattern
        <filter-mapping>
            <filter-name>OpenSessionInViewFilter</filter-name>
            <url-pattern>/*</url-pattern>
        </filter-mapping>
        -->
        <filter-mapping>
            <filter-name>ResponseOverrideFilter</filter-name>
            <url-pattern>*.do</url-pattern>
        </filter-mapping>
        <filter-mapping>
            <filter-name>ResponseOverrideFilter</filter-name>
            <url-pattern>*.jsp</url-pattern>
        </filter-mapping>
        <servlet>
            <servlet-name>action</servlet-name>
            <servlet-class>org.andromda.presentation.bpm4struts.ActionServlet</servlet-class>
            <init-param>
                <param-name>config</param-name>
                <param-value>/WEB-INF/struts-config.xml</param-value>
            </init-param>
            <init-param>
                <param-name>debug</param-name>
                <param-value>3</param-value>
            </init-param>
            <init-param>
                <param-name>detail</param-name>
                <param-value>3</param-value>
            </init-param>
            <init-param>
                <param-name>validate</param-name>
                <param-value>true</param-value>
            </init-param>
            <init-param>
                <param-name>listings</param-name>
                <param-value>false</param-value>
            </init-param>
            <load-on-startup>1</load-on-startup>
        </servlet>
        <!-- precompilation merge-point -->
        <servlet-mapping>
            <servlet-name>action</servlet-name>
            <url-pattern>*.do</url-pattern>
        </servlet-mapping>
        <!-- session-config merge-point -->
        <welcome-file-list>
            <welcome-file>index.jsp</welcome-file>
        </welcome-file-list>
        <error-page>
            <error-code>400</error-code>
            <location><![CDATA[/error-page.jsp?code=400]]></location>
        </error-page>
        <error-page>
            <error-code>403</error-code>
            <location><![CDATA[/error-page.jsp?code=403]]></location>
        </error-page>
        <error-page>
            <error-code>404</error-code>
            <location><![CDATA[/error-page.jsp?code=404&resource=true]]></location>
        </error-page>
        <error-page>
            <error-code>500</error-code>
            <location><![CDATA[/error-page.jsp?code=500&exception=true]]></location>
        </error-page>
        <error-page>
            <exception-type>java.lang.Throwable</exception-type>
            <location><![CDATA[/error-page.jsp?code=exception&exception=true]]></location>
        </error-page>
        <!-- taglib merge-point -->
         <!-- JSTL -->
         <taglib>
              <taglib-uri>http://java.sun.com/jstl/fmt</taglib-uri>
              <taglib-location>/WEB-INF/lib/standard.jar</taglib-location>
         </taglib>
             <taglib>
                 <taglib-uri>http://java.sun.com/jstl/core</taglib-uri>
                 <taglib-location>/WEB-INF/lib/standard.jar</taglib-location>
             </taglib>
             <taglib>
                 <taglib-uri>http://java.sun.com/jstl/xml</taglib-uri>
                 <taglib-location>/WEB-INF/lib/standard.jar</taglib-location>
             </taglib>
         <!-- STRUTS -->
         <taglib>
              <taglib-uri>/WEB-INF/tld/struts-bean-1.1.tld</taglib-uri>
              <taglib-location>/WEB-INF/tld/struts-bean-1.1.tld</taglib-location>
         </taglib>
             <taglib>
                 <taglib-uri>/WEB-INF/tld/struts-html-1.1.tld</taglib-uri>
                 <taglib-location>/WEB-INF/tld/struts-html-1.1.tld</taglib-location>
             </taglib>
             <taglib>
                 <taglib-uri>/WEB-INF/tld/struts-tiles-1.1.tld</taglib-uri>
                 <taglib-location>/WEB-INF/tld/struts-tiles-1.1.tld</taglib-location>
             </taglib>
             <taglib>
                 <taglib-uri>/WEB-INF/tld/struts-logic-1.1.tld</taglib-uri>
                 <taglib-location>/WEB-INF/tld/struts-logic-1.1.tld</taglib-location>
             </taglib>
    </web-app> Each time i start my OC4J container, i get this error :
    07/02/06 11:37:05 gesprod: Error preloading servlet
    javax.servlet.UnavailableException
         at org.apache.struts.action.ActionServlet.init(ActionServlet.java:368)
         at javax.servlet.GenericServlet.init(GenericServlet.java:258)
         at org.andromda.presentation.bpm4struts.ActionServlet.init(ActionServlet.java:19)
         at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2354)
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4795)
         at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4889)
         at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1015)
         at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:549)
         at com.evermind.server.Application.getHttpApplication(Application.java:890)
         at com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.java:707)
         at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:625)
         at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:278)
         at com.evermind.server.http.HttpServer.setSites(HttpServer.java:278)
         at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:179)
         at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2394)
         at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1551)
         at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:92)
         at java.lang.Thread.run(Thread.java:534)If you could provide me some hints, it would be very kind of you.
    Best regards,
    Geoffrey Jachimiak

    Hi,
    Some good news, JAAS was easily configured using web console.
    I can navigate through my first forms.
    I still got some errors, i think it is related to the way jsp and taglibs are mixed.
    It may be different from jsp 2.0 ... i've read some docs about EL expressions ...
    I'll deepen this :)
    Here is the trace in application.log
    07/02/06 14:26:39 gesprod: Servlet error
    java.lang.IllegalArgumentException: can't parse argument number param.code
        at java.text.MessageFormat.makeFormat(MessageFormat.java:1323)
        at java.text.MessageFormat.applyPattern(MessageFormat.java:447)
        at java.text.MessageFormat.<init>(MessageFormat.java:347)
        at org.apache.struts.util.MessageResources.getMessage(MessageResources.java:287)
        at org.apache.struts.taglib.TagUtils.message(TagUtils.java:1032)
        at org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:224)
        at _error_2d_page._jspService(_error_2d_page.java:77)
        at com.orionserver[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
        at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:569)
        at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:305)
        at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
        at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
        at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
        at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:222)
        at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.GetParametersRequestDispatcher.forward(GetParametersRequestDispatcher.java:257)
        at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1063)
        at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:263)
        at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:386)
        at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:318)
        at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)
        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
        at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
        at org.andromda.presentation.bpm4struts.ActionServlet.doPost(ActionServlet.java:48)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
        at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
        at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:222)
        at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1063)
        at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:263)
        at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:386)
        at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:318)
        at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)
        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
        at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
        at org.andromda.presentation.bpm4struts.ActionServlet.doPost(ActionServlet.java:48)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
        at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125)
        at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
        at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
        at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
        at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
        at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
        at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
        at java.lang.Thread.run(Thread.java:534)Best regards,
    Geoffrey Jachimiak

  • Looking for Simple JSTL Example

    Hi Everyone,
    I'm looking for an example of a simple Web application that uses "JavaServer Pages Standard Tag Library" (JSTL) -- that doesn't use JDeveloper!
    I have OC4J stand-alone 10.1.3.0.0 on Microsoft Windows XP Professional Version 2002 Service Pack2 with JDK 1.5.0_07
    I created and packaged a J2EE application in a EAR file. The EAR file contents:
    META-INF/application.xml
    frstjstl.warContents of "application.xml"
    <?xml version="1.0"?>
    <application
           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/application_1_4.xsd"
           version="1.4">
      <module>
        <web>
          <web-uri>frstjstl.war</web-uri>
          <context-root>frstjstl</context-root>
        </web>
      </module>
    </application>Contents of "frstjstl.war"
    META-INF/MANIFEST.MF
    index.jsp
    WEB-INF/lib/standard.jar
    WEB-INF/web.xmlContents of "web.xml"
    <?xml version="1.0"?>
    <web-app 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-app_2_4.xsd"
             version="2.4">
      <welcome-file-list>
        <welcome-file>index.jsp</welcome-file>
      </welcome-file-list>
      <jsp-config>
        <taglib>
          <taglib-uri>http://java.sun.com/jsp/jstl/core</taglib-uri>
          <taglib-location>/WEB-INF/lib/standard.jar</taglib-location>
        </taglib>
      </jsp-config>
    </web-app>Contents of "index.jsp"
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <html>
      <head>
        <title>Simplest JSTL</title>
      </head>
      <body>
        &lt;h1>Simplest JSTL</h1>
        <c:forEach var="httpRequestHeaders" items="${headerValues}">
          ${httpRequestHeaders.key} = ${httpRequestHeaders.value}
        </c:forEach>
      </body>
    </html>My JSTL implementation comes from here:
    http://jakarta.apache.org/taglibs/doc/standard-doc/intro.html
    The distribution contains a "standard.jar" file and a "jstl.jar" file (among other things). The "standard.jar" file is included in my WAR (see above) and I have copied the "jstl.jar" file to:
    %J2EE_HOME%\jsp\lib\taglibI launch OC4J from the command prompt like this:
    java -jar oc4j.jarI deploy my EAR using the following command:
    java -jar admin.jar ormi://localhost oc4jadmin xxx -deploy -file frstjstl.ear -deploymentName FirstJSTL -bindWebApp default-web-siteThen I launch my Web browser and enter the following URL:
    http://localhost/frstjstlAnd I get the following error message:
    500 Internal Server Error
    OracleJSP: oracle.jsp.parse.JspParseException: /index.jsp: Line # 8, <c:forEach var="httpRequestHeaders" items="${headerValues}">
    Error: Attribute: items is not a valid attribute nameThanks (for reading),
    Avi.

    Thanks Qiang.
    Yes, when I copy file "index.jsp" to directory "%J2EE_HOME%\default-web-app\testJstl.jsp" it works.
    I use the following URL:
    http://localhost:8888/testJstl.jspAnd this is the output I get:
    [Format modified to be more suitable to post on this forum.]
    Simplest JSTL
    CONNECTION = [Ljava.lang.String;@7348e
    USER-AGENT = [Ljava.lang.String;@10b8d03
    ACCEPT-LANGUAGE = [Ljava.lang.String;@157011e
    ACCEPT-ENCODING = [Ljava.lang.String;@10a8143
    ACCEPT = [Ljava.lang.String;@ac8360 HOST = [Ljava.lang.String;@1e534cb
    [/pre]
    But I guess, since the JSTL related JAR files are part of the default Web application, there is no reason it shouldn't work.
    That's why you said:
    Let us do a sanity test first.So now what?
    (And, by the way, thanks for your help.)
    Cheers,
    Avi.
    Message was edited by:
            Avi Abrami                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Standard taglibs

    Hi,
    I have been handed a grenade sans pin here at work and asked to fix it.
    I am running Tomcat 5.5.25 and Oracle JDeveloper 10.1.2. I have a question regarding the use of standard tag libs.
    When I include the lines:
    <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
    <%@ taglib uri="http://java.sun.com/jstl/sql" prefix="sql"%>
    in my jsp file, the Java editor flags the 'sql' entry with a nullpointerexception.
    As far as I can determine I have done what's required - placed the JSTL 1.1 'standard.jar' and 'jstl.jar' in WEB-INF\lib and placed the respective tld files beneath WEB-INF.
    I am wondering if I have an environment setting wrong? Despite all the stuff on-line saying how easy taglibs are to use, I have not been able to get them working.
    Finally, for standard taglibs (as opposed custom) do I need to add the taglib entries to my web.xml? When I do add these entries JDeveloper complains as though it does not recognise the <taglib> element.
    Thanks,
    Ade

    Hi,
    I have been handed a grenade sans pin here at work and asked to fix it.
    I am running Tomcat 5.5.25 and Oracle JDeveloper 10.1.2. I have a question regarding the use of standard tag libs.
    When I include the lines:
    <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
    <%@ taglib uri="http://java.sun.com/jstl/sql" prefix="sql"%>
    in my jsp file, the Java editor flags the 'sql' entry with a nullpointerexception.
    As far as I can determine I have done what's required - placed the JSTL 1.1 'standard.jar' and 'jstl.jar' in WEB-INF\lib and placed the respective tld files beneath WEB-INF.
    I am wondering if I have an environment setting wrong? Despite all the stuff on-line saying how easy taglibs are to use, I have not been able to get them working.
    Finally, for standard taglibs (as opposed custom) do I need to add the taglib entries to my web.xml? When I do add these entries JDeveloper complains as though it does not recognise the <taglib> element.
    Thanks,
    Ade

  • Cannot find the declaration of element taglib

    Hi,
              I am using JSTL1.1 standard.jar.I deployed it in my WL8.1 server.when i start my WL8.1 it giving the following warning.Its not giving any error while runtime.
              Please help me.
              Mitul
              <Warning> <HTTP> <BEA-101248> <[ServletContext(id=
              26711310,name=pem,context-path=/)]: Deployment descriptor "jar:file:E:\WORKSP~3\
              Domains\PEM-FM\.\portalServer\.wlnotdelete\extract\portalServer__appsdir_pem_dir
              _pem\jarfiles\WEB-INF\lib\standard.jar!/META-INF/fn.tld" is malformed. Check aga
              inst the DTD: cvc-elt.1: Cannot find the declaration of element 'taglib'. (line
              3, column 228).>

    Hi,
              can you check with JSTL1.0
              pl. let me know service pack that you are using
              Regards,
              Prasanna Yalam

  • Weblogic 8.1 error  on deploying web app - Cannot find taglib declaration

    I am using netbeans 6.5.1. The java EE Version is configured to J2EE 1.3 and JDK version is 1.4.2 for the project.
    The application server is WebLogic 8.1.
    On deploying get the error "ServletContext(id=18276115,name=WebApplication3,context-path=/)]: Deployment descriptor "jar:file:<file path>/.wlnotdelete/extract/EdcSrv1_WebApplication3_WebApplication3/jarfiles/WEB-INF/lib/standard.jar!/META-INF/c.tld" is malformed. Check against the DTD: cvc-elt.1: Cannot find the declaration of element 'taglib'. (line 6, column 19)"
    The same error is repeated for x.tld, fn.tld, fmt.tld, scriptfree.tld, sql.ltd
    Checked web.xml file and does not have any taglib tags.
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
        <context-param>
            <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
            <param-value>client</param-value>
        </context-param> ....will post the entire file if required.
    do i need to manually add the taglib tags?
    Any suggestions?
    Thanks.

    I am using netbeans 6.5.1. The java EE Version is configured to J2EE 1.3 and JDK version is 1.4.2 for the project.
    The application server is WebLogic 8.1.
    On deploying get the error "ServletContext(id=18276115,name=WebApplication3,context-path=/)]: Deployment descriptor "jar:file:<file path>/.wlnotdelete/extract/EdcSrv1_WebApplication3_WebApplication3/jarfiles/WEB-INF/lib/standard.jar!/META-INF/c.tld" is malformed. Check against the DTD: cvc-elt.1: Cannot find the declaration of element 'taglib'. (line 6, column 19)"
    The same error is repeated for x.tld, fn.tld, fmt.tld, scriptfree.tld, sql.ltd
    Checked web.xml file and does not have any taglib tags.
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
        <context-param>
            <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
            <param-value>client</param-value>
        </context-param> ....will post the entire file if required.
    do i need to manually add the taglib tags?
    Any suggestions?
    Thanks.

  • I can't connect to MySQL database from The JSP Standard Tag Library

    Hi All !
    I have a problem, please help me anybody !
    I don't connect to MySQL database from jsp page using JSTL tag but from servlet all work correctly. I set my path and put �mysql-connector-java-3.1.13-bin.jar� in ENVIRONMENT WinXP(classpath=C:\Java\jdk1.5.0_10\jre\lib\ext\mysql-connector-java-3.1.13-bin.jar) and in War project folder �WEB-INF/lib� and in [TomcatServer]\common\lib.
    I have in folder�WEB-INF/lib� following files:
    antlr.jar
    commons-beanutils.jar
    commons-collections.jar
    commons-digester.jar
    commons-fileupload.jar
    commons-logging.jar
    commons-validator.jar
    jakarta-oro.jar
    jsf-api.jar
    jsf-impl.jar
    jstl.jar
    mysql-connector-java-3.1.13-bin.jar
    standard.jar
    struts.jar
    I'm using:
    NetBeans 5.5 Build200610171010 (bundled Tomcat 5.5.17)
    Ent.Pack 20061020 Visual Wb Pack 061103
    OS WinXP SP2
    Java 1.5.0_10
    MySQL 5.0.18-nt
    1:<%@page contentType="text/html"%>
    2:<%@page pageEncoding="UTF-8"%>
    8: <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    9: <%@taglib uri="http://java.sun.com/jstl/sql" prefix="sql"%>
    10:
    11: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    12: "http://www.w3.org/TR/html4/loose.dtd">
    13:
    14: <sql:setDataSource var="ds"
    15: driver="com.mysql.jdbc.Driver"
    16: url="jdbc:mysql://localhost:3306/test"
    17: user="root"
    18: password="xxxx"/>
    19:
    20:
    21:<sql:query sql="select name, age from People" var="res"
    22: dataSource="${ds}"/>
    I have received report on mistake when entered code at the top:
    �/index.jsp [21;0] According to TLD or attribute directive in tag file, attribute dataSource does not accept any expressions�
    I used instead of (dataSource="${ds}")->(dataSource="ds") but this did not work.
    After build and run I have received
    =========================================START=================================
    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: /index.jsp(21,0) According to TLD or attribute directive in tag file, attribute dataSource does not accept any expressions
    org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
    root cause
    org.apache.jasper.JasperException: /index.jsp(21,0) According to TLD or attribute directive in tag file, attribute dataSource does not accept any expressions
    org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
    org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:405)
    org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:146)
    org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:955)
    org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:710)
    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:1489)
    org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:166)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
    org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:303)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.17 logs.
    Apache Tomcat/5.5.17
    =======================================END================================
    Error: "According to TLD or attribute directive in tag file, attribute dataSource does not accept any expressions" - but according to documentation such parameter possible.
    BUT WHEN JOINING With DATABASE FROM SERVLET ALL WORK FINE.
    I read this doc - [http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html], this applicable if I Tomcat Admin, but i'am not Admin
    I simply user, i.e. I want to place its database on virtual host (Tomcat+(JSP-JSTL)+MySQL).
    There is idea how can resolve this problem
    Thank you in advance ;)

    For all how have similar problem.
    Decision instead of these ways
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
    <%@ taglib prefix="sql" uri="http://java.sun.com/jstl/sql" %>
    it is necessary to indicate these
    <%@ taglib prefix="sql" uri="http://java.sun.com/jsp/jstl/sql" %>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

  • Taglib URI

    Hi
    I'm developing portlets with JAVA EE 5, Tomcat 5.5.x and Spring Framework 2.0.
    JSP + JSTL are used for views.
    In my jsp pages I have a line
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
    which work fine and I can use the core taglib and its tags.
    However, if I read the Java EE 5 manual at http://java.sun.com/javaee/5/docs/tutorial/doc/JSPIntro9.html#wp73319 (at the end) it says that:
    The absolute URIs for the JSTL library are as follows:
    * Core: http://java.sun.com/jsp/jstl/core
    This URI doesn't work for me. Is this a problem with Tomcat 5.5.9 or am I using wrong jar somewhere? I think jstl.jar is the one to look for - which version should I use and how do I know which version I have?
    Error:
    Servlet.service() for servlet jsp threw exception
    org.apache.jasper.JasperException: /WEB-INF/jsp/index.jsp(1,1) The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application
    with best regards Fredrik

    The difference is between JSTL1.0 and JSTL1.1
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %> = JSTL1.0
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/jsp/core" %> = JSTL1.1
    You can check the version by looking at the file Manifest.mf in the META-INF file of standard.jar or jstl.jar
    You most probably have JSTL1.0 installed.

Maybe you are looking for

  • How do you configure a farm name in RDS 2012?

    I understand Remote Desktop Services has undergo some drastric changes. How do you configure a farm name in RDS 2012? Or is the concept around farm name changed in another concept? Although I have imported a certificate on the RDCH withe the farm nam

  • How can attach a file in BPM Workspace

    Dear BPM Experts, I am using BPM 11.1.1.5.0, I have designed the BPM application with LDAP user and mapped with application role and also deployed successfully, now, I am able access the application in BPM workspace as initiator role. The issue is, I

  • How can I show/hide a nested composition during entire video?

    I cannot figure out how to hide a nested composition/layer during the main composition.  I want to hide it at the beginning, show it during part of the video, and then hide it for the rest of the time.  How is this done?  Is there a better way of doi

  • Is "SET TRANSACTION USE ROLLBACK SEGMENT" only a hint

    I have two users, one makes some inserts in a table. The other makes a select which visits many rows. I have a big rollback-segment. To ensure, both users use this rollback-segment I created a logon-trigger: CREATE OR REPLACE TRIGGER a_logon AFTER LO

  • SpeedGrade CS6 keeps crashing on render

    I have a Macbook Pro with 2.6 GHz i7 with 16 gb of ram updated to the latest OS X (10.8.5)  SpeedGrade CS6 keeps crashing on rendering.  I have selected a couple of output options (h.264, ProRes, and uncompressed), but none work.  I believe I have th