OracleJSP:oracle.jsp.parse.JspParseException Urgent please

Hai,
I deployed my application on OC4J and while i am accesing my application, I got this below mentioned error on browser.Can any body have any clues about this error. I am really struggling hard to get out it.If you have any suggessions,please let me know.
Request URI:/en_US/clubroster.jsp
Exception:
OracleJSP:oracle.jsp.parse.JspParseException: /en_US/roster.jsp: Line # 350, <mp:crresults summaryList="<%=summarylist%>" lang=en_US />
Error: Expecting quoted value, got character: e
Thanks!
Tracy.

Hai qlin,
Thanks for you reply.I resolved the issue by putting en_us within quotes.
<mp:crre summaryList="<%=summarylist%>" lang="en_US" />.Thanks again.
Tracy.

Similar Messages

  • Oracle.jsp.parse.JspParseException

    After making minor changes to my jsp's, i deployed the war and now the jsp's cant find the tld's, even though they exist.
    I get the following error:
    500 Internal Server Error
    OracleJSP: oracle.jsp.parse.JspParseException: Line # 1, <%@ taglib uri="/tld/c" prefix="c"%>
    Error: java.io.IOException: Referenced TLD does not exist or is invalid
    Any say...please:-|?

    Does making change in the global-web-application.xml help (jsp-cache-tlds="false")?I do not see any relevance of gloabl-web-application.xml here.
    They exist in WEB-INF/tld folder.
    OracleJSP: oracle.jsp.parse.JspParseException: Line # 3, <%@ taglib
    uri="/tld/extremecomponents" prefix="ec" %>
    Error: java.io.IOException: Referenced TLD does not exist or is invalidIf it is in WEB-INF/tld, then you can write
      <%@ taglib uri="/WEB-INF/tld/extremecomponents.tld" prefix="ec" %>
    The "/WEB-INF" is missing in your version.
    Of course, there are other ways to provide the uri attribute. However, the above is most direct way. As a sanity test, let us get it working first by the above way.

  • Server Error 500: Cant find taglibs  oracle.jsp.parse.JspParseException

    I dont know what iam doing wrong. My project runs under tomcat, but not under oc4j.
    Here is my stacktrace:
    500 Internal Server Error
    OracleJSP: oracle.jsp.parse.JspParseException: Zeilennummer 3, <%@ taglib uri="/tags/fn" prefix="fn" %>
    Fehler:oracle.xml.parser.v2.XMLParseException ( /WEB-INF/jsp-fragments/taglibs.jsp ):
    Zeile #:3 Spalte #:48 : FIXED type Attribute value not equal to the default value 'http://java.sun.com/xml/ns/j2ee'.
    Zeile #:4 Spalte #:56 : Attribute 'xmlns:xsi' used but not declared.
    Zeile #:5 Spalte #:81 : Attribute 'xsi:schemaLocation' used but not declared.
    Zeile #:6 Spalte #:16 : Attribute 'version' used but not declared.
    Zeile #:8 Spalte #:15 : Invalid element 'description' in content of 'taglib', expected elements '[tlibversion]'.
    Zeile #:8 Spalte #:15 : Element 'description' used but not declared.
    Zeile #:9 Spalte #:16 : Invalid element 'display-name' in content of 'taglib', expected elements '[tlibversion]'.
    Zeile #:9 Spalte #:16 : Element 'display-name' used but not declared.
    Zeile #:10 Spalte #:16 : Invalid element 'tlib-version' in content of 'taglib', expected elements '[tlibversion]'.
    Zeile #:10 Spalte #:16 : Element 'tlib-version' used but not declared.
    Zeile #:11 Spalte #:14 : Invalid element 'short-name' in content of 'taglib', expected elements '[tlibversion]'.
    Zeile #:11 Spalte #:14 : Element 'short-name' used but not declared.
    Zeile #:12 Spalte #:7 : Invalid element 'uri' in content of 'taglib', expected elements '[tlibversion]'.
    Zeile #:14 Spalte #:12 : Invalid element 'function' in content of 'taglib', expected elements '[tlibversion]'.
    Zeile #:14 Spalte #:12 : Element 'function' used but not declared.
    Zeile #:15 Spalte #:17 : Element 'description' used but not declared.
    Zeile #:19 Spalte #:20 : Element 'function-class' used but not declared.
    Zeile #:20 Spalte #:24 : Element 'function-signature' used but not declared.
    Zeile #:21 Spalte #:13 : Element 'example' used but not declared.
    Zeile #:26 Spalte #:12 : Invalid element 'function' in content of 'taglib', expected elements '[tlibversion]'.
    hope that someone can help me out.
    thanks

    Which oc4j version are you using? You can get the version by
       java -jar oc4j.jar -version

  • Oracle.jsp.parse.JspParseException Error

    I am trying to migrate for Oracle 9ias 9.0.3 to ias 10G (10.1.2.0.2) and i have obtaining errors with jsp´s:
    OracleJSP: oracle.jsp.parse.JspParseException: /WEB-INF/jsp/primary/./actualidad/./ultimosDocsLegisAutoyCalendario.jsp: Line # 199, <aranzadi:actual tipo="<%=tipo%>"><%=xml%><%aranzadi:actual%>
    Error: actual must be terminated with /> or %> not >
    The jsp worked in the 9.0.3
    That is the jsp content:
    <%@ page contentType="text/html;charset=iso-8859-1" language="java" %>^M
    <%@page import="es.aranzadi.base.SessionNames"%>^M
    <%@page import="es.aranzadi.seguridad.ServiciosSeguridad"%>^M
    <%@page import="es.aranzadi.seguridad.TipoProducto"%>^M
    <%@page import="es.aranzadi.seguridad.TipoZona"%>^M
    <%@page import="es.aranzadi.seguridad.ListaProductos"%>^M
    <%@page import="java.util.Iterator"%>^M
    <%@ page import="java.util.Collection"%>^M
    <%@ page import="java.util.ArrayList"%>^M
    <%@page import="es.aranzadi.utilidades.actualidad.Actualidad"%>^M
    <%@ page import="org.apache.struts.action.ActionForm"%>^M
    <%@ page import="es.aranzadi.util.Utilidades"%>^M
    <%@page import="org.apache.log4j.Category"%>^M
    ^M
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>^M
    <%@ taglib uri="/WEB-INF/taglibs-session.tld" prefix="session"%>^M
    <%@ taglib uri="/WEB-INF/aranzadi.tld" prefix="aranzadi"%>^M
    <%@taglib uri="/WEB-INF/cache.tld" prefix="cache"%>^M
    <%@page import="es.aranzadi.services.Propiedades"%>^M
    <%@page import="es.aranzadi.util.navegacion.ServiciosConfiguracion"%>^M
    <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>^M
    ^M
    ^M
    "ultimosDocsLegisAutoyCalendario.jsp" [Read only] 210 lines, 7583 characters
    }^M
    }^M
    String p_tipo = request.getParameter("tipo");^M
    if(tipo != null && !tipo.equals(""))^M
    tipo = p_tipo;^M
    ^M
    String xml=actualidad.getXMLConsolidada(marcas,cjto, publicaciones,diasA
    ctualidad);^M
    %>^M
    <aranzadi:actual tipo="<%=tipo%>"><%=xml%></aranzadi:actual>^M
    </cache:Cache>^M
    <INPUT TYPE=HIDDEN NAME="nm" VALUE=""> ^M
    <INPUT TYPE=HIDDEN NAME="saltoA" VALUE="">^M
    <INPUT TYPE=HIDDEN NAME="saltoDe" VALUE="">^M
    <!--INPUT TYPE=HIDDEN NAME="version" VALUE=""-->^M
    </form>^M
    ^M
    ^M
    </body>^M
    ^M
    </html>^Mversion.
    Can anybody hep me?
    Idoia

    Sorry, the error is:
    OracleJSP: oracle.jsp.parse.JspParseException: /WEB-INF/jsp/primary/./actualidad/./ultimosDocsLegisAutoyCalendario.jsp: Line # 199, <aranzadi:actual tipo="<%=tipo%>"><%=xml%></aranzadi:actual>
    Error: actual must be terminated with /> or %> not >
    Thanks,

  • Error while accessing OIM UI - OracleJSP error: oracle.jsp.parse.JspParseException

    We have 3 nodes of OIM servers in our clustered production environment. While accessing OIM server on first node, following error is coming in the browser window -
    OracleJSP error: oracle.jsp.parse.JspParseException:
    /oracle/iam/ui/main/signin.jspx: Line # 5, &amp;amp;amp;lt;af:document id="d1" initialFocusId="pt1:_pt_it1" theme="light" title="#{uiBundle['IDENTITY_SELF_SERVICE_TITLE']}"&amp;amp;amp;gt;
    Error: Encountered deferred syntax #{ in template text. If intended as a literal, escape it or set directive deferredSyntaxAllowedAsLiteral
    The OIM UI is accessible on the other 2 nodes. There are no changes made in the environment. I have also attached the OIM diagnostic logs for your analysis.
    Please let us know the steps to resolve this issue in production environment.

    No..
    I have followed the way to add JSF libray,
    1)Right click the projet->project properties->javadoc->JSP taglibraries
    2)Inside the Distributed Library i have selected the JSTL core 1.2 and click on add.
    3) Then a new dialogue box of Choose tablibraries came.inside that only struts bean,struts Html etc are seeing.
    What i need to select?..Do i am following the right way?
    Please help..

  • Exception:oracle.jsp.parse.JspParseException

    hi,
    I deploy my bibeans application via jdeveloper in to application server and copy my lib file named bibeans.jar in web-inf/lib. after I try to view my jsp page which view my graph my browser show internal server error message (error 500 in IE)and following error in my log file :
    04/12/14 11:00:31 Started
    04/12/14 11:00:33 webapp: jsp: init
    04/12/14 11:00:33 webapp: uix: init
    04/12/14 11:00:33 webapp: 9.0.4.0.0 Started
    04/12/14 11:02:42 webapp: JspServlet: unable to dispatch to requested page: Exception:oracle.jsp.parse.JspParseException: Line # 1, <%@ taglib uri="http://xmlns.oracle.com/bibeans" prefix="orabi" %>
    Error: Unable to load taghandler class: http://xmlns.oracle.com/bibeans
    04/12/14 11:04:22 webapp: JspServlet: unable to dispatch to requested page: Exception:oracle.jsp.parse.JspParseException: Line # 1, <%@ taglib uri="http://xmlns.oracle.com/bibeans" prefix="orabi" %>
    Error: Unable to load taghandler class: http://xmlns.oracle.com/bibeans
    what should I do ???
    thanks in advance,
    shima

    To the web.xml file add a taglib element.
    <taglib>
      <taglib-uri>http://xmlns.oracle.com/bibeans/</taglib-uri>
      <taglib-location>/WEB-INF/BITags.tld</taglib-location>
    </taglib>

  • Jsp.parse.JspParseException

    Hi,
    I am using JDeveloper 3.2 to develop a develop a JSP application. I trying to get records to display on a custom screen layout.
    The first record is displayed. However, I get the following error message when I use the Navigation Bar to go to the next record:
    oracle.jsp.parse.JspParseException: Line # 41, Error: Tag attempted to define a bean which already exists: RowViewer
    Could you please let me know what I am doing wrong and how I could rectify the error? My code is as follows:
    <jsp:useBean class="oracle.jbo.html.databeans.NavigatorBar" id="nb" scope="request" >
    <%
    nb.setTargetUrl("EMPAppView.jsp");
    nb.initialize(application,session, request,response,out,"EMPApp_EMPBC_EMPAppModule.EMPView1");
    String sImageBase = "/webapp/images";
    nb.setImageDir(sImageBase);
    nb.addButton(nb.NAVIGATE_FINDFORM , "EMPView_Query.jsp");
    nb.addButton(nb.NAVIGATE_BROWSE , "EMPView_Browse.jsp");
    nb.addButton(nb.NAVIGATE_INSERT , "EMPView_Insert.jsp");
    nb.addButton(nb.NAVIGATE_EDIT , "EMPView_Edit.jsp");
    nb.render();
    %>
    </jsp:useBean>
    <jsp:useBean id="RowViewer" class="oracle.jbo.html.databeans.ViewCurrentRecord" scope="request">
    <%
    RowViewer.initialize(pageContext, "EMPApp_EMPBC_EMPAppModule.EMPView1");
    RowViewer.setReleaseApplicationResources(true);
    RowViewer.getRowSet().next();
    %>
    </jsp:useBean>
    <pre>
    <table>
    <tr>
    <td>
    <%= RowViewer.getRowSet().getCurrentRow().getAttribute("EmpId")%>
    </td>
    </tr>
    <td>
    </td>
    </tr>
    </tr>
    </table>
    </pre>
    </body>
    </html>
    </pre>
    </BODY>
    </HTML>
    null

    Since you're using JDeveloper 3.2, I suggest you use data tags to display a custom screen layout - they'll do a much better job of this.
    Thanks
    Blaise

  • Oracle.jsp.parse.JavaCodeException

    I have a jsp page, which I am trying to deploy to Webcenter, wls_portlet managed server.
    UserName: <%= request.getRemoteUser() %> line in code is giving following error.
    OracleJSP error: oracle.jsp.parse.JavaCodeException: Line # 29, oracle.jsp.parse.JspParseTagExpression@9debe6
    Error: Java code in jsp source files is not allowed in ojsp.next mode.
    can any body help, how to remove this problem.

    Nested Exception is javax.servlet.ServletException: OracleJSP error:
    oracle.jsp.parse.JavaCodeException: Line # 8, oracle.jsp.parse.JspParseTagExpression@5d5c8f <br>Error: Java code in jsp source files is not allowed in ojsp.next mode.
         at oracle.jsp.runtimev2.JspReportUtil.reportException(JspReportUtil.java:180)
         at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:692)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:722)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:646)
         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.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:499)
         at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:429)
         at oracle.portlet.server.adapter.web.ServletExternalContext.include(ServletExternalContext.java:182)
         at oracle.portlet.server.adapter.web.ServletExternalContext.includePath(ServletExternalContext.java:77)
         at oracle.portlet.server.containerimpl.ServerContext.includePath(ServerContext.java:79)
         at oracle.portlet.server.containerimpl.RequestDispatcherImpl.internalInclude(RequestDispatcherImpl.java:99)
         at oracle.portlet.server.containerimpl.RequestDispatcherImpl.include(RequestDispatcherImpl.java:81)
         at oracle.oardc.daps.ui.portlets.PA.doDispatch(PA.java:61)
         at javax.portlet.GenericPortlet.render(GenericPortlet.java:163)
         at oracle.portlet.server.containerimpl.ServerImpl.doRuntimeCall(ServerImpl.java:1283)
         at oracle.portlet.server.containerimpl.ServerImpl.getMarkup(ServerImpl.java:142)
         at oracle.portlet.server.containerimpl.ServerPerfLogger.getMarkup(ServerPerfLogger.java:584)
         at oracle.portlet.wsrp.v2.WSRPv2VersionWrapperServer.getMarkup(WSRPv2VersionWrapperServer.java:545)
         at oracle.portlet.wsrp.v2.WSRPv2ToServer.getMarkup(WSRPv2ToServer.java:2412)
         at oracle.portlet.wsrp.v2.WSRP_v2_Markup_PortTypeSoapToJaxb.getMarkup(WSRP_v2_Markup_PortTypeSoapToJaxb.java:76)
         at oracle.portlet.wsrp.v2.WSRP_v2_Markup_PortTypeSoapPerfLogger.getMarkup(WSRP_v2_Markup_PortTypeSoapPerfLogger.java:58)
         at oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.invoke_getMarkup(WSRP_v2_Markup_Binding_SOAP_Tie.java:187)
         at oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.processingHook(WSRP_v2_Markup_Binding_SOAP_Tie.java:1448)
         at oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:299)
         at oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:421)
         at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:873)
         at oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:312)
         at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:202)
         at oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:166)
         at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:384)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         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.security.jps.wls.JpsWlsFilter$1.run(JpsWlsFilter.java:96)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
         at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:140)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.portlet.server.service.ContextFilter.doFilter(ContextFilter.java:101)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
         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.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         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)

  • OracleJSP: oracle.jsp.provider.JspCompileException

    Hi,
    when i try to compile a report in web layout format in 10g DS R2, i get following error
    500 Internal Server Error
    OracleJSP: oracle.jsp.provider.JspCompileException:
    Errors compiling:C:\Documents and Settings\Administrator\Local Settings\Temp\1\docroot\3000\default\defaultWebApp\persistence\_pages\\_MODULE1000803760.java
    Error occurred during initialization of VM
    Could not reserve enough space for object heap
    Any idea how to solve this problem?
    Regards,
    Waqas

    I am having this same problem. Any solution?

  • OracleJSP : oracle.jsp.provider.JspCompileException on 10gAS Windows 9.0.4

    Hi,
    We are running an 9.0.4 Application Server (J2EE and Web Cache) on a Windows 2003 Server Machine. Web Cache is not being used.
    D:\Oracle\ora10g\opmn\bin>opmnctl status
    Processes in Instance: elixirtest.elixirtest.seepz.mastek.com
    ----------------------------------------------+---------
    ias-component | process-type | pid | status
    ----------------------------------------------+---------
    OC4J | Elixir-Home | 196 | Alive
    OC4J | home | N/A | Down
    WebCache | WebCacheAdmin | N/A | Down
    WebCache | WebCache | N/A | Down
    HTTP_Server | HTTP_Server | 1312 | Alive
    dcm-daemon | dcm-daemon | 3224 | Alive
    LogLoader | logloaderd | N/A | Down
    Our application is in the Elixir-Home instance seen above.
    We are randomly getting the following error when we try to access some of the JSP pages in our application.
    ============
    Errors compiling D:\Oracle\Ora10g\j2ee\Elixir-Home\application-deployments\Elixir-AMS\elixir-ams\persistence\_pages\_estimation\_AmsEstimationAuthorizeCapture.java
    package com.orionserver.http does not exist public class _AmsEstimationAuthorizeCapture extends com.orionserver.http.OrionHttpJspPage {
    package com.evermind.server.http does not exist com.evermind.server.http.JspCommonExtraWriter __ojsp_s_out = (com.evermind.server.http.JspCommonExtraWriter) out;
    many more.....
    ============
    We get this error randomly, a page might give this error after a particular build, but if we bounce OC4J and HTTP_Server, this problem goes away sometimes.
    But then we get it on some other page which was working fine earlier.
    If we rebuild(without changing source) and deploy, sometimes this also makes the problem go away temporarily.
    As far as we can observe, this error occurs completely at random.
    Can anyone please help us in resolving this error?
    Any inputs would be appreciated.
    Some more info....
    D:\Oracle\ora10g\dcm\bin>dcmctl listApplications -co Elixir-Home -v -d
    Error: Failed to find CACHE element that matches host name ind-mhp1w3s0054 and Oracle Home D:\Oracle\ora10g
    Error: Failed to find CACHE element that matches host name ind-mhp1w3s0054 and Oracle Home D:\Oracle\ora10g
    1 Elixir-AMS
    (We are not sure if the cache element error above has anything to do with the compilation exception)
    D:\Oracle\ora10g\j2ee\home>java -jar oc4j.jar -version
    Oracle Application Server Containers for J2EE 10g (9.0.4.0.0) (build 040317.1838)
    D:\Oracle\ora10g\j2ee\home>java -jar ojspc.jar -version
    Oracle JSP Translator 10g (9.0.4.0.0) - Production
    (c) Copyright 2004 Oracle. All rights reserved.
    TIA,
    regards,
    Libin

    I do not know if Libin has solved the problem or not. There are two ways forward.
    1. add java option "-Dbuild.debug=true" to your oc4j process. The output of oc4j console should provide information as to the classpath used by the compiler. See what is happening.
    2. contact oracle support to run a full simplified testcase. Hopefully,the problem can be reproduced.

  • How to retrieve the parameter names from a JSP page ? Urgent Please

    Hello,
    Can anybody tell me how to retrieve the parameter names from the JSP
    page. (without using getParameterNames() method.)
    The problem with the getParameterNames() method is I get the Jumbled output.
    I need it very badly
    With regards
    Ananth R
    email:[email protected]
    [email protected]

    Dear duffymo,
    My primary intention is to convert the JSP form information into a XML file.
    If I do not get the Parameter names in the correct order how can I maintain
    tag order in XML file.
    For ex: (JSP PAGE VIEW)
    Name--
    FirstName
    MiddleName
    LastName
    Address--
    Street1
    Street2
    City
    Country
    &so on
    (XML File to be generated)
    <Name>
    <FirstName>Value</FirstName>
    </Name>
    <Address>
    <street1>value</street1>
    </Address>
    & so on
    If I use getParameterNames() to get all the parameter names(Which form the tag names in the XML file ) the Enumeration object it returns will not be in the same order as the text fields in JSP.From this I can not construct a meaningful XML file.
    order means: Order of entry on the page, from top to bottom
    That's it
    Waiting for your responses

  • Bug in the Oracle JSP parser..?

    Hi,
    I seem to have run into a problem with double quotes inside attributes of a custom tag. For example, on Tomcat the following line is valid in a JSP:
    <mylib:person label="<%="Mr " + surname%>" />
    Tomcat treats the "Mr " in the expression as a Java string, but OC4J seems to treat the first quote inside the expression as the end of the label attribute. It then complains because Mr is not a valid attribute of the tag.
    Surely this is a bug?!
    There are workarounds:
    <mylib:person label='<%="Mr " + surname%>' />
    i.e. use single quotes for the attribute value, but what if the JSP expression actually contains a single quote as well?!
    <mylib:button action='<%="location.href='" + url + "'"%>' />
    It's starts to get silly, and I end up having to create scriplet variables just to go inside the attribute. I'm migrating from Tomcat, and have numerous instances of this.
    Is this a bug? (I'm using OC4J 9.03) Is there a setting I've missed?
    Thanks,
    Phil

    That doesn't seem to work. On the login page we have the line (uses our own custom tag called "form"):
    <html:form method="post" action="<%=response.encodeURL("j_security_check")%>" >
    OC4J complains about this (Tomcat is happy enough). If I change this to:
    <html:form method="post" action="<%=response.encodeURL(\""j_security_check\"")%>" >
    then it won't compile in either OC4J or Tomcat... which to be honest is what I expected. The quotes is inside a JSP expression; it's not really part of the attribute.
    Or did you mean something else?
    Thanks,
    Phil

  • Deployment problem : oracle.xml.parser.v2.XMLParseException

    Hi to all.
    I have a strange problem deplying an application. When the first jsp is loaded the follwing excteption is raised :
    OracleJSP: oracle.jsp.parse.JspParseException: Line # 1, <%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
    Error: oracle.xml.parser.v2.XMLParseException ( /notifiche.jsp ):
    line #:10 column #:10 : Element taglib not complete, expected elements '[validator, listener, tag]'.
    With the embedded OC4J server all works fine. This is not the first application i deploy but this is the first time i have a problem. I'm doing somthings wrong in the deployment descriptor ?
    TIA
    sergio sette

    After restarting the JDeveloper its working.

  • Upgrade from tomcat to OC4J 10.1.3 jsp parser exception in tag lib

    i have problem in oc4j jsp parser
    but it work ok on tomcat as tomcat using jasper-compiler.jar
    when run on oc4j it give me the exception
    OracleJSP: oracle.jsp.parse.JspParseException: /jsp/layouts/elec/pageheading.jsp: Line # 3, <aa:h1 wrapped="true" labelKey="${heading1BundleKey}"/>
    Error: Errors parsing tag :h1 oracle.jsp.parse.JspParseException: /jsp/layouts/elec/pageheading.jsp: Line # 3, <aa:h1 wrapped="true" labelKey="${heading1BundleKey}"/>
    Error: oracle.jsp.provider.JspCompileException: <H3>Errors compiling:E:\oc4j\j2ee\home\application-deployments\default\sc40\persistence\_tagfiles\_oracle\_jsp\_tag\_aacom\_h1_2e_tag.java</H3><TABLE BORDER=1 WIDTH=100%><TR><TH ALIGN=CENTER>Line #</TH><TH ALIGN=CENTER>Error</TH></TR><TR><TD WIDTH=7% VALIGN=TOP><P ALIGN=CENTER>191</TD><TD> non-static variable _jspFragWriter cannot be referenced from a static context
    _jspFragWriter = null;
    -------------------------------------------------------->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    and i have problem in web.xml
    as i using jsp servlet in jasper-compiler.jar in tomcat package
    <servlet>
    <servlet-name>jsp</servlet-name>
    <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
    <init-param>
    ------------------------------------>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    i try to use this package in oc4j but i can not
    i put this servlet in global-web-application.xml instead of
    <servlet>
         <servlet-name>jsp</servlet-name>
    <servlet-class>oracle.jsp.runtimev2.JspServlet</servlet-class>
    ------------------>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    to make oc4j depend on tomcat parser it give me
    classnotfound mean that (oc4j can not found package) this printed in global-application.log
    i make
    <library path="E:/oc4j/j2ee/home/applib/jasper-compiler.jar"/>
    and still have problem
    any 1 have idea using tomcat parser in oc4j
    or have idea solve this problem
    thanx
    Message was edited by:
    [email protected]
    Message was edited by:
    [email protected]
    Message was edited by:
    [email protected]
    Message was edited by:
    [email protected]

    OC4J 10.1.3 does support JSP 2.0, as well as custom tag libraries (including JSTL 1.1).
    There are two approaches to configuring a custom tag library for use in JSPs served by OC4J:
    1) Package the JSTL or custom tag library with your application:
    i. include the necessary JAR file in your web app's /WEB-INF/lib folder
    ii. include the relevant Tag Library Descriptor (TLD) file(s) in your web app's /WEB-INF folder
    iii. for each TLD, add a <tag-lib> element to web.xml referencing the TLD file's location and taglib URI
    2) Place the JSTL or custom tag library in an Application Server instance-level directory ($ORACLE_HOME/j2ee/home/jsp/lib/taglib) to make them available to multiple applications (in all OC4Js installed in the Oracle Home)
    For example, if you'd like to use the JSTL 1.1 Core and Internationalization Tag Libraries, do one of the following:
    1) Package the JSTL or custom tag library with your application:
    i. Obtain an implementation of JSTL (e.g. Jakarta Taglibs) and include the standard.jar and jstl.jar files in your web module's /WEB-INF/lib directory
    ii. From the JSTL implementation you're using, also copy the c.tld and fmt.tld Tag Library Descriptors to your web module's /WEB-INF/lib directory
    iii. Add the following elements to your web module's web.xml file:
    <jsp-config>
    <taglib>
    <taglib-uri>http://java.sun.com/jsp/jstl/core</taglib-uri>
    <taglib-location>/WEB-INF/c.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>http://java.sun.com/jsp/jstl/fmt</taglib-uri>
    <taglib-location>/WEB-INF/fmt.tld</taglib-location>
    </taglib>
    </jsp-config>
    OR
    2) Copy the standard.jar and jstl.jar libraries from the JSTL implementation you're using to $ORACLE_HOME/j2ee/home/jsp/lib/taglib

  • URGENT -- Oracle XML Parser Distribution License.

    Hello,
    I have developed a product which uses the Oracle XML Parser and
    now I would like to sell the product which means I will need a
    license to dsitribute the parser class code.
    Can you please guide me on who I will need to contact to make
    this happen and also what would be the pricing ?
    Thanks much
    SK
    null

    Do you have mscardin's phone number. I need to talk to him about
    this ASAP. Also, I tried emailing him and no reply as yet.
    Thanks
    SK
    Oracle XML Team wrote:
    : Please contact [email protected] with details of your
    : product and distribution plans.
    : Thanks,
    : Oracle XML Team
    : http://technet.oracle.com
    : Oracle Technology Network
    : SK (guest) wrote:
    : : Hello,
    : : I have developed a product which uses the Oracle XML Parser
    and
    : : now I would like to sell the product which means I will need
    a
    : : license to dsitribute the parser class code.
    : : Can you please guide me on who I will need to contact to make
    : : this happen and also what would be the pricing ?
    : : Thanks much
    : : SK
    null

Maybe you are looking for

  • I need to install the new version of adobe flash player and cant?

    I cant open my catalogue and view it on facebook etc as i need to install the new version of adobe flash player and cant, when i try and download, i get so far and it says close the internet exporer and then wont install it?

  • Books are not saved when created with iPhoto 09

    When creating a book, everything is normal but the book is not saved in the computer. So I have to finish the project and order It. The name of the book is still listed on the left but there's no photos or text. I also have a book that seems corrupte

  • Digital Signatures for E-Sourcing Attachments

    Hello experts, Is it possible to implement the digital signature functionality into e-sourcing attachments in some way? (Basically, only digitally signed attachments should be allowed for upload and a way to verifying that the document is digitally s

  • ColorChecker Passport - Camera Raw

    Hello, I recently purchased the ColorChecker Passport from X-Rite... When I click on "Create a Profile"... I have an error message saying that it is  not possible to create a profile with this image... This message can appear at the beginning of the

  • 802.11 MAC counters high values

    Hi, I have a WLC 2106 with 3 APs.  Everything works and users can connect, but the throughput seem to be lower than it should (it is around 8Mbps and should be around 30-50Mbps).  And all speed and duplex has been accounted for. I need help trying to