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.

Similar Messages

  • How to use JSTL varriable in to XML

    1. how to use JSTL varriable into Xml Tag.
    for example :
    java value I am passing to XML.
    <eztag:companytag pgm_sname="<%= strpgm_name%>" dbase="<%= strd%>"
    dbpass="<%= strp%>" dburl="<%= stru%>" session="<%= session%>" />
    After modified in JSTL
    <eztag:companytag pgm_sname="${pgm_name}" dbase="${strd}"
    dbpass="${strp}" dburl="${stru}" session="${session}" />
    but its Not working. How to use this
    2.How to use ArrayLIst in JSTL
    For example
    IN Java scriplet code in JSP
    <%for(int i=0;i<alist.size();i++) {
    String str = String.valueOf(alist.get(i));
    String str1 = String.valueOf(alist.get(i+1));
    %>
    <TD>STR - <%=str%> </TD>
    <TD>STR1 - <%=str1%> </TD>
    <% } %>
    This code How to Use in JSTL.
    thanks in advance

    thanks for reply
    But in this article it describes how to passing the value of function.
    I need how to assign the JSTL varriable to xml tag attribute.
    for example
    In my TLD File
    <tag>
    <name>companytag</name>
    <tag-class>bas.CompanyTag</tag-class>
    <attribute>
    <name>dbase</name>
    <required>true</required>
    <rtexprvalue>true</rtexprvalue>
    <type>java.lang.String</type>
    </attribute>
    <attribute>
    <name>dbpass</name>
    <required>true</required>
    <rtexprvalue>true</rtexprvalue>
    <type>java.lang.String</type>
    </attribute>
    <attribute>
    <name>dburl</name>
    <required>true</required>
    <rtexprvalue>true</rtexprvalue>
    <type>java.lang.String</type>
    </attribute>
    <attribute>
    <name>pgm_sname</name>
    <required>true</required>
    <rtexprvalue>true</rtexprvalue>
    <type>java.lang.String</type>
    </attribute>
    <attribute>
    <name>session</name>
    <required>true</required>
    <rtexprvalue>true</rtexprvalue>
    <type>java.lang.String</type>
    </attribute>
    </tag>
    Html code
    old code :
    <%@ taglib uri="/ezerptags.tld" prefix="eztag" %>
    <eztag:companytag pgm_sname="<%= strpgm_name%>" dbase="<%= strd%>"
    dbpass="<%= strp%>" dburl="<%= stru%>" session="<%= session%>" />
    After modified in JSTL
    <%@ taglib uri="/ezerptags.tld" prefix="eztag" %>
    <eztag:companytag pgm_sname="${pgm_name}" dbase="${strd}"
    dbpass="${strp}" dburl="${stru}" session="${session}" />
    but its Not working. How to use this
    the "eztag" and "companytag" are the customtag. these tages available in eztaglib.tld file. I am passing the value through XML Tag.
    Please suggest me . how to use.
    is there any article describes how to pass jstl varriable to XML Tag attribute.
    thanks in advance

  • How to use JSTL create a dynamic table according to a database???

    How to use JSTL create a dynamic table according to a database in a web page? Who can help me? Thanks.

    How to use JSTL create a dynamic table according to a
    database in a web page? Who can help me? Thanks.???
    Could you rephrase your quesion?
    Do you want to display records by reading from a table in DB?

  • 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

  • How to use ADF with weblogic Portal 10.3.2

    Hello All,
    I want to use ADF with Weblogic Portal 10.3.2. Can anyone guide me ?
    Thanks,
    *(' ')sman*

    Hello,
    To use ADF with WLP 10.3.2 you will need a WebCenter WSRP producer running the portlet, which you can then consume as a remote portlet in WLP. The documentation on how to do that is here:
    http://download.oracle.com/docs/cd/E15919_01/wlp.1032/e14235/chap_webcenter_interop.htm#BABDBJBD
    Kevin

  • How to use JSTL for vectors

    I am using vectors in my bean class.I am using traditional scriptlet code to get Vector in jsp using
    <jsp:usebean id="tds" class="com.TrainBean" />
    and i get vector like this from Bean
    Vector v=tds.getName();
    and i use scriptlet to print values of vector like
    <%
    for(int i=0;i< v.size() ;i++){                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Vishal_Fichadiya wrote:
    ya i had tried using <C:forEach but it didnt work
    can u plz give me an example so tht i can use it
    wit array list and can use JSTL in thtSee this [http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JSTL3.html]

  • How to use jsp in weblogic 5.1

    Hi all,
    We have PeopleSoft application running on
    Weblogic 5.1 SP12.
    How do we use JSP files in this weblogic version ?
    We are trying to use a custom jsp file.
    Quick help is much appreciated..
    Thanks
    Maddy

    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.

  • How to use CMP in Weblogic 9.2 with MySQL?

    Hello all...
    So I've been tasked wiith moving an Oracle/Weblogic installation to a MySQL/Weblogic platform. Things are moving along well, except that in my CMP (Container-Managed Persistence) descriptors, the database-type is set to "Oracle" and there are references to columns of type "OracleBlob" and "OracleClob".
    I changed database-type to "MySQL" and those columns to "Blob" and "Clob", but it doesn't work -- Weblogic reports that MySQL doesn't support Blobs and Clobs (which is untrue, but perhaps Weblogic 9.2 doesn't know how to deal with MySQL Blobs and Clobs).
    Has anyone encountered this before? Is there a workaround? I've Google'd it and looked here, and it doesn't seem like many people use this combination of MySQL and Weblogic, so there's not much discussed on this topic.
    Any help would be much appreciated!
    - Tim Bessie

    First you need to make sure that you are using supported configuration. CMP (WebLogic feature) is supported with MySql4 with Connect/J
    http://edocs.bea.com/platform/suppconfigs/configs92/92_over/supported_db.html#1177621
    Thanks,
    Jayesh
    Yagna Sys

  • How to use a webservice (WebLogic?)

    I want my application to use a WebLogic built webservice. The documention says to create aControl from the WSDL, but the only ways it seems to use the control is by dragging it into a pageflow in design view. I need to access it via a POJO. I'm new to Web Services, so I'm not sure how to go about it. I have this in my code
    * @common:control
    private myWebServiceControl myControl;
    But when I try to use myControl it throws a Null Pointer exception. It won't let me do myControl = new myWebServiceControl () or anything like that to initialize it so I don't know what to do about that.

    Hi, Iam learning to use weblogic and sevlets. I compiled my first "HelloWorld" program inside WEB-INF, inside WebApp in a directory in C drive. I created a user id and password to use Weblogic.
    Then I started the server and opened the file. I added the servlet name and code to "HelloWorld", I then saved, deployed. And tried to run my program in a browser giving,
    http://localhost:7001/bbb/HelloWorld
    I get an error 404, I wish you guys help me sort my problem. What else I must do to make Servlets work?

  • How to use log4j into weblogic 10.3

    Hi,
    I am migrating an enterprise application from JBoss 4.3 + JBossCache to WebLogic 10.3+Coherence.
    I am blocked since I can't get log4j to work inside WL.
    I enabled log4j inside the administration console, as stated in the user guide.
    Googling I've also found that I have to copy these 2 jars
    wllog4j.jar
    llog4j-1.2.14.jar
    inside my domain lib directory (that is C:\Oracle\Middleware\user_projects\domains\base_domain\lib), and I did it.
    Now where should I put the log4j.xml configuration file and how can I tell to WL to use that xml as log4j configuration ?
    To give you more information, my classes use log4j in this way:
    Logger log = Logger.getLogger(MyClass.class);
    And I am constantly getting this error:
    log4j:WARN No appenders could be found for logger (it.ltm.ejba.session.EjbAServiceBean).
    log4j:WARN Please initialize the log4j system properly.
    I hope someone can help me.
    I apologize for this stupid question, but really I didn't find a good guide/tutorial on the net.
    Thanks in advance.
    Edited by: e.gherardini on 3-mar-2010 3.16

    Hi Jay, thanks for helping me.
    In fact what I am trying to do is a server-wide log4j configuration.
    Your solution implies writing-deploying-maintaining 1 log4j configuration file for each application developed inside the application server.
    This is not what I want to do.
    Digging around WL 10.3 installation folders, I've found a log4j.properties file inside the medrec example application (C:\Oracle\Middleware\wlserver_10.3\samples\domains\medrec).
    It uses this properties file setting a startup parameter to the server (file setDomainEnv.cmd):
    set JAVA_PROPERTIES=%JAVA_PROPERTIES% -Dlog4j.configuration=file:%LOG4J_CONFIG_FILE%
    I would like to do the same starting the server from eclipse 3.5.
    I am working on this, I hope you can give some hints.
    Thanks a lot

  • How can using Richfaces with weblogic portal

    Hi,
    i'm using weblogic portal 10.3.2. how can i integrate Richfaces with JSF portlet (1.2)
    can any one help me!
    Thanks!

    can anybody help me?

  • How to use jstl variable in a jsp page

    Hi all,
    I am new to JSTL and i want to access the value of jstl in jsp.
    when i use the tag like below it is displaying the value ""
    <c:out value="${ack}"/>
    But as ack is string, i want to convert it into int. and i have written like
    <c:set var="ackvalue" value="${ack}"/>
    and int ack = Integer.parseInt(ackvalue);
    But it is showing error like varialbe can not be resolved: ackvalue
    can anybody please help me regarding this?
    Waiting for your warm response.
    Thanks in advance

    Hi,
    Thanks for your immediate reply.
    I am able to display the ackvalue when i am using
    <c:set var="ackvalue" value="${ack}"/>
    and <c:out value="${ackvalue}"/>
    But my actual requirement is to use the ack value in
    switch statement. if i can assign the value to a
    String variable, then it si easy for me to proceed.
    Please help me in this regard.
    Thanks,You can use the c:choose, c:when and c:otherwise tags
    <c:choose>
        <c:when test = "${ackvalue == 1}">
               //do stuff
        </c:when>
        <c:when test = "${ackvalue == 2}">
               //do some other stuff
        </c:when>   
       <c:otherwise>
              //stuff
        </c:otherwise>
    </c:choose>ram.

  • How can using 'jMaki' in weblogic server 10?

    i tried 'jmaki' in wls10.
    but fail
    jmaki added follow
    WEB-INF/lib/ajax-wrapper-comp-1.8.0.jar
    org.json-0.0.2.jar
    jsfcompounds-core-0.0.6.jar
    when i deployed, rising the exception...
    <2008. 10. 30 오전 2시 14분 59초 GMT> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1225332882375' for task '25'. Error is: 'java.lang.NoClassDefFoundError: com/sun/jmaki/AjaxWrapperTag : javax/faces/webapp/UIComponentBodyTag'
    java.lang.NoClassDefFoundError: com/sun/jmaki/AjaxWrapperTag : javax/faces/webapp/UIComponentBodyTag
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:338)
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:291)
    Truncated. see log file for complete stacktrace
    java.lang.NoClassDefFoundError: com/sun/jmaki/AjaxWrapperTag : javax/faces/webapp/UIComponentBodyTag
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:338)
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:291)
    Truncated. see log file for complete stacktrace
    how can fix this problem?

    which cache are you talking about? Coherence cache?
    Or maybe you are talking about code cache, as explained here http://wlatricksntips.blogspot.com/2010/07/clearing-cache-for-weblogic-instance.html ?

  • Using javascript in weblogic 10.3

    Hi.. Can anyone help tell me how to use javascript in weblogic 10.3. I've tried the following option:
    var form = document.getElementById(lookupIdByTagId("searchForm", this));
    var ban = form;
    The form object always returns null.

    Hi.. Sorry for late reply... I got my problem solved.. May be this could be useful to others.
    Use scope id to retrieve values of from elements for Javascript in Weblogic Portal 10.3 :
    For ex:
    Mention:
    <netui:html idScope="sampleScope" generateIdScope="true">
    And in javascript function:
    var label = document.getElementById (lookupIdByTagId("sampleScope.uploadForm_id","form"))[lookupIdByTagId('sampleScope.name_id',"sampleScope.uploadForm_id")].value;
    uploadForm_id is the tagId of <netui:form> and name_id is the tagId of textFeild in that Form.
    Hope this is helpful...

Maybe you are looking for

  • VZ Contact Transfer will not work on Wi-Fi; Synch with iTunes sets up mail

    VZ Contact Transfer goes into a loop with Verizon iPhone connected to your Wi-Fi and does not work. Your wi-fi network will come up right after registering VZ iPhone. You could wait until later to allow it to connect. Otherwise, disconnect router to

  • How can i use my Shuffle ipod with windows media player

    can i use my ipod shuffle with my windown media player and if i can how can i instal on windowns xp and vista or i need to download itunes program thank you   Windows XP Pro   Windows Vista   Windows XP Pro   Windows Vista

  • Handling Obsolete Variants in 4.6C - ECC6 Upgrade

    I read all the Notes on obsolete Variants. Then I ran RSVCHECK and found 6,000+ of them needing repair. Is there any reason not to just run RSVARDOC wide open and fix them all at once? Thanks for your insight, John

  • Third Party Keyboard Function Keys

    I have bought a third party keyboard (Razer Anansi) for my MacBook Pro, and I cannot get the the function keys (f#) work as normal keys. I have checked the option "Use all F1, F2, etc. keys as standard function keys" in keyboard preferences, but it s

  • Set up iPhone 4 as new, but now want to go back to most recent backup in iTunes

    Is erase and install the best way to do to this? And will the backups on iTunes always be available for me to choose. What if I try my phone as a 'new' phone for a week, then want to restore back to the last back up I did before I made it new? Will i