Jdev 10.1.2 problem define jstl tagLib

hi,
i have a problem in my jsp when i compile it with JDev 10.1.2, when trying to use JSTL tag:
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
I always get the following message:
Error(3,49): Attribute 'xmlns' used but not declared.
Error(4,58): Attribute 'xmlns:xsi' used but not declared.
Error(5,105): Attribute 'xsi:schemaLocation' used but not declared.
Error(6,18): Attribute 'version' used but not declared.
Error(33,19): Invalid element 'context-param' in content of 'web-app', expected elements '[resource-ref, security-constraint, login-config, security-role, env-entry, ejb-ref, ejb-local-ref]'.
Error(34,18): Invalid element 'description' in content of 'context-param', expected elements '[param-name]'.
but i saw this tutorial http://www.oracle.com/technology/products/jdev/tips/schalk/taglibs/taglibs.html
and i check my preferences about my projet, i had the libraries standart.jar and jstl.jar to my project (Project Properties->Profile->developement->Libraries), and they are located in my <project>/public_html/WEB-INF/lib/
And for the declaration of the taglib,
Tools->Manage Libraries-> JSP TagLibraries the prefix "c" is defined, and it is the same uri what i'm using in my jsp.
I make another with jdev 10.1.3, and i put my project, i compile and it work very fine.
Thanks for any help.
Regis.

Hi this is my Web.xml
I do not have a DTD with the web.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<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 http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4">
<display-name>jGallery</display-name>
<context-param>
     <param-name>useDataBase</param-name>
     <param-value>false</param-value>
</context-param>
<context-param>
     <param-name>dataSource</param-name>
     <param-value>java:comp/env/jdbc/jGallery</param-value>
</context-param>
<context-param>
     <param-name>thumbnailWriter</param-name>
     <param-value>de.jwi.jgallery.toolkit.ToolkitThumbnailWriter</param-value>
</context-param>
<resource-ref>
<description>DB Connection</description>
<res-ref-name>jdbc/jGallery</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
<context-param>
     <description>separate with commas</description>
     <param-name>dirmappings</param-name>
          <param-value>/=D:/temp/jg</param-value>
</context-param>
<servlet>
<servlet-name>Controller</servlet-name>
<servlet-class>de.jwi.jgallery.servlets.Controller</servlet-class>
     <init-param>
          <description>Path prefix, that maps to web ressources</description>
          <param-name>webprefix</param-name>
          <param-value>/web/</param-value>
     </init-param>
</servlet>
<servlet>
<servlet-name>StatisticsController</servlet-name>
<servlet-class>de.jwi.jgallery.servlets.StatisticsController</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Controller</servlet-name>
          <url-pattern>*.html</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>StatisticsController</servlet-name>
     <url-pattern>/Statistics/*</url-pattern>
</servlet-mapping>
<!--
<security-constraint>
<web-resource-collection>
<web-resource-name>jGallery</web-resource-name>
<url-pattern>/Statistics</url-pattern>
</web-resource-collection>
<auth-constraint>
     <role-name>manager</role-name>
</auth-constraint>
</security-constraint>
<login-config>
<auth-method>FORM</auth-method>
<realm-name>Example Form-Based Authentication Area</realm-name>
<form-login-config>
<form-login-page>/security/login.jsp</form-login-page>
<form-error-page>/security/error.jsp</form-error-page>
</form-login-config>
</login-config>
<security-role>
<role-name>manager</role-name>
</security-role>
-->
<welcome-file-list>
     <welcome-file>jGallery.htm</welcome-file>
</welcome-file-list>
<jsp-config>
<taglib>
<taglib-uri> http://www.jwi.de/jGallery/taglib </taglib-uri>
<taglib-location> /WEB-INF/jGallery.tld </taglib-location>
</taglib>
</jsp-config>
</web-app>
I'm not using the JSTL 1.1, in the "management libraries"
i define a JSTL librarie and the version is 1.0.

Similar Messages

  • Integrating Jakarta taglibs in Jdev 9.0.4 (other than JSTL)

    Hello --
    I'm having difficulty getting the magic spell for proper integration of Jakarta taglibs other than the JSTL taglibs to work.
    I've gone into Tools-&gt;Manage Libraries-&gt;Jsp Libraries and created a new Jsp library based on the .tld file / archive file / and uri, and assigned a prefix, but I can't use it.
    If I create a workspace from a WAR for something like 'application-examples.war' from the Jakarta site, when I try and compile the example page, I get a "Attribute 'xmlns:xalan' is used but not declared."
    and Jdev is unable to load the taghandler class.
    Has anyone had any luck getting these taglibs to integrate properly?
    Thanks,
    Donn

    Ok, now I'm going nuts. I can't get JSTL working either -- have tried with the &lt;taglib&gt; directive in web.xml, and without, have tried with registering the libraries in the JSP tab and not registering, and with the .tld files in the lib directory and not.
    Any successes out there?

  • Problem using jstl and displaytags

    Hi all,
    I am using display tags taglib for generation of table. One of the columns has to be shown with the hyperlink attached to it. In order to acheive this i am using jstl taglib together with displaytags
    <display:table name="reportList" id="row" requestURI="viewengagementstatus.do" style="width: 100%;">
    <display:column  title="Period"  sortable="true" style="text-align:  center;" >
    <a href="/jsps/reportsummary.do?eid=<c:out value="${row.eid}" />&reportId=<c:out value="${row.ReportID}" />&reportPeriod=<c:out value="${row.targetDate}"/> " target="_blank"><font size="1"><c:out value="${row.targetDate}"/></font></a>
    </display:column>I am using jstl1.1.2.jar for jstl.
    When i run this on Weblogic10 and windows OS i am able to view the results. On performing the view source on the IE window, i get the following:
    <td style="text-align:  center;">
                   <a href="/jsps/reportsummary.do?eid=78004&reportId=104093&reportPeriod=Nov-2008 " target="_blank"><font size="1">Nov-2008</font></a>
    </td>but when the same code is run on the Weblogic deployed on the Linux machine, i am not getting the links and the name:
    the view-source of the application deployed on the linux machine shows:
    td style="text-align:  center;">
                   <a href="/jsps/reportsummary.do?eid=&reportId=&reportPeriod=" target="_blank"><font size="1"></font></a>
    </td>Any Ideas why this is occuring?
    Any help would be appreciated

    You should be using the one or the other, not both. Since your actual code shows that you don't need the jstl/core_rt taglib (you're using the JSP EL ${ } in JSTL tags rather than scriptlets <%= %> ), just remove that taglib declaration and continue using the jstl/core taglib.
    You should also rather place both the JSTL and standard JAR in the classpath of the application server. In case of Tomcat, put it in its /lib directory. Then remove all unnecessary JSTL and Standard JAR and TLD files from your whole webapplication project and also remove any related entries from the web.xml of your webapplication project. To use JSTL you only need to put the JAR files in the classpath of the application server and define the taglib in your JSP. Nothing less and nothing more. If you're using JSTL 1.2 rather than JSTL 1.1, then you need to remove the standard.jar file too since it is already merged in the jstl-1.2.jar file.
    Oh, the web.xml should also be declared that way that the application server uses at least servlet 2.4.

  • Simple setup problems with JSTL and Tomcat

    Hi all, I'm having some problems getting JSTL to work the 1st time. JSTL setup seems to be a common problem for relative newbies, but having read previous threads, I still haven't been able to solve my problem so hopefully someone can help:
    the jstl.jar and standard.jar are in my WEB-INF/lib directory, so I don't think it's a classpath problem.
    My jsp page has the following at the top:
    <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>Later, I reference a bean var with :
    <c:out value="My var is : ${var.property}"/>In my web.xml I have:
      <taglib>
       <taglib-uri>http://java.sun.com/jstl/core</taglib-uri>
       <taglib-location>/WEB-INF/lib/jstl.jar</taglib-location>
      </taglib>And I've placed the actual tld (c.tld) in the WEB-INF directory.
    On startup I get the error when compiling the JSP:
    No such tag out in the tag library imported with prefix c
    Can anyone help here?
    Thanks in advance,
    Mike

    I think this note from the JSTL mailing list by Shawn Bayern, one of the lead developers of Jakarta JSTL and the author of "JSTL In Action", will clarify it:
    http://www.mail-archive.com/[email protected]/msg04587.html
    Don't put that <taglib> in your web.xml. All the books tell you to do it, but Shawn Bayern has the right answer. The URI should be the one that's in the TLD JAR .tld files.
    I use JSTL and Tomcat 4.1.24 without the <taglib>, and it works fine. - MOD

  • Jstl taglib causes SAXParseException

    I'm having a strange problem with Weblogic Server 7.0 and the JSTL taglib
              from Apache Jakarta. I've isolated the problem to the JSTL taglib
              declaration in my JSP. Whenever the taglib is included in a JSP, the page
              fails to load and displays "Error 500--Internal Server Error". An exception
              appears in the server log complaining that "The value of attribute "import"
              must begin with either a single or double quote character." However, the
              import attribute is correctly quoted. Experimentation showed that the JSP
              parser fails on the first attribute of any tag on the page whenever the JSTL
              taglib is included. Removing the taglib declaration makes the error
              disappear, and removing all tags but the taglib declaration also makes the
              problem disappear. The page runs fine on Tomcat. Any ideas what's wrong?
              Thanks,
              Dave
              Here's a minimal JSP that recreates the problem:
              [start page]
              <%@ page import="java.io.InputStream" %>
              <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
              [end page]
              Here's the exception stack trace from the console:
              <Oct 28, 2002 8:41:12 PM PST> <Error> <HTTP> <101019>
              <[ServletContext(id=4925452,name=cdshopcart,co
              ntext-path=/cdshopcart)] Servlet failed with IOException
              java.io.IOException: javax.servlet.jsp.JspException: The taglib validator
              rejected the page: "org.xm
              l.sax.SAXParseException: The value of attribute "import" must begin with
              either a single or double q
              uote character., "
              at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:124)
              at
              weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:255)
              at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:348)
              at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:206)
              at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:160)
              at
              weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:44
              7)
              at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :287)
              at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :376)
              at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :242)
              at
              weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
              ebAppServletC
              ontext.java:5360)
              at
              weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
              r.java:721)
              at
              weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
              ntext.java:30
              43)
              at
              weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
              :2468)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
              and here's a transcript of my web.xml file:
              <?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>
              <session-config>
              <session-timeout>
              30
              </session-timeout>
              </session-config>
              <welcome-file-list>
              <welcome-file>
              index.jsp
              </welcome-file>
              <welcome-file>
              index.html
              </welcome-file>
              <welcome-file>
              index.htm
              </welcome-file>
              </welcome-file-list>
              <taglib>
              <taglib-uri>"http://java.sun.com/jstl/core"</taglib-uri>
              <taglib-location>/WEB-INF/tld/c.tld</taglib-location>
              </taglib>
              </web-app>
              

    Ok, sorry, but this topic (including JSTL into logon page) has been already discussed.
    So, does anyone know another solution how to include a page like masthead into the logon page?
    Best Regards
    Philipp Kölsch

  • Problem defining a java client on tomcat to call the esb web service

    Dear Support,
    I have a java program that has been incorporated on the oracle SOA suite. We now have a problem defining a java client on tomcat to call the esb web service. The Oracle SOA part is running fine”.
    The software versions we are using :
    1 - Oracle SOA suite on 10.1.3.3 Oracle AS
    2 – Java 1.5
    3 – Tomcat 5.5
    4 – OS XP Professional

    If you have a main method in jour generated WSclient class (by the proxy) add the following code below the //add your own code:
    AddFileResponseType testResponse = myPort.addFile(testRequest);
    where AddFileResponseType is the responsetype of the WS and addFile is the method to call. this is just an example of my own webservice.
    Next stap is to put the cursor in the main method and choos debug or run.
    This should invoke the main method en call the webservice
    I hope this helps you
    Kim

  • Problem using JSTL XML tags.

    My xml tag is giving problems. All other tags (core/sql and EL) are working fine. Even a very simple code like :
    <%@ taglib prefix="x" uri="http://java.sun.com/jsp/jstl/xml" %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <!-- parse an XML document -->
    <x:parse var="simple">
    <a>
    <b>
    <c>C </c>
    </b>
    <d>
    <e> E </e>
    </d>
    </a>
    </x:parse>
    <!-- display using XPath expressions -->
    <x:out select="$simple//e"/>
    gives error as :
    javax.servlet.ServletException: Cannot inherit from final class
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:867)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:800)
         org.apache.jsp.jsp.xml.first_jsp._jspService(first_jsp.java:65)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    Pls. help!

    Works with no problems for me. (same exact code posted into a JSP)
    Running on Tomcat 5, Java1.4
    What server are you running, and version of java?
    Is there anything else on the page? Are you extending a class somehow?
    Do you have any extra libraries in the web-inf/lib directory that might be conflicting?

  • Problem with formatting taglib

    I am trying to use the JSTL formatting taglib using JBoss 402 and am having a problem with the <fmt:message tag. Every reference to a message resource, such as <fmt:message key="xyz" /> is not resolved, and instead the value '???xyz???' is always displayed.
    I have made sure that my 'messages.properties' file is in /WEB-INF/classes so that it is in the classpath, and have included the tags below, but these have not changed a thing. Anyone have any ideas or suggestions as to what the problem might be?
    <fmt:setLocale value="${locale}" />
    <fmt:bundle basename = "messages" />

    There are a couple of JSTL tags that deal with bundles.
    The bundle tag you are using here needs the <fmt:message> tag nested inside it:
    <fmt:setLocale value="${locale}" />
    <fmt:bundle basename = "messages">
      <fmt:message key="xyz"/>
    </fmt:bundle>alternatively use the <fmt:setBundle> tag
    <fmt:setBundle basename="messages"/>
    <fmt:message key="xyz"/>Cheers,
    evnafets

  • Problem with JSTL 1.0.6 in WLS 8.1.4 - Please Help

    I am trying to use JSTL 1.0.6 in WLS 8.1.4. Here are the steps I followed:
              <br>
              Step 1:
              Copied the following jar files to WEB-INF/lib directory:<br>
              - jaxen-full.jar<br>
              - jdbc2_0-stdext.jar<br>
              - jstl.jar<br>
              - saxpath.jar<br>
              - standard.jar<br>
              - xalan.jar<br>
              - xercesImpl.jar<br>
              - xml-apis.jar<br>
              <br>
              Step 2:
              Imported JSTL into my one-and-only JSP page as follows:<br>
              <%@ page contentType="text/html;charset=UTF-8" language="java" %>
              <%@ taglib prefix="c"<br>uri="http://java.sun.com/jstl/core" %>
              <%@ taglib prefix="c_rt" uri="http://java.sun.com/jstl/core_rt" %>
              <%@ taglib prefix="x" uri="http://java.sun.com/jstl/xml"%>
              <%@ taglib prefix="x_rt" uri="http://java.sun.com/jstl/xml_rt" %>
              <%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>
              <%@ taglib prefix="fmt_rt" uri="http://java.sun.com/jstl/fmt_rt" %>
              <%@ taglib prefix="sql" uri="http://java.sun.com/jstl/sql" %>
              <%@ taglib prefix="sql_rt" uri="http://java.sun.com/jstl/sql_rt" %>
              <br><%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
              <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
              <br>
              <br>
              (I am also using struts, hence the last two page directives)
              <br>
              <br>
              Step 3:
              Finally I tried to build an EAR (which used to build OK before I added JSTL) using a slightly modified version of the build.xml that comes with the Medrec tutorial. wlcompile went OK, but <b>wlappc</b> failed with the following message:
              <br>
              java.lang.NoClassDefFoundError: javax/servlet/jsp/el/VariableResolver
              <br>
              <br>
              What am I doing wrong? I followed the instructions given in the JSTL 1.0.6 package. Is wlappc not the right tool for translating/compiling the JSP?
              <br>
              Please help!
              <br>
              <br>
              Regards,
              Nadeem

    I can't be sure about exactly what's happening here, but I can point out several things.
              The class "javax.servlet.jsp.el.VariableResolver" is associated with JSTL 1.1.x, and JSP 2.0. It's not part of JSTL 1.0.x. Make sure you really have version 1.0.6, and don't have 1.1 somewhere.
              If you're just trying to use the JSTL, you shouldn't need several of those jars that you're presently including. You only need jstl.jar and standard.jar.
              Why are you using the "rt" versions of these taglibs? Those don't even use the expression language. I would remove "_rt" from all of those references.
              Note that if you're using Struts and the JSTL, you probably want to use Struts-EL, which is a version of the Struts jar that uses the EL to evaluate attribute values. Check the struts-user archive for some information about this. You'll find the struts-el distribution in the "contrib" directory of the Struts distribution.

  • Problem defining partition for storing value 0 with new data

    Hi forumers,
    I've a problem with partitioning and need some advices.
    I've a table that will be partitioned by column Process_N which have values from 0 to 50000:
    Process_N between 1 and 29999 represents old data;
    Process_N >= 30000 represents new data;
    Process_N = 0 means the row is not processed yet and so these value represents new data too.
    Can I have a partition for old values (from 1 to 29999) and another partition to store new values (0 + values >= 30000) ? Hou can I define that ?
    Thank you in advance.
    Best Regards,
    Helena

    Helena,
    What's your oracle version? I think it will be better to create 3 partitions usign RANGE partitions (< 1, 2-29999, >=30000 <=50000). Is there a specific reason you want to include 0 and values greater than 29000 in one partition? What the significant difference between 0 and 30000 specially as both represent new data?
    CREATE TABLE my_part_table (
       process_n NUMBER NULL,
       my_data VARCHAR2 (1 BYTE) NULL,
       my_other_data VARCHAR2 (30 BYTE) NULL,
       data_state NUMBER NULL
    TABLESPACE test_data
    PARTITION BY RANGE (process_n)
       (PARTITION partition_0
           VALUES LESS THAN (1)
           TABLESPACE test_data,
       PARTITION partition_2_29999
          VALUES LESS THAN (30000)
          TABLESPACE test_data,
       PARTITION partition_30000
          VALUES LESS THAN (50001)
          TABLESPACE test_data);Regards

  • Problem using JSTL tag libraries with OC4J 9.0.3

    Hi
    I'm using the JSTL tag libraries with OC4J 9.0.3. I'm using JDeveloper10.1.2. I put the fmt.tld and c.tld in the WEB-INF directory and I'm adding the jstl.jar and standard.jar library to the EAR file. Both tlds have:
    <tlib-version>1.0</tlib-version>
    <jsp-version>1.2</jsp-version>
    And OC4J 9.0.3 is compatible with tlib version 1.0 and jsp version 1.2. When I run the web app I get:
    OracleJSP: oracle.jsp.parse.JspParseException: Line # 1, <%@ taglib uri="/WEB-INF/fmt.tld" prefix="fmt"%>
    Error: oracle.xml.parser.v2.XMLParseException ( /dataSource.jsp ):
    line #:1 column #:48 : FIXED type Attribute value not equal to the default value 'http://java.sun.com/xml/ns/j2ee'.
    line #:2 column #:18 : Attribute 'xmlns:xsi' used but not declared.
    line #:3 column #:19 : Attribute 'xmlns:acme' used but not declared.
    line #:4 column #:27 : Attribute 'xsi:schemaLocation' used but not declared.
    line #:7 column #:16 : Attribute 'version' used but not declared.
    line #:14 column #:15 : Invalid element 'tag-class' in content of 'tag', expected elements '[tagclass]'.
    line #:14 column #:15 : Element 'tag-class' used but not declared.
    line #:15 column #:18 : Invalid element 'body-content' in content of 'tag', expected elements '[tagclass]'.
    line #:15 column #:18 : Element 'body-content' used but not declared.
    line #:16 column #:15 : Invalid element 'attribute' in content of 'tag', expected elements '[tagclass]'.
    line #:18 column #:12 : Invalid element 'type' in content of 'attribute', expected elements '[required, rtexprvalue]'.
    line #:18 column #:12 : Element 'type' used but not declared.
    line #:22 column #:15 : Invalid element 'attribute' in content of 'tag', expected elements '[tagclass]'.
    line #:24 column #:12 : Invalid element 'type' in content of 'attribute', expected elements '[required, rtexprvalue]'.
    line #:24 column #:12 : Element 'type' used but not declared.
    line #:28 column #:15 : Invalid element 'attribute' in content of 'tag', expected elements '[tagclass]'.
    line #:30 column #:12 : Invalid element 'type' in content of 'attribute', expected elements '[required, rtexprvalue]'.
    line #:30 column #:12 : Element 'type' used but not declared.
    line #:34 column #:15 : Invalid element 'attribute' in content of 'tag', expected elements '[tagclass]'.
    line #:36 column #:12 : Invalid element 'type' in content of 'attribute', expected elements '[required, rtexprvalue]'.
    Any ideas?

    Hi
    Thanks for the reply.
    I tried it and I get the same error:
    OracleJSP: oracle.jsp.parse.JspParseException: Line # 1, <%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt"%>
    Error: oracle.xml.parser.v2.XMLParseException ( /dataSource.jsp ):
    line #:1 column #:48 : FIXED type Attribute value not equal to the default value 'http://java.sun.com/xml/ns/j2ee'.
    line #:2 column #:18 : Attribute 'xmlns:xsi' used but not declared.
    line #:3 column #:19 : Attribute 'xmlns:acme' used but not declared.
    line #:4 column #:27 : Attribute 'xsi:schemaLocation' used but not declared.
    line #:7 column #:16 : Attribute 'version' used but not declared.
    line #:14 column #:15 : Invalid element 'tag-class' in content of 'tag', expected elements '[tagclass]'.
    line #:14 column #:15 : Element 'tag-class' used but not declared.
    line #:15 column #:18 : Invalid element 'body-content' in content of 'tag', expected elements '[tagclass]'.
    line #:15 column #:18 : Element 'body-content' used but not declared.
    line #:16 column #:15 : Invalid element 'attribute' in content of 'tag', expected elements '[tagclass]'.
    line #:18 column #:12 : Invalid element 'type' in content of 'attribute', expected elements '[required, rtexprvalue]'.
    line #:18 column #:12 : Element 'type' used but not declared.
    line #:22 column #:15 : Invalid element 'attribute' in content of 'tag', expected elements '[tagclass]'.
    line #:24 column #:12 : Invalid element 'type' in content of 'attribute', expected elements '[required, rtexprvalue]'.
    line #:24 column #:12 : Element 'type' used but not declared.
    line #:28 column #:15 : Invalid element 'attribute' in content of 'tag', expected elements '[tagclass]'.
    line #:30 column #:12 : Invalid element 'type' in content of 'attribute', expected elements '[required, rtexprvalue]'.
    line #:30 column #:12 : Element 'type' used but not declared.
    line #:34 column #:15 : Invalid element 'attribute' in content of 'tag', expected elements '[tagclass]'.
    line #:36 column #:12 : Invalid element 'type' in content of 'attribute', expected elements '[required, rtexprvalue]'.

  • Problem running JSTL in Tomcat 4.0

    This is the error that I get when I try to access my JSP page:
    java.lang.ClassCastException: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
         at javax.xml.parsers.DocumentBuilderFactory.newInstance(Unknown Source)
         at org.apache.jasper.parser.ParserUtils.parseXMLDocument(ParserUtils.java:183)....
    I'm using the xml and core libraries and I should let you know that yesterday it was working just fine. Today, without changing a thing it just started giving me this error. Please help!
    P.S. I've been working with JBuilder 6.0 and Tomcat 4.0. But I've also tried using Tomcat on its own and it gives me the same error message. Thanks in advance for any help you could give me.

    Glad i could help you out.
    I've always preferred working directly with tomcat with an ant script that way you're sure of what you are doing.
    This is recurrent problem : you've got jars that need to be in your project classpath to compile your application but that must not be deployed : ie : it must not be copied in your WEB-INF/lib directory of your webapp in tomcat. (servlet.jar's another one, or even junit.jar if you unit test)
    Actually you can define this in JBuilder : go to your webapp's properties window (right click on webapp -> properties) and go into dependencies tab (i suppose that its called that way, mine's in french ;-). You will find the list of libraries that you have defined for your application. Just define xerces as to be excluded from your webapp for deployment.

  • Ebflow: Problem defining an external service using WF_EXTSRV

    I'm trying to define an external service for the Webflow to use. In transaction WF_EXTSRV I have to provide details of the service. One field requires the Logical System to be nominated. The help says that this entry must be in table TWPURLSVR. In our system this table is empty, and I cannot figure out in customising where to populate this table.
    Anyone have any ideas about this?
    Anyone also know what may be a better forum to post this message in?
    BR,
    Tony.

    Hi Anthony,
    Better forum to post it on is on the BPM & Workflow forum which can be found under SAP NetWeaver. I'm now experiencing the same problem as you. No entry in this table. But when I leave the field blank in WF_EXTSRV, I don't have any problems calling my service from the workflow.
    If you already have an answer to your own querstion, could you let me know?
    Kind regards!
    Joost van Poppel

  • Problem Using JSTL in JSPProviderChannel

    hi every one ..
    has any one used JSTL with JSPProviderChannel..
    plz tell me where to put all jar files and tld files and what changes are to be made in web.xml file ..
    thanks
    san

    Hi,
    I have done all the above ie.,
    Copied the jar files (jstl.jar, standard.jar) to <portal-install-dir>/SUNWps/web-apps/portal/<instance>/WEB-INF/lib
    also copied the same jar files to desktop/default/classes directory.
    copied the *.tld's to desktop/default/tld directory
    and in my jsp file changed the
    <%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt"%>
    to
    <%@ taglib uri="/tld/fmt.tld" prefix="fmt"%>
    it gives me error :
    JSPProvider.processJSPFile(): jsp=content.jsp,
    com.sun.portal.providers.ProviderException: JSPProvider.processJSPFile(): jsp=content.jsp, com.sun.portal.providers.jsp.jasper3.jasper.compiler.CompileException: /etc/opt/SUNWps/desktop/default/SimpleUserInfo/content.jsp(6,0) Unable to open taglibrary /tld/fmt.tld : Unable to open the tag library descriptor: java.sun.com     at com.sun.portal.providers.jsp.JSPProvider.processJspFile(JSPProvider.java:712)
         at com.sun.portal.providers.jsp.JSPProvider.processJspFile(JSPProvider.java:674)
         at com.sun.portal.providers.jsp.JSPProvider.getContent(JSPProvider.java:473)
         at com.sun.portal.desktop.context.ReusableProviderCaller.run(ReusableProviderCaller.java:145)
    com.sun.portal.providers.jsp.jasper3.jasper.compiler.CompileException: /etc/opt/SUNWps/desktop/default/SimpleUserInfo/content.jsp(6,0) Unable to open taglibrary /tld/fmt.tld : Unable to open the tag library descriptor: java.sun.com     at com.sun.portal.providers.jsp.jasper3.jasper.compiler.JspParseEventListener.handleDirective(JspParseEventListener.java:742)
         at
    If I refer it in my jsp as
    <%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt"%>
    I get the following exception
    JSPProvider.processJSPFile(): jsp=content.jsp,
    com.sun.portal.providers.ProviderException: JSPProvider.processJSPFile(): jsp=content.jsp, com.sun.portal.providers.jsp.jasper3.jasper.compiler.CompileException: /etc/opt/SUNWps/desktop/default/SimpleUserInfo/content.jsp(6,0) Unable to open taglibrary http://java.sun.com/jstl/fmt : Could not locate TLD http://java.sun.com/jstl/fmt     at com.sun.portal.providers.jsp.JSPProvider.processJspFile(JSPProvider.java:712)
         at com.sun.portal.providers.jsp.JSPProvider.processJspFile(JSPProvider.java:674)
         at com.sun.portal.providers.jsp.JSPProvider.getContent(JSPProvider.java:473)
         at com.sun.portal.desktop.context.ReusableProviderCaller.run(ReusableProviderCaller.java:145)
    com.sun.portal.providers.jsp.jasper3.jasper.compiler.CompileException: /etc/opt/SUNWps/desktop/default/SimpleUserInfo/content.jsp(6,0) Unable to open taglibrary http://java.sun.com/jstl/fmt : Could not locate TLD http://java.sun.com/jstl/fmt     at com.sun.portal.providers.jsp.jasper3.jasper.compiler.JspParseEventListener.handleDirective(JspParseEventListener.java:742)
    Please help on using JSTL with Portal 6.1
    Thanks

  • Problem using JSTL

    Hi
    i am stupid in jstl . I want use JSTL . i am using tomcat 5.0 & jdk 1.3
    i kept jstl.jar and standard.jar in /WEB-INF/lib and using core tags in jsp but when i run jsp it show me error like .i have not written anything in web.xml
    what should i do? plzz tell me
    org.apache.jasper.JasperException: Unable to read TLD "META-INF/c.tld" from JAR file "file:/E:/Tomcat 5.0/webapps/JSTL/WEB-INF/lib/standard.jar": java.lang.IllegalStateException: zip file closed
         at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:50)
         at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:411)
         at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:183)
         at org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:181)
         at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:418)
         at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)
         at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1539)
         at org.apache.jasper.compiler.Parser.parse(Parser.java:126)
         at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:220)
         at org.apache.jasper.compiler.ParserController.parse(ParserController.java:101)
         at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:203)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:495)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:476)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:464)
         at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         at 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.30 logs.

    Maybe jdk 1.4 or higher versions would solve your problem. Googled around and read that this may be a bug in lower versions when reading unsigned jars.
    cheers,
    ram.

Maybe you are looking for

  • How many times can you resend an iTunes Gift Card?

    Tried sending an iTunes gift card to a @facebook account but the recipient hasn't received it. Is it possible to send to another of their @facebook accounts and if that also fails then to a conventional account? I guess my question is how many times

  • Best way to use Skype in Europe

    I will be travelling through Western Europe(FR,Bel,Ger,Aust) as well as Eastern Europe vis.Croatia,Slovenia, Poland and Hungary for the next 2 months. How can I find out the call rates back to the UK on Skype PAYG and would an unlimited account be be

  • Datalist databinding in flash builder

    Ok, so I have everything setup in Catalyst and imported into Flash Builder ok. But, how do I get data from my AS code to bind to the datalist? I am getting my data from web services - something I'm fine and experienced at doing. But, how do I databin

  • Iphone is inactive

    HI! I NEED SOMEBODY HELP ME. MY IPHONE IS WITH A MESSAGE "IPHONE IS INACTIVE" AND I CAN NOT UNLOCK IT. IT APPEARS THE SCREEN "CONNECT TO ITUNES" BUT THE ONLY SCREEN THAT SHOW IS "EMERGENCY CALL" I HOPE FOR HELP. THANKS!

  • How can I generate preview movies for entire project file?

    I have an entire project organized into a single project file. Is there a way to generate preview movies for the entire project so that an editor is always working from rendered files?