Weblogic Jstl

I am unable to execute EL on Weblogic Server 8.1 is there any compatability issue
Plz help me out in this situation.

there is no problem using JSTL on weblogic 8.1
just make sure you us JSTL 1.0 and not JSTL 1.1

Similar Messages

  • How to create and deploy a simple jstl applicaton in weblogic 10.3.3

    How to create and deploy a simple jstl applicaton in weblogic 10.3.3

    1) Since JSTL libraries are provided as Web application libraries, they must be deployed before the Web application that is using JSTL functionality is deployed. The libraries can be deployed using the Administration Console or with the command-line weblogic.Deployer tool.
    Here’s an example of deploying a JSTL 1.2 library using the weblogic.Deployer command-line:
    java weblogic.Deployer -adminurl t3://localhost:7001
    -user weblogic -password weblogic
    -deploy -library
    d:/beahome/wlserver_10.3/common/deployable-libraries/jstl-1.2.war
    This command deploys the JSTL 1.2 library using the default library-name, specification-version and implementation-version defined by the MANIFEST.MF in the library.
    After a library is deployed, the extension-name, specification-version and implementation-version of the library can be found in Administration console. This information can also be found in the MANIFEST.MF file of the library WAR file.
    For more information on deploying a Web module refer below URL
    http://docs.oracle.com/cd/E15051_01/wls/docs103/deployment/deployunits.html
    2) To reference a JSF or JSTL library, a standard web application can define a <library-ref> descriptor in the application’s weblogic.xml file. Here is an example:
    <library-ref>
    <library-name>jsf</library-name>
    <specification-version>1.2</specification-version>
    <implementation-version>1.2.0</implementation-version>
    <exact-match>false</exact-match>
    </library-ref>
    For more information on referencing a Web application library refer below URL
    http://docs.oracle.com/cd/E15051_01/wls/docs103/programming/libraries.html
    3) Create a sample JSP in your application and JSP should look as shown below
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
    <html>
    <head>
    <title>TestJSTL</title>
    </head>
    <body>
    <c:set var="topic" value="JSTL" />     
    <c:out value="${topic}" />
    </body>
    </html>
    4) Create WAR and deploy and test.
    Edited by: Murali Veligeti on Jul 26, 2012 9:00 AM

  • Issue with JSTL ( c:import ) tags in Weblogic 9.2

    Hi,
    I'm trying to migrate a struts (1.2.9) application from Weblogic 8.1 to Weblogic 9.2. This application has JSPs with JSTL (1.0) tags.
    I have a JSP page that has multiple (around 7) c:import statements. When I launch my application, only the content from the last c:import statement is being displayed and rest of the c:import tags statements is simply ignored by Weblogic.
    I don't find any errors in the logs. When I comment out last c:import statement in this JSP then the content from the above c:import statement is being displayed. Only one (last one) c:import statement's content is being displayed in that whole page.
    This app worked just fine Weblogic 8.1.
    Any resolutions, hints, insights or workarounds on this issue is appreciated.
    Thanks in advance,
    Mani
    Edited by: mayyalas on Aug 10, 2009 6:13 PM

    Hello,
    You should not need to edit the wlp-light-web-lib.war weblogic.xml file. There are many places where other classes in wlp-light-web-lib are dynamically loading classes (using Class.forName()) from "higher-level" shared library modules (such as wlp-framework-full-web-lib), so I am certain that it works in general. There may just be an issue with how your shared library is set up, or how your webapp deployment descriptors are set up.
    So you mention that you have a shared library module containing your implementation of the AnalyticEventHandler; is this a .war file? And in the webapp you are trying to deploy this in, does your weblogic.xml explicitly include your shared library? If so, is your shared library being included before or after the standard WLP shared libraries?
    If you would like, posting your webapp's weblogic.xml may help to find the problem.
    Kevin

  • JSTL 1.1 issue with Weblogic 9.2

    I am having tough time to make JSTL 1.1 work with Weblogic 9.2.Here the issue goes
    When i user JSTL core tags like out,forEach weblogic is unable to understand the EL and throwing a compile time exception saying can't read request time values.
    However the same page worked fine when i rolled back to JSTL 1.0 and weblogic 8.1.
    I couldnt able to understand why JSTL 1.1 is not working in Weblogic 9.2.I assume weblogic 9.2 comes with servlet 2.4 and JSP 1.2.So JSTL 1.2 should work fine.
    Am i ignoring anything involved with new JSP specs and JSTL
    OR
    Is this a bug with Weblogic 9.2 ?
    Any comments highly appreciated.
    Thanks,
    Mallik

    hey check the servlet spec version you're using in your web.xml. I think you want 2.3 not 2.4.

  • How to use jstl in weblogic 8.1

    I tried to use JSTL in my jsp file and I add
              <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %> at the top line. But the server reported
              java.lang.NoClassDefFoundError: javax/servlet/jsp/el/VariableResolver
              how to solve this problem?

    WebLogic 8.1 supports JSP 1.2, which doesn't natively implement the JSTL or the expression language. If you download the Jakarta Taglibs implementation of the JSTL (for JSP 1.2, not JSP 2.0), then you can use the JSTL taglib as a normal taglib. Note that this doesn't give you the ability to use the other JSP 2.0 tag features, like using the expression language in body content.
              Make sure that you use the uri value specified in the tld that you're using. I believe the values are different between the JSP 1.2 and JSP 2.0 versions.

  • Failed to load jsp with jstl 1.0 when deployed to Weblogic 11g

    The same war is successfully run on weblogic 10.X but failed to run on weblogic 11.x
    JSTL version is 1.0
    Compilation of JSP File failed:
    Exception occurred while processing '/u02/tech/product/otm620/otmapp/weblogic/domains/otm/servers/gc3-scdemo/tmp/_WL_user/ShipConsole/deg7z9/war/xxx.jsp'java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/ConditionalTagSupport
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
         at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:296)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:177)
         at weblogic.utils.classloaders.FilteringClassLoader.findClass(FilteringClassLoader.java:101)
         at weblogic.utils.classloaders.FilteringClassLoader.loadClass(FilteringClassLoader.java:86)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:296)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:296)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:177)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:37)
         at weblogic.servlet.jsp.TagFileClassLoader.findClass(TagFileClassLoader.java:32)
         at weblogic.servlet.jsp.TagFileClassLoader.loadClass(TagFileClassLoader.java:24)
         at weblogic.jsp.internal.jsp.JspScriptTransform.getHandlerInfo(JspScriptTransform.java:1595)
         at weblogic.jsp.internal.jsp.JspScriptTransform.signActionAll(JspScriptTransform.java:619)
         at weblogic.jsp.internal.jsp.JspScriptTransform.addJspService(JspScriptTransform.java:218)
         at weblogic.jsp.internal.jsp.JspScriptTransform.transformPage(JspScriptTransform.java:177)
         at weblogic.jsp.internal.jsp.JspScriptTransform.<init>(JspScriptTransform.java:152)
         at weblogic.jsp.internal.jsp.JspCheckContext.check(JspCheckContext.java:82)
         at weblogic.jsp.internal.jsp.JspAnalyzer.check(JspAnalyzer.java:57)
         at weblogic.jsp.internal.ProxySourceFile._check(ProxySourceFile.java:136)
         at weblogic.jsp.internal.SourceFile.masterCheck(SourceFile.java:762)
         at weblogic.jsp.internal.SourceFile.check(SourceFile.java:314)
         at weblogic.jsp.internal.SourceFile.check(SourceFile.java:335)
         at weblogic.jsp.internal.ProxySourceFile.codeGen(ProxySourceFile.java:224)
         at weblogic.jsp.internal.SourceFile.codeGen(SourceFile.java:327)
         at weblogic.jsp.internal.client.ClientUtilsImpl$CodeGenJob.run(ClientUtilsImpl.java:599)
         at weblogic.jsp.internal.client.Job.performJob(Job.java:83)
         at weblogic.jsp.internal.client.ThreadPool$WorkerThread.run(ThreadPool.java:217)

    I don't have any weblogic.xml its a plain web application.
    i tried in all scenarios like using import command of jstl in web.xml like taglib tag.
    Irrespective of imports always showing the same error like class not found javax/servlet/jsp/jstl/core/ConditionalTagSupport
    May be the search is by some other class loader.
    How to deploy the jstl & standard jar files as shared libraries in weblogic server

  • WebLogic 8.1 SP3 + JSTL 1.0

    Hi,
              I've searched the web, and nobody has confirmed that WebLogic works well with JSTL 1.0, while JSTL works perfectly fine with heaps of other products. Anybody from BEA development team wanting to make a bold claim? ;-(
              First, when the server starts it complains about the following:
              <Dec 3, 2004 1:26:55 PM GMT+01:00> <Warning> <HTTP> <BEA-101248> <[ServletContext(id=31286217,name=ReporterPrj,context-path=/MyPrj)]: Deployment descriptor "jar:file:C:\bea\WEBLOG~1\samples\domains\portal\.\portalServer\.wlnotdelete\e
              xtract\portalServer_MyTest_MyPrj\jarfiles\WEB-INF\lib\standard26966.jar!/META-INF/fmt.tld" is malformed. Check against the DTD: cvc-elt.1: Cannot find the declaration of element 'taglib'. (line 6, column 19).>
              and the same for all the other taglibs in the standard.jar file from JSTL 1.0. Can live with that.. however:
              Then, I've got an extremely simple index.jsp file, containing this:
              <%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt" %>
              <fmt:setBundle basename="nls.Text"/>
              <fmt:message key="applied"/>
              If from weblogic workshop I create a portlet from this jsp, it seems to work fine. It gets the value for key 'applied' from the resourcebundle nls.Text and prints it in the portlet area. However, when I create a portlet based on a piece of Java code that simply dispatches to the exact same index.jsp page, it will always print ???applied??? in the portlet area. Meaning somehow it's unable to find the resourcebundle. The java code is like:
              package helloworldPortlet;
              import java.io.IOException;
              import javax.portlet.PortletException;
              import javax.portlet.GenericPortlet;
              import javax.portlet.PortletRequestDispatcher;
              import javax.portlet.RenderResponse;
              import javax.portlet.RenderRequest;
              public class HelloWorld extends GenericPortlet
              public void doView(RenderRequest request, RenderResponse response) throws PortletException, IOException
              response.setContentType("text/html");
              response.getWriter().write("Hello World<br>");
              String jspName = "/jsp/index.jsp";
              PortletRequestDispatcher rd = getPortletContext().getRequestDispatcher(jspName);
              rd.include(request, response);
              Can anyone explain this???
              Anybody knows a solution?
              Hummin

    Hi dkarr,
              I'm glad to hear there's a possibility that it might work on WLS 8.lSP3. However, the simple example I gave in my original message does not work correctly, while it does work correctly with Gridsphere and Apache Jetspeed portals.
              I believe it does work in a non-portal part of WLS 8.1SP3, which means there's something wrong imo with the implementation of the portlets APIs by WLS 8.1SP3. I'd like someone from the bea dev team to try out my simple example and confirm the issue (or tell me it works fine for them)
              regards,
              hummin

  • Using JSTL 1.0 on WebLogic 8.1

    Hi,
    I'm just starting out to learn how to use JSP Tag Libraries and JSTL 1.0. I tried to deploy the examples on Weblogic 8.1SP3 and it works ok. But when I tried to use the tag libraries in my own application, I got this error:
    Error 500--Internal Server Error
    java.lang.NoClassDefFoundError: javax/servlet/jsp/el/VariableResolver
    Here's what I did to deploy the tag libraries
    1. Copy the standard.jar and jstl.jar into my WEB-INF/lib directory.
    2. Copy the c.tld into my WEB-INF\tld directory.
    3. Edit my web.xml to add this entry
    <taglib>
         <taglib-uri>http://java.sun.com/jsp/jstl/core</taglib-uri>
         <taglib-location>WEB-INF/tld/c.tld</taglib-location>
    </taglib>
    4. In my JSP, import the tag-library with this directive
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    Any ideas what I might have missed here? Thanks!

    WARNING! WARNING! DANGER WILL ROBINSON!
    The URI you mentioned: http://java.sun.com/jsp/jstl/core is for JSTL 1.1
    This requires a JSP2.0 container (eg Tomcat 5)
    Weblogic 8.1 is still only 1.2 compliant.
    You need JSTL 1.0 for that.
    You import it with the tag <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %> (not the difference - this one does not have "jsp" in it)
    Seems like WebLogic is missing the jsp-api.jar that Tomcat installation has.
    I copied the JAR over into the WEB-INF for my application Bad move IMO. If you have the correct version of standard.jar and JSTL .jar you shouldn't need anything else.
    Make sure you have the version that is standard1-0
    Another note on installation:
    All you need are the jar files in web-inf/lib.
    No tlds lying around
    No entries in web.xml
    The tld file is hidden inside standard.jar. The webapp will find it automatically if you use the correct URI.
    Cheers,
    evnafets

  • Using JSTL on Weblogic 8.1 SP2

              I'm trying to create a web app running on Weblogic 8.1 SP2 that uses JSTL tags.
              I've downloaded the Apache 1.0.5 Reference Implementation of the JSTL 1.0 spec,
              but I can't get the sample web-app (standard-examples.war) to work correctly.
              When I go to the "General Purpose Tag Examples" and try to view the Out example
              JSP, I get a large exception saying that java.lang.NoClassDefFoundError: javax/servlet/jsp/el/ELException
              (full stack trace at bottom). This also happens when I try to view the JSP source
              and pretty much any other example. I found that the German example in "I18N &
              Formatting" works, but running the Italian example gives a new exception:
              Parsing of JSP File '/format/ItalianLocale.jsp' failed:
              /format/ItalianLocale.jsp(12): for tag 'message', property 'bundle' of tag handler
              class 'org.apache.taglibs.standard.tag.rt.fmt.MessageTag', the value must be a
              runtime expression "<%=...%>", since we cannot do an automatic conversion from
              "${itBundle}" to type 'javax.servlet.jsp.jstl.fmt.LocalizationContext' and there
              is no custom property editor for that type
              probably occurred due to an error in /format/ItalianLocale.jsp line 12:
              <fmt:message key="greetingMorning" bundle="${itBundle}"/>
              I can, however, get this to work on Tomcat 5.0. Has any else had this problem?
              Is there something that I'm doing incorrectly?
              Thanks in advance.
              -Kelvin
              ===========================================================
              java.lang.NoClassDefFoundError: javax/servlet/jsp/el/ELException
                   at java.lang.Class.getDeclaredMethods0(Native Method)
                   at java.lang.Class.privateGetDeclaredMethods(Class.java:1627)
                   at java.lang.Class.getDeclaredMethods(Class.java:1114)
                   at java.beans.Introspector$1.run(Introspector.java:1103)
                   at java.security.AccessController.doPrivileged(Native Method)
                   at java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1101)
                   at java.beans.Introspector.getTargetMethodInfo(Introspector.java:966)
                   at java.beans.Introspector.getBeanInfo(Introspector.java:370)
                   at java.beans.Introspector.getBeanInfo(Introspector.java:207)
                   at java.beans.Introspector.(Introspector.java:351)
                   at java.beans.Introspector.getBeanInfo(Introspector.java:207)
                   at java.beans.Introspector.getBeanInfo(Introspector.java:193)
                   at weblogic.servlet.jsp.StandardTagLib.parseTagDD(StandardTagLib.java:1323)
                   at weblogic.servlet.jsp.StandardTagLib.parseDD(StandardTagLib.java:1261)
                   at weblogic.servlet.jsp.StandardTagLib.(StandardTagLib.java:292)
                   at weblogic.servlet.jsp.TagLibHelper.loadTagLib(TagLibHelper.java:314)
                   at weblogic.servlet.jsp.JspLexer.loadTagLib(JspLexer.java:145)
                   at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE_BODY(JspLexer.java:5015)
                   at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE(JspLexer.java:4853)
                   at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java:4699)
                   at weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:2094)
                   at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1880)
                   at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1753)
                   at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:963)
                   at weblogic.servlet.jsp.JspParser.doit(JspParser.java:106)
                   at weblogic.servlet.jsp.JspParser.parse(JspParser.java:230)
                   at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:125)
                   at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:258)
                   at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:367)
                   at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:223)
                   at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:172)
                   at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:518)
                   at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:362)
                   at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
                   at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6350)
                   at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
                   at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
                   at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
                   at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
                   at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
                   at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
              

              I'm having the same problem, did you find a solution?
              "Kelvin" <[email protected]> wrote:
              >
              >I'm trying to create a web app running on Weblogic 8.1 SP2 that uses
              >JSTL tags.
              > I've downloaded the Apache 1.0.5 Reference Implementation of the JSTL
              >1.0 spec,
              >but I can't get the sample web-app (standard-examples.war) to work correctly.
              >
              >When I go to the "General Purpose Tag Examples" and try to view the Out
              >example
              >JSP, I get a large exception saying that java.lang.NoClassDefFoundError:
              >javax/servlet/jsp/el/ELException
              >(full stack trace at bottom). This also happens when I try to view the
              >JSP source
              >and pretty much any other example. I found that the German example in
              >"I18N &
              >Formatting" works, but running the Italian example gives a new exception:
              >
              >Parsing of JSP File '/format/ItalianLocale.jsp' failed:
              >--------------------------------------------------------------------------------
              > /format/ItalianLocale.jsp(12): for tag 'message', property 'bundle'
              >of tag handler
              >class 'org.apache.taglibs.standard.tag.rt.fmt.MessageTag', the value
              >must be a
              >runtime expression "<%=...%>", since we cannot do an automatic conversion
              >from
              >"${itBundle}" to type 'javax.servlet.jsp.jstl.fmt.LocalizationContext'
              >and there
              >is no custom property editor for that type
              >probably occurred due to an error in /format/ItalianLocale.jsp line 12:
              ><fmt:message key="greetingMorning" bundle="${itBundle}"/>
              >
              >
              >I can, however, get this to work on Tomcat 5.0. Has any else had this
              >problem?
              > Is there something that I'm doing incorrectly?
              >
              >
              >Thanks in advance.
              >-Kelvin
              >
              >===========================================================
              >java.lang.NoClassDefFoundError: javax/servlet/jsp/el/ELException
              >     at java.lang.Class.getDeclaredMethods0(Native Method)
              >     at java.lang.Class.privateGetDeclaredMethods(Class.java:1627)
              >     at java.lang.Class.getDeclaredMethods(Class.java:1114)
              >     at java.beans.Introspector$1.run(Introspector.java:1103)
              >     at java.security.AccessController.doPrivileged(Native Method)
              >     at java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1101)
              >     at java.beans.Introspector.getTargetMethodInfo(Introspector.java:966)
              >     at java.beans.Introspector.getBeanInfo(Introspector.java:370)
              >     at java.beans.Introspector.getBeanInfo(Introspector.java:207)
              >     at java.beans.Introspector.(Introspector.java:351)
              >     at java.beans.Introspector.getBeanInfo(Introspector.java:207)
              >     at java.beans.Introspector.getBeanInfo(Introspector.java:193)
              >     at weblogic.servlet.jsp.StandardTagLib.parseTagDD(StandardTagLib.java:1323)
              >     at weblogic.servlet.jsp.StandardTagLib.parseDD(StandardTagLib.java:1261)
              >     at weblogic.servlet.jsp.StandardTagLib.(StandardTagLib.java:292)
              >     at weblogic.servlet.jsp.TagLibHelper.loadTagLib(TagLibHelper.java:314)
              >     at weblogic.servlet.jsp.JspLexer.loadTagLib(JspLexer.java:145)
              >     at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE_BODY(JspLexer.java:5015)
              >     at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE(JspLexer.java:4853)
              >     at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java:4699)
              >     at weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:2094)
              >     at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1880)
              >     at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1753)
              >     at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:963)
              >     at weblogic.servlet.jsp.JspParser.doit(JspParser.java:106)
              >     at weblogic.servlet.jsp.JspParser.parse(JspParser.java:230)
              >     at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:125)
              >     at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:258)
              >     at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:367)
              >     at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:223)
              >     at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:172)
              >     at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:518)
              >     at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:362)
              >     at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
              >     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6350)
              >     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
              >     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
              >     at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
              >     at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
              >     at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
              >     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
              >
              

  • Problems with using JSTL with Weblogic 8.1 SP5 - Help!

    I keep getting the following error when trying to run my application using JSP tags under Weblogic 8.1 SP5 (using Jrockit in production mode):
    /searchinput.jsp(2): Error in using tag library uri='/WEB-INF/lib/regain-search.tld' prefix='search': cannot find tag class: 'net.sf.regain.ui.server.taglib.TagMsg'
    probably occurred due to an error in /searchinput.jsp line 2:
    <%@ taglib uri="/WEB-INF/lib/regain-search.tld" prefix="search" %>
    I have the following jar files in my /WEB-INF/lib directory:
    jakarta-regexp-1.4.jar
    jstl.jar
    standar.jar
    log4j-1.2.11.jar
    struts.jar
    lucene-1.4.3.jar
    jsp-api.jar
    and the regain-search.tld.
    I am using JSTL 1.0.6 (earliest version I could find of JSTL 1.0).
    The class files that the tld file is pointing to are in the WEB-INF/classes directory of the application (which is an exploded war file).
    Here is what I have as reference in my web.xml file:
    <taglib>
    <taglib-uri>/WEB-INF/lib/regain-search.tld</taglib-uri>
    <taglib-location>/WEB-INF/lib/regain-search.tld</taglib-location>
    </taglib>
    and it is referenced in searchinput.jsp as:
    <%@ taglib uri="/WEB-INF/lib/regain-search.tld" prefix="search" %>
    I've looked everyone on the Web trying to find an answer to this - but nothing I've tried has worked.
    This all works fine in Tomcat 5.0
    Please let me know what I'm doing wrong.
    Thanks in advance,
    Kelly

    I keep getting the following error when trying to run my application using JSP tags under Weblogic 8.1 SP5 (using Jrockit in production mode):
    /searchinput.jsp(2): Error in using tag library uri='/WEB-INF/lib/regain-search.tld' prefix='search': cannot find tag class: 'net.sf.regain.ui.server.taglib.TagMsg'
    probably occurred due to an error in /searchinput.jsp line 2:
    <%@ taglib uri="/WEB-INF/lib/regain-search.tld" prefix="search" %>
    I have the following jar files in my /WEB-INF/lib directory:
    jakarta-regexp-1.4.jar
    jstl.jar
    standar.jar
    log4j-1.2.11.jar
    struts.jar
    lucene-1.4.3.jar
    jsp-api.jar
    and the regain-search.tld.
    I am using JSTL 1.0.6 (earliest version I could find of JSTL 1.0).
    The class files that the tld file is pointing to are in the WEB-INF/classes directory of the application (which is an exploded war file).
    Here is what I have as reference in my web.xml file:
    <taglib>
    <taglib-uri>/WEB-INF/lib/regain-search.tld</taglib-uri>
    <taglib-location>/WEB-INF/lib/regain-search.tld</taglib-location>
    </taglib>
    and it is referenced in searchinput.jsp as:
    <%@ taglib uri="/WEB-INF/lib/regain-search.tld" prefix="search" %>
    I've looked everyone on the Web trying to find an answer to this - but nothing I've tried has worked.
    This all works fine in Tomcat 5.0
    Please let me know what I'm doing wrong.
    Thanks in advance,
    Kelly

  • 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
              

  • JSP 2.0 JSTL in weblogic 8.1

    Has anyone successfully using JSP 2.0 & JSTL in weblogic 8.1? We built a project using tomcat 5 and work well. The problem is weblogic 8.1 does seem to support the code. Is there any work around? Thanks
              

              "Chi Mok" <[email protected]> wrote in message
              news:4028ea91$[email protected]..
              > Has anyone successfully using JSP 2.0 & JSTL in weblogic 8.1? We built a
              project using tomcat 5 and work well. The problem is weblogic 8.1 does seem
              to support the code. Is there any work around? Thanks
              WebLogic 8.1 doesnt support JSP2.0 & Servlet 2.4 (or any of the J2EE 1.4
              apis) The next version (an upcoming release) will support J2EE 1.4 and thus
              jsp20 + JSTL 1.1
              JSTL 1.0 and JSP1.2 gel pretty well on weblogic 81
              --Nagesh
              

  • WebLogic Spring JSTL NoClassDefFoundError

    I am having difficulty getting Spring applications to run on the 11g 10.3.1 WebLogic server. I receive the following exception where Spring can not find the JSTL classes. I am trying to port an application that runs on the 10g stack (oc4j 10.1.3.4) using Spring 2.5.6 and JSTL 1.1.2. I have tried a number of combinations however I always get the exception below. I have had the JSTL and standard jar files within the WEB-INF lib folder with and without manifest entries. I have also deployed the JSTL 1.1.2 Library into WebLogic and referenced it within the application using the weblogic.xml library-ref tag. Can any one suggest a way to make the JSTL library accessible to Spring?
    The following Spring configuration is used:
    <bean id="viewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver">
    <property name="viewClass" value="org.springframework.web.servlet.view.JstlView"/>
    <property name="prefix" value="/WEB-INF/jsp/"/>
    <property name="suffix" value=".jsp"/>
    </bean>
    Regards
    Neil
    java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/fmt/LocalizationContext
         at org.springframework.web.servlet.support.JstlUtils.exposeLocalizationContext(JstlUtils.java:83)
         at org.springframework.web.servlet.view.JstlView.exposeHelpers(JstlView.java:81)
         at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:119)
         at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:243)
         at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1141)
         at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:878)
         at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:792)
         at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:475)
         at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:430)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

    David,
    Thanks for the suggestion. It lead me down the path to correcting the issue. I added the prefer-web-inf-classes setting and resolved the issue.
    This was an interesting one though as initially this solution did not work. During the previous trial and error I removed the Spring classes from the WEB-INF/lib folder and used the ones provided in WebLogic. Under these conditions the prefer-web-inf-classes makes no difference despite the JSTL and standard jars being deployed with the application i.e. the class not found exception is still present. I had to move the Spring jar files into the WEB-INF/lib directory along side the JSTL jar files. This worries me a bit in that the classpath for the application does not seem to be consistent and is set differently depending on where the class is loaded from. For example why when Spring is loaded from the default server location can it not see jars within the WEB-INF/lib that are on the application classpath. Additionally why can jars loaded form the server not see shared server libraries configured for use within an application.
    Regards
    Neil

  • Weblogic 8.0 configuration for JSTL

    Hi all!
    Can anybody please guide me how to configure Weblogic 8.0 for web development using JSTL ?
    thanks for any sort of support!

    I have installation doc. for weblogic 8.0 SP4
    If you need it send a mail to
    [email protected]
    Regards,
    Rengaraj.RWhat does this have to do with using JSTL? You don't need installation docs for that. If anybody wants them, they can go to BEA to get them.
    %

  • JSTL and WebLogic

    How will I deploy JSTL on WebLogic11g? I want all the applications deployed on that server to be able to access JSTL 2.0
    Thanks

    I managed to get the JSTL deployed on my weblogic server. However when trying to use the tags in my JSP page, I come across the following error. My <c:out tag works fine. However the below code in the JP page fails with this error.
    Code
    <c:forEach var="i" begin="1" end="10">
    <c:out value="${11-i}" />
    </c:forEach>
    Error 500--Internal Server Error
    java.lang.NoSuchFieldError: deferredExpression
         at org.apache.taglibs.standard.tag.common.core.ForEachSupport.release(ForEachSupport.java:196)
         at jsp_servlet._fsmc.__map2._jsp__tag0(__map2.java:296)
         at jsp_servlet._fsmc.__map2._jspService(_map2.java:234)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3591)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Edited by: user5108636 on 7/04/2010 18:54
    Edited by: user5108636 on 7/04/2010 18:59

Maybe you are looking for

  • Funds Management cut over of Open PR and PO

    Hi, In case of cutover, we are using following link to update FM account assignment in open PR/PO. SPRO>Funds Management Government>Actual and Commitment Update/Integration>Internal Data Transfer to Funds Management>Supplementary Account Assignment--

  • EDI Templates for Format Builder

    Can anyone point me to a good resource where I can grab edi templates that can be imported into format builder? Does bea have a repository of EDI templates in MFLformat already? Specifically, I'm looking for EDI 843 Response to Request for Quotation

  • Table containing Budget for a given project

    Hi Gurus, I have a requirement to fetch the ROOT LEVEL Budget FOR a given Project. Can someone Throw some light on the tables involved and how they are linked. Thanks in Advance Deepak

  • How to make stylesheets work ???urgent

    Hi, How to make stylesheets work.I tried including the CSS file on the header <%@ include file="stylesheets.css" %> <%@ include file="stylesheets.inc" %> and both options does not work. can somebody tell me what is wrong here. Thanks jack

  • Size of individual columns

    Hello everyone I wanted to ask a Question. I was working in design view in Dreamweaver. I inseted table 5 rows and 1 column. Second and fourth rows I devided into 5 columns but when I try to chnage the width of columns in fourth row I also change the