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

Similar Messages

  • 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..

  • 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

  • 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>

  • 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.

  • 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.

  • 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,

  • 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

  • RE: [iPlanet-JATO] Parse error in JSP parser in IAS6

    Hi Todd,
    removing the defaultValue="" attribute works.
    I have not got around to testing the SP3.
    BTW. The reason the default value tag was added was to stop Null pointer
    exceptions being thrown in the
    HrefTag.beginDisplay().
    buffer.append("?")
    .append(field.getQualifiedName()) // "FooHref"
    .append("=")
    .append(URLEncoder.encode(value.toString())); // "/foo"
    If you don't explicitly add a defaultValue="" to the jsp HREF tag ,
    HrefTag.getDefaultValue() returns null.
    Our hack was to add the following in HrefTag.java.
    if (value==null)
    value=getDefaultValue();
    //===========================
    //IP6 ADDED THE FOLLOWING LINE
    value = (value== null? "":value);
    //============================
    Is that pheasible work-around ? This eliminates the need to add
    defaultValue="" to all HREF tags.
    Also, I might as well point another behavior that we encountered with HREFS.
    In ND, if a HREF's display Field was bound to a column in DataObject and the
    particular record had no value, no URL would be rendered on the page.
    The HTML would look something like this( from memory ):
    <A
    HREF="../AppName/PgMsgMain.hrfSubject_onWebEvent(hrfSubject).994226335140? +
    ND URL STUFF"></A>
    In JATO by default a url get displayed with "null" as the link. ie.
    <a href="../AppName/PgMsgMain?PgMsgMain.hrfSubject= + URL STUFF">null</a>
    Our hack was modify the HrefTag.doEndTag method to not append "null" to the
    buffer.
    if (displayed)
    buffer.append(getBodyContent().getString().equals("null")? "":
    getBodyContent().getString()))
    // IP6 HACK buffer.append(getBodyContent().getString())
    .append("</a>");
    writeOutput(fireEndDisplayEvent(buffer.toString()));
    Is there a better way to do this?
    thanks
    Kostas
    -----Original Message-----
    From: Todd Fast [mailto:<a href="/group/SunONE-JATO/post?protectID=189233080150012190218067203043176090006144139218183041">toddwork@c...</a>]
    Sent: Tuesday, July 03, 2001 12:46 AM
    Subject: Re: [iPlanet-JATO] Parse error in JSP parser in IAS6
    Hey Kostas--
    I personally haven't seen this kind of error. Have you tried simplifying
    the expression inside the href tag? For example:
    <% Object foo =
    viewBean.getRptAssignmentMatch().getvwAssignmentMatchModel().getValue(
    vwAssignmentMatchModel.FIELD_ASSIGNMENT_ASSIGNMENT_ID);
    %>
    <jato:href name="hrefASSIGNMENT_ASSIGNMENT_ID" fireDisplayEvents="true">
    <%= foo %>
    </jato:href>
    Also, is there a different version you could upgrade to? iAS SP3 includes
    the Jasper compiler from Tomcat, which should behave quite differently.
    Todd
    ----- Original Message -----
    From: "Kostas Morfis" <kmorfis@i...>
    Sent: Tuesday, July 03, 2001 12:17 AM
    Subject: [iPlanet-JATO] Parse error in JSP parser in IAS6
    >
    Hi all,
    has anyone come across the following error in iPlanet?
    [02/Jul/2001 12:21:32:1] error: Exception: SERVLET-compile_failed: Failedin
    compiling template: /ras/ras/voyager4/pgAssignmentMatch.jsp, Parse errorin
    JSP parser. Missing endtag: /jato:href
    Exception Stack Trace:
    java.lang.Exception: Parse error in JSP parser. Missing endtag: /jato:href
    at com.netscape.jsp.JSP.parseBlock(Unknown Source)
    at com.netscape.jsp.JSP.parseUserTag(Unknown Source)
    at com.netscape.jsp.JSP.parseTag(Unknown Source)
    at com.netscape.jsp.JSP.parseNext(Unknown Source)
    etc etc.
    We have tested the page in Resin and it works fine.
    It seems the JSP parser has a problem with the following type of HREFtags.
    >
    <jato:href name="hrefASSIGNMENT_ASSIGNMENT_ID" fireDisplayEvents="true"
    defaultValue=""><%=
    viewBean.getRptAssignmentMatch().getvwAssignmentMatchModel().getValue(com.cb
    >
    re.ras.voyager4.model.vwAssignmentMatchModel.FIELD_ASSIGNMENT_ASSIGNMENT_ID)
    %></jato:href></font></td>
    anyone have any suggestions/thoughts/comments ?
    Kostas Morfis
    Senior Consultant
    iRise
    www.iRise.com
    [Non-text portions of this message have been removed]
    [email protected]
    [email protected]

    Hi Todd,
    removing the defaultValue="" attribute works.
    I have not got around to testing the SP3.
    BTW. The reason the default value tag was added was to stop Null pointer
    exceptions being thrown in the
    HrefTag.beginDisplay().
    buffer.append("?")
    .append(field.getQualifiedName()) // "FooHref"
    .append("=")
    .append(URLEncoder.encode(value.toString())); // "/foo"
    If you don't explicitly add a defaultValue="" to the jsp HREF tag ,
    HrefTag.getDefaultValue() returns null.
    Our hack was to add the following in HrefTag.java.
    if (value==null)
    value=getDefaultValue();
    //===========================
    //IP6 ADDED THE FOLLOWING LINE
    value = (value== null? "":value);
    //============================
    Is that pheasible work-around ? This eliminates the need to add
    defaultValue="" to all HREF tags.
    Also, I might as well point another behavior that we encountered with HREFS.
    In ND, if a HREF's display Field was bound to a column in DataObject and the
    particular record had no value, no URL would be rendered on the page.
    The HTML would look something like this( from memory ):
    <A
    HREF="../AppName/PgMsgMain.hrfSubject_onWebEvent(hrfSubject).994226335140? +
    ND URL STUFF"></A>
    In JATO by default a url get displayed with "null" as the link. ie.
    <a href="../AppName/PgMsgMain?PgMsgMain.hrfSubject= + URL STUFF">null</a>
    Our hack was modify the HrefTag.doEndTag method to not append "null" to the
    buffer.
    if (displayed)
    buffer.append(getBodyContent().getString().equals("null")? "":
    getBodyContent().getString()))
    // IP6 HACK buffer.append(getBodyContent().getString())
    .append("</a>");
    writeOutput(fireEndDisplayEvent(buffer.toString()));
    Is there a better way to do this?
    thanks
    Kostas
    -----Original Message-----
    From: Todd Fast [mailto:<a href="/group/SunONE-JATO/post?protectID=189233080150012190218067203043176090006144139218183041">toddwork@c...</a>]
    Sent: Tuesday, July 03, 2001 12:46 AM
    Subject: Re: [iPlanet-JATO] Parse error in JSP parser in IAS6
    Hey Kostas--
    I personally haven't seen this kind of error. Have you tried simplifying
    the expression inside the href tag? For example:
    <% Object foo =
    viewBean.getRptAssignmentMatch().getvwAssignmentMatchModel().getValue(
    vwAssignmentMatchModel.FIELD_ASSIGNMENT_ASSIGNMENT_ID);
    %>
    <jato:href name="hrefASSIGNMENT_ASSIGNMENT_ID" fireDisplayEvents="true">
    <%= foo %>
    </jato:href>
    Also, is there a different version you could upgrade to? iAS SP3 includes
    the Jasper compiler from Tomcat, which should behave quite differently.
    Todd
    ----- Original Message -----
    From: "Kostas Morfis" <kmorfis@i...>
    Sent: Tuesday, July 03, 2001 12:17 AM
    Subject: [iPlanet-JATO] Parse error in JSP parser in IAS6
    >
    Hi all,
    has anyone come across the following error in iPlanet?
    [02/Jul/2001 12:21:32:1] error: Exception: SERVLET-compile_failed: Failedin
    compiling template: /ras/ras/voyager4/pgAssignmentMatch.jsp, Parse errorin
    JSP parser. Missing endtag: /jato:href
    Exception Stack Trace:
    java.lang.Exception: Parse error in JSP parser. Missing endtag: /jato:href
    at com.netscape.jsp.JSP.parseBlock(Unknown Source)
    at com.netscape.jsp.JSP.parseUserTag(Unknown Source)
    at com.netscape.jsp.JSP.parseTag(Unknown Source)
    at com.netscape.jsp.JSP.parseNext(Unknown Source)
    etc etc.
    We have tested the page in Resin and it works fine.
    It seems the JSP parser has a problem with the following type of HREFtags.
    >
    <jato:href name="hrefASSIGNMENT_ASSIGNMENT_ID" fireDisplayEvents="true"
    defaultValue=""><%=
    viewBean.getRptAssignmentMatch().getvwAssignmentMatchModel().getValue(com.cb
    >
    re.ras.voyager4.model.vwAssignmentMatchModel.FIELD_ASSIGNMENT_ASSIGNMENT_ID)
    %></jato:href></font></td>
    anyone have any suggestions/thoughts/comments ?
    Kostas Morfis
    Senior Consultant
    iRise
    www.iRise.com
    [Non-text portions of this message have been removed]
    [email protected]
    [email protected]

  • 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)

  • Jsp parsing error in WLS

    Hi, I have the following jsp page:
              <%@ taglib uri="/taglib/sql" prefix="sql" %>
              <%
              boolean isSQL = false;
              String sqlString = "";
              %>
              <sql:connection pool_name="WebbiAdminPool">
              <% if(isSQL){%>
              <sql:query resultset="results" resultset_info="results_info" sql="<%=
              sqlString %>" >
              <% }else {%>
              <sql:stored_procedure resultset="menu_results"
              resultset_info="menu_results_info" sp_call_string="<%= sqlString %>" >
              <% } %>
              <sql:results from_query="results">
              </sql:results>
              <% if(isSQL) {%>
              </sql:query>
              <% }else { %>
              </sql:stored_procedure>
              <% } %>
              </sql:connection>
              WLS complains about 'no matching tag' on line 17, which is
              </sql:query>
              can somebody tell me what I did wrong?
              thanks
              Xiaodong
              

    Hi,
              JSP tags must be properly nested. I suggest that you rewrite the
              second "if" so that the nesting is correct:
              > <% if(!isSQL) {%>
              > </sql:stored_procedure>
              > <% }else { %>
              > </sql:query>
              > <% } %>
              This will allow the parser to correctly match up your
              start and end tags.
              Sam
              "Xiaodong Zhou" <[email protected]> wrote in message
              news:[email protected]...
              > Hi, I have the following jsp page:
              > --------------------------------------------------
              > <%@ taglib uri="/taglib/sql" prefix="sql" %>
              >
              > <%
              > boolean isSQL = false;
              > String sqlString = "";
              > %>
              >
              > <sql:connection pool_name="WebbiAdminPool">
              > <% if(isSQL){%>
              > <sql:query resultset="results" resultset_info="results_info" sql="<%=
              > sqlString %>" >
              > <% }else {%>
              > <sql:stored_procedure resultset="menu_results"
              > resultset_info="menu_results_info" sp_call_string="<%= sqlString %>" >
              > <% } %>
              > <sql:results from_query="results">
              > </sql:results>
              > <% if(isSQL) {%>
              > </sql:query>
              > <% }else { %>
              > </sql:stored_procedure>
              > <% } %>
              >
              > </sql:connection>
              > ----------------------------------------------------
              > WLS complains about 'no matching tag' on line 17, which is
              > ---
              > </sql:query>
              > ---
              >
              > can somebody tell me what I did wrong?
              >
              > thanks
              >
              > Xiaodong
              >
              

  • Ned help on JSP parsing XML

    Hi all.
    Im having problems on how to parse an xml by JSP
    Can anyone teach me how to parse an the XML below by jsp, without using taglibs. Im using JDOM...
    <Customer>
               <DetailsCustomer ID = 1>
               <Name>
                      John
               </Name>
               <DetailsCustomer ID = 2>
               <Name>
                     Michael
               </Name>
    <Customer>Thankz :)
    Hope for a kind reply :)

    Hi,
    Why would you like to parse the XML inside a JSP page? JSP are for rendering and not for parsing XML. The code to parse the XML should be put in an ordinary Java class instead.
    Parsing XML can be done in a number of ways...it all depends on what you want to do with the XML. Are you looking for XML -> Java Object then maybe you should look at XStream or JAXB.
    If you can tell me a little more about your use case maybe I can help you a little bit more.
    /klejs

  • Jsp parse error

    Hi all,
    I'm getting the following error when I try to include a jsp file within another jsp file.
    javax.servlet.ServletException: Parse Error in JSP page: The include directive on line 14 The JSP page null's depedency '1' could not be found.
    Could someone help me understand what's causing this error?
    Thanks,
    Lima

    <%@ include file="/includes/head.jsp" %>
    <%@ include file="/includes/Detail.jsp" %>
    <%@ include file="/includes/foot.jsp" %>

  • JSP parse error "No URI for taglib" when using tagdir attribute

    Hi,
              I'm trying to use Jakarta JSTL 1.0 with BEA WebLogic 8.1 so I can work with tag files. I've put the jars (jstl.jar & standard.jar) in my webapp's WEB-INF/lib, added the following to my web.xml:
              <taglib>
              <taglib-uri>http://java.sun.com/jstl/core</taglib-uri>
              <taglib-location>/WEB-INF/c.tld</taglib-location>
              </taglib>
              and put the follwing two lines at the top of my JSP:
              <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
              <%@ taglib prefix="h" tagdir="/WEB-INF/tags/mytags" %>
              When I browser to my JSP, I get:
              Parsing of JSP File '<...>.jsp' failed:
              <...>.jsp(5): No URI for taglib
              probably occurred due to an error in <...>.jsp line 5:
              <%@ taglib prefix="h" tagdir="/WEB-INF/tags/mytags" %>
              My setup is pretty much straight out of the textbook, so what's wrong? Are tag files, and therefore this form of the taglib directive, not supported by WebLogic?
              Andrew

    Andrew Bickerton wrote:
              > Hi,
              >
              > I'm trying to use Jakarta JSTL 1.0 with BEA WebLogic 8.1 so I can work with tag files. I've put the jars (jstl.jar & standard.jar) in my webapp's WEB-INF/lib, added the following to my web.xml:
              >
              > <taglib>
              > <taglib-uri>http://java.sun.com/jstl/core</taglib-uri>
              > <taglib-location>/WEB-INF/c.tld</taglib-location>
              > </taglib>
              >
              > and put the follwing two lines at the top of my JSP:
              >
              > <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
              > <%@ taglib prefix="h" tagdir="/WEB-INF/tags/mytags" %>
              >
              > When I browser to my JSP, I get:
              >
              > Parsing of JSP File '<...>.jsp' failed:
              > ----------------------------------------
              > <...>.jsp(5): No URI for taglib
              > probably occurred due to an error in <...>.jsp line 5:
              > <%@ taglib prefix="h" tagdir="/WEB-INF/tags/mytags" %>
              >
              > My setup is pretty much straight out of the textbook, so what's wrong? Are tag files, and therefore this form of the taglib directive, not supported by WebLogic?
              >
              > Andrew
              81 doesn't support/implement the JSP 2.0 spec (which adds tag files)
              -- Nagesh
              

  • 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

Maybe you are looking for

  • Transaction launcher in CRM Web IC

    Hi, We are trying to use transaction launcher in the WEB IC to call an R3 transaction. We have successfully managed in DEV and now we want to move across to QA for transport. But the handler class and config is done for DEV so far. In order to work t

  • Idoc didn't arrive to XI

    Hi, I am a newbie to XI. I am trying to Send IDoc from R3 to XI. I have configured all necessary steps like rfc dest etc. When I am testing it using we19, it's not giving any error ...but IDoc didn't arrive to XI. Pls help Christy

  • Backup and Restore - WSUS

    Friends, I will format a Windows Server 2008 server running WSUS 3.0, then I will install Windows Server 2008 again and will install WSUS 3.0 again, do not want to lose WSUS settings and folders updates. If I follow the procedure to do the full backu

  • How to use Nikon D810 Photoshop Raw?

    Hi, I downloaded the update and moved it to the right location, but I still can't open RAW D810 files.. Not sure what else I can do..?

  • I can't open some photoshop files it says "The command "Set" is not currently available."

    What does this mean and how can I fix it? A corworker will make a photoshop file (Poster for example) and when i try to open it on my computer it wont open and says "The command "Set" is not currently available." What does this mean and how can I fix