JDev903 custom tag (bug?)-JDev Team please respond

JDeveloper is continually hanging while working with custom tags. For example, I will select Add Tag and nothing will happen and JDeveloper stops responding. If I go to End Task, I am told that JDeveloper is waiting for a response, but by then JDev is just a gray window. This behavior becomes more frequent after a change, i.e. change a tag name, try to delete a tag or library. In fact, I have had to completely start over in the creation of a tag library when I notice a necessary change within a tag due to the hanging and disappearance of menu items. Please see previous post, Re: 10.1.3.1 xpath-functions.xml
Please look into this issue. Our team feels that custom tags could be a valuable tool, but we are RAPID and we don't have time to constantly shut-down and restart our IDE.
Thanks,
Deb

David,
One thing to try would be JPublisher from the command line. If your problem persists with JPublisher from the command line, then the bug needs to be filed against that product. If not, then the problem is with us.
In either case, please post your code so we can try to reproduce the error.
The JPublisher command line facility is documented in the JPublisher User's Guide, available from the Oracle8i 8.1.6 documentation pages on OTN.
Thanks!

Similar Messages

  • OTN TEAM Please respond-matrix reports row limitation(very urgent)

    Hi ,
    using with matrix reports for delimited reports what's the maxmimum row limitation for text and excel?
    thanks in advance.
    please advice asap.
    thx in advance.

    See response in OTN TEAM Please respond-matrix reports row limitation(very urgent)

  • JDev 9.0.3 - Working with Custom Tags Hangs JDev Repeatedly!

    All,
    I recently upgraded from JDev 9.0.2 to 9.0.3 because of the new support for JSP 1.2 and Servlets 2.3. As you probably know, JSP 1.2 includes additional support for custom tag development. Unfortunately, JDev 9.0.3 keeps hanging repeatedly when trying to work with a custom tag library. I have seen a couple other postings on this forum that indicate the fact that I'm not alone in this experience.
    It seems that I am able to open a taglib and make a modification, and then save the taglib without a problem. However, if I attempt to make any further changes to that taglib again without restarting JDev, it just hangs JDev and I have to kill the JDev process and restart JDev. This has made JDev extremely frustrating and unusable developing custom tags. I do not have this problem with JDev 9.0.2, but that version does not support the additionally tag library functionality of JSP 1.2, which is supported by 9.0.3.
    Is this a bug with 9.0.3? Does anyone know of a workaround I can try?
    Thanks in advance,
    Kyle Corley

    Hi,
    Logged as bug 2725712.
    Thanks,
    Brian
    JDev Team

  • JDBC/SQLJ Team - Please respond - invalid column type error

    Hi, I have posted several messages regarding problems using SQL/J to call out a stored packaged function that returns a ref cursor, but haven't gotten one response. I have yet a new problem with it. JDBC team, please acknowledge!
    I change the way I obtain a connection to the database from using the Oracle.connect along with a properties file, to now using a DataSource connection pool. As a result, I am constantly getting a SQLException: Invalid column type error. If I change the call to the stored function to a query in the SQLJ code, it's fine. What's going on??
    A previous message I wrote stated I was constantly getting a "closed statement" error when I tried to call the next method of the iterator. I corrected this by removing the finally clause in the generated JDBC code that released the execution context.
    Again, the environment is JDK1.2.2, SQLJ 8.1.6 SDK, JDBC 8.1.6 thin, all on NT.
    Thanks
    David

    I am getting the same error message - Invalid Column Type. I am creating a Default Context by calling Oracle.getConnection(connection) passing in an instance of my own connection class that basically delegates to the OracleConnection. We wrapped the Connection so that we could trap and recover from lost database connections.
    My environment is Solaris 2.6, Oracle 7.3.4 with Sqlj 8.0.5.
    Thanks!
    [email protected]
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by David Christopher ([email protected]):
    Hi, I have posted several messages regarding problems using SQL/J to call out a stored packaged function that returns a ref cursor, but haven't gotten one response. I have yet a new problem with it. JDBC team, please acknowledge!
    I change the way I obtain a connection to the database from using the Oracle.connect along with a properties file, to now using a DataSource connection pool. As a result, I am constantly getting a SQLException: Invalid column type error. If I change the call to the stored function to a query in the SQLJ code, it's fine. What's going on??
    A previous message I wrote stated I was constantly getting a "closed statement" error when I tried to call the next method of the iterator. I corrected this by removing the finally clause in the generated JDBC code that released the execution context.
    Again, the environment is JDK1.2.2, SQLJ 8.1.6 SDK, JDBC 8.1.6 thin, all on NT.
    Thanks
    David<HR></BLOCKQUOTE>
    null

  • Simple questions for Oracle XML Team - please respond

    1) Which class/methods should be used to obtain the content
    model (mixed-content or element-content) associated with each
    element declaration in a DTD? In other words, how do I know if a
    particular element can have child elements and/or data in a
    valid XML document, the frequency each child element can appear
    under a particular element, and whether a sequence list or a
    choice list was used to declare the element?
    2) Do you have any bug reported so far for this part of Oracle's
    parser made available in the last released?
    Thanks,
    Renilton
    null

    Renilton Oliveira (guest) wrote:
    : 1) Which class/methods should be used to obtain the content
    : model (mixed-content or element-content) associated with each
    : element declaration in a DTD? In other words, how do I know if
    a
    : particular element can have child elements and/or data in a
    : valid XML document, the frequency each child element can
    appear
    : under a particular element, and whether a sequence list or a
    : choice list was used to declare the element?
    Look at oracle.xml.parser.v2.ElementDecl class and then
    getContentType and getContentElements methods.
    : 2) Do you have any bug reported so far for this part of
    Oracle's
    : parser made available in the last released?
    : Thanks,
    : Renilton
    Each release contains a list of bugs fixed. Is there a
    particular bug you are interested in?
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    null

  • REPOST(JDEV TEAM) Kindly respond!!!

    SUBJECT: Strange Behavior in TOMCAT although it runs OK in Jdeveloper.
    This is actually a repost and I am hoping that someone would answer:
    I am encountering some strange behavior when I deploy my application to TOMCAT.
    If I run in JDeveloper (webtogo) everything works fine but the behavior changes completely in TOMCAT.
    Let me try and explain my situation here.
    I have 3 jsps :
    1.iss_listApps.jsp which is used to browse all the available records, allows the user to navigate to a specific record and edit or delete.
    2. app_edit.jsp which is used to edit/delete a specific row passed from iss_listApps.jsp.
    3. app_edit_post.jsp which is used to save the changes.
    Note that I use an anchor ">Edit</a> to pass a row from the browser page to the edit page.
    For your convenience I have listed all the source files below.
    Now here are my problems:
    Problem 1. If I run it in JDeveloper, I am able to browse the records and go to a specific record to edit and delete by clicking on the "Edit" anchor provided in the browser page.
    I can also go to the edit page and backout out of it by not saving the changes. In that case I am back in my browser page and I can again click on the "Edit" anchor to go to a specific record.
    However if I am in TOMCAT, I am able to browse and go to a specific record so long as I make changes to it and save it. If for any reason, I do not save a record and I go back to my browser
    page then any subsequent calls to to edit a specific record goes to the same OLD RECORD that I did not save.
    I fail to understand why? Maybe the "webtogo" server automatically refreshes when I click on the "back tab". If so, how do I automatically refresh a jsp page when I click on the "back tab" in TOMCAT.
    I would sincerely appreciate any help on this.
    Problem 2. I have an include jsp tag in my browser page. defined as
    <jsp:include page="Message.jsp" flush="true">
    <jsp:param name="colspan" value="2"/>
    </jsp:include>.
    This section of the code is currently commented out because if I uncomment it then it runs ok in JDeveloper but in Tomcat it causes the browser page to always navigate to the first record if I want to edit a specific record.
    I would sincerely appreciate any answer on this.
    Here are my source files:
    1. iss_ListApps.jsp (browser page). Please see how the anchor is formed. It causes no problems
    in JDeveloper.
    <%@ page contentType="text/html;charset=WINDOWS-1252"%>
    <HTML>
    <base target="contentsframe">
    <head>
    </head>
    <body>
    <%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
    <jbo:ApplicationModule id="NewBC4J.NewBC4JModule" configname="NewBC4J.NewBC4JModule.NewBC4JModuleLocal" username="issue" password="issue"/>
    <jbo:RollBack appid="NewBC4J.NewBC4JModule" />
    <jbo:DataSource id="app_vo" appid="NewBC4J.NewBC4JModule" viewobject="ApplicationsView" ></jbo:DataSource>
    <jbo:RefreshDataSource datasource="app_vo" />
    <table width="100%" bgcolor="tan" border="0" align="center" cellpadding="3" cellspacing="0">
    <%--
    <jsp:include page="Message.jsp" flush="true">
    <jsp:param name="colspan" value="2"/>
    </jsp:include> --%>
    <form name="list" target="body" action="app_edit.jsp" method="post">
    <tr><th colspan="4">List of Valid Applications</th></tr>
    <tr>
    <th> </th>
    <th align="left"><u>Code</u></th>
    <th align="left"><u>Name</u></th>
    <th align="left"><u>Description</u></th>
    </tr>
    <tr>
    <jbo:RowsetIterate datasource="app_vo">
    <td>
    <a href="app_edit.jsp?RowKeyValue=<jbo:ShowValue datasource="app_vo" dataitem="RowKey"/>">Edit</a>
    </td>
    <td>
    <jbo:ShowValue datasource="app_vo" dataitem="Code" />
    </td>
    <td>
    <jbo:ShowValue dat asource="app_vo" dataitem="Name" />
    </td>
    <td>
    <jbo:ShowValue datasource="app_vo" dataitem="AppDesc" />
    </td>
    </tr>
    </jbo:RowsetIterate>
    </form>
    </table>
    <table width="100%" bgcolor="skyblue" align="center" cellpadding="10" cellspacing="0" >
    <tr>
    <form NAME="AddForm" action="app_add.jsp">
    <td>
    <input type = "submit" name="submit" value="Add" align="center" >
    </td>
    </form>
    </tr>
    </table>
    </body>
    <jbo:ReleasePageResources releasemode="Stateful" appid="NewBC4J.NewBC4JModule" />
    </html>
    2. Second Source File: app_edit.jsp (Allows editing of a record)
    <%@ page contentType="text/html;charset=WINDOWS-1252"%>
    <HTML>
    <base target="contentsframe">
    <HEAD>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=WINDOWS-1252">
    <META NAME="GENERATOR" CONTENT="Oracle JDeveloper">
    <TITLE>
    </TITLE>
    </HEAD>
    <BODY>
    <%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
    <jbo:ApplicationModule id="NewBC4J.NewBC4JModule" configname="NewBC4J.NewBC4JModule.NewBC4JModuleLocal" />
    <jbo:DataSource id="app_vo" appid="NewBC4J.NewBC4JModule" viewobject="ApplicationsView" />
    <jbo:Row id="myrow" datasource="app_vo" rowkeyparam="RowKeyValue" action="Find">
    <jbo:SetAttribute dataitem="*"/>
    </jbo:Row>
    <table width="100%" bgcolor="skyblue" border="0" align="center">
    <tr>
    <td>
    <table width="100%" bgcolor="tan" border="0" align="center" cellpadding="3" cellspacing="0">
    <form NAME="iForm" action="app_edit_post.jsp">
    <tr>
    <th colspan="2">
    "Edit/Delete Applications"
    </th>
    </tr>
    <jsp:include page="Message.jsp" flush="true">
    <jsp:param name="colspan" value="2"/>
    </jsp:include>
    <tr>
    <td align="right"><b><font color="red"> Name:</font></b></td>
    <td> <jbo:InputText datasource="app_vo" dataitem="Name" cols="50" />
    </td>
    </tr>
    <tr>
    <td align="Right"><b><font color="red"> Description: </font></b></td>
    <td> <jbo:InputTextArea datasource="app_vo" dataitem="AppDesc" cols="50" rows="5" />
    </td>
    </tr>
    </table>
    <!-- Create a table for the save and Delete Buttons -->
    <table width="100%" bgcolor="skyblue" align="center" cellpadding="10" cellspacing="0" >
    <tr>
    <input name="RowKeyValue" type="hidden" value="<jbo:ShowValue datasource="app_vo" dataitem="RowKey"/>" />
    <td>
    <input type = "submit" name="submit" value="Save">
    </td>
    </form>
    <form NAME="DelForm" action="app_del_post.jsp">
    <input name="RowKeyVal" type="hidden" value="<jbo:ShowValue datasource="app_vo" dataitem="RowKey"/>" />
    <td>
    <input type = "submit" name="submit" value="Delete">
    </td>
    </form>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    </BODY>
    </HTML>
    <jbo:ReleasePageResources releasemode="Stateful" />
    3. Third source file app_edit_post.jsp (ALlows saving the changes made to a specific record)
    <%@ page contentType="text/html;charset=ISO-8859-1"%>
    <HTML>
    <BODY>
    <%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
    <jbo:ApplicationModule id="NewBC4J.NewBC4JModule" configname="NewBC4J.NewBC4JModule.NewBC4JModuleLocal" />
    <jbo:DataSource id="app_vo" appid="NewBC4J.NewBC4JModule" viewobject="ApplicationsView" ></jbo:DataSource>
    <%
    try
    %>
    <jbo:Row id="row3" datasource="app_vo" rowkeyparam="RowKeyValue" action="Update" >
    <jbo:SetAttribute dataitem="*" />
    </jbo:Row>
    <jbo:Commit appid="NewBC4J.NewBC4JModule" />
    <p><font face="Arial, Helvetica, sans-serif"><b><font color="006699">Application Successfully Updated</b></font></font> </p&g t;
    <%
    catch(Exception exc)
    out.println("<pre>");
    exc.printStackTrace(new java.io.PrintWriter(out));
    out.println("</pre>");
    %>
    <br>
    <br>
    <form action="app_ListApps.jsp" method="post"><input type="submit" value="Click to Continue"></form
    <jbo:ReleasePageResources releasemode="Stateful" />
    </BODY>
    </HTML>
    null

    I am using Internet Explorer 5.5.
    When I run the application using JDeveloper/Tomcat, it uses the same browser ie IE 5.5.
    I am not sure what you mean by "cache set" in the browser. Where do you find that information for a browser. I looked in "internet options","page setup" etc but couldn't find anything which talks about "cache set".
    Thanks in Advance!
    Regards
    Ifti

  • JPublisher problem - SQLJ Team please respond

    I'm trying to use JPublisher to generate code for a PL/SQL package that contains functions with a REF CURSOR type return value. The REF CURSOR is declared in the package spec as a TYPE, NOT strongly typed.
    (defined as:
    TYPE qry_results IS REF CURSOR;
    For some reason, JPublisher will generated classes for my object types used in the package, but it will not generated the java class for the package itself.
    If I change the type of these functions, they generate.
    The only mention of REF CURSORs I see in the JPub docs is no support for STRONGLY TYPED ones. Mine aren't, yet they don't get generated.
    Is this supposed to work?? Or does JPub have NO support for REF CURSOR return values in a packaged function?
    Thanks
    David
    null

    I retried this using the command line, as well as JDeveloper 3.1.1.2. It does not work.
    Here are the specs:
    Windows 2000
    JDK 1.2.2
    Oracle 8.1.6
    JDBC & SQLJ 8.1.6 (comes with Oracle 8.1.6)
    The package looks like this:
    CREATE OR REPLACE PACKAGE qry IS
    TYPE qry_results IS REF CURSOR;
    FUNCTION get_all_appliances RETURN qry_results;
    END qry;
    Body looks like this:
    CREATE OR REPLACE PACKAGE BODY qry IS
    FUNCTION get_all_appliances RETURN qry_results IS
    results qry_results;
    BEGIN
    OPEN results FOR
    SELECT app_id, usr_app_name
    FROM appliances
    ORDER BY usr_app_name;
    RETURN results;
    END get_all_appliances;
    END qry;
    JPublisher does its thing, but it DOES NOT produce any output. It doesn't give any errors or anything, but it doesn't give any output files either.
    I figure it must not be able to construct a SQL/J iterator? I don't know what's going on.
    Please let me know if this is supposed to work or not? Is there anything in my code that should be changed to get it to work? Do I need to strongly type the REF CURSOR? The Jpub docs say it doesn't support strongly typed REF CURSORs.
    Please advise, thanks in advance! Also please define whether this is unsupported or a bug.
    David
    null

  • SetCustomDatum performance SQLJ team please respond

    I am facing performance overhead when using Jpub generated
    classes for the object types.
    I am using 817 jdbc and jpub but my database is 816. I have seen
    that following statements each take around 2-3 seconds to
    execute. Is there any communication between driver and database
    to resolve the object type ?
    I have found some posting regarding this but no solution. has
    anyone here faced this problem ?
    Please help.
    cCallableStatement =
    (OracleCallableStatement)m_cConnection.prepareCall("{call
    list_unsync_appts_array(?,?,?,?,?,?,?,?)}");
    ((OracleCallableStatement)cCallableStatement).setCustomDatum
    (1,ct_number_arr);
    cCallableStatement.registerOutParameter
    (2,OracleTypes.ARRAY,"T_EVENT_SUMMARY_ARR");
    cCallableStatement.registerOutParameter
    (3,OracleTypes.ARRAY,"T_EVENT_DETAIL_ARR");
    cCallableStatement.registerOutParameter
    (4,OracleTypes.ARRAY,"T_EVENT_SUMMARY_ARR");
    cCallableStatement.registerOutParameter
    (5,OracleTypes.ARRAY,"T_EVENT_DETAIL_ARR");
    cCallableStatement.registerOutParameter
    (6,OracleTypes.ARRAY,"T_EVENT_SUMMARY_ARR");
    cCallableStatement.registerOutParameter
    (7,OracleTypes.ARRAY,"T_ATTENDEE_EMAIL_ARR");
    cCallableStatement.registerOutParameter
    (8,OracleTypes.ARRAY,"T_ATTENDEE_EMAIL_ARR");
    cCallableStatement.execute();

    I retried this using the command line, as well as JDeveloper 3.1.1.2. It does not work.
    Here are the specs:
    Windows 2000
    JDK 1.2.2
    Oracle 8.1.6
    JDBC & SQLJ 8.1.6 (comes with Oracle 8.1.6)
    The package looks like this:
    CREATE OR REPLACE PACKAGE qry IS
    TYPE qry_results IS REF CURSOR;
    FUNCTION get_all_appliances RETURN qry_results;
    END qry;
    Body looks like this:
    CREATE OR REPLACE PACKAGE BODY qry IS
    FUNCTION get_all_appliances RETURN qry_results IS
    results qry_results;
    BEGIN
    OPEN results FOR
    SELECT app_id, usr_app_name
    FROM appliances
    ORDER BY usr_app_name;
    RETURN results;
    END get_all_appliances;
    END qry;
    JPublisher does its thing, but it DOES NOT produce any output. It doesn't give any errors or anything, but it doesn't give any output files either.
    I figure it must not be able to construct a SQL/J iterator? I don't know what's going on.
    Please let me know if this is supposed to work or not? Is there anything in my code that should be changed to get it to work? Do I need to strongly type the REF CURSOR? The Jpub docs say it doesn't support strongly typed REF CURSORs.
    Please advise, thanks in advance! Also please define whether this is unsupported or a bug.
    David
    null

  • Need Help from JDev Team

    Hi,
    I posted a question here early yesterday and I haven't received any kind of reply yet!!! I understand if someone from this forum cannot help me... but I need the Jdev team to respond to me ASAP!!!!
    I'm using JDev 3.2, trying to use the Source Control feature to connect to Repository 6i. I can connect without any trouble and I can see the work area and navigate through the folders (that were created by the owner), however when I try to click on any of the 'files' branches of the folder/file tree - I get this error.
    ckron61.exe has generated errors and will be closed by Windows. You will need to restart the program. An error log is being created.
    There are 3 of us who are trying to connect, one can do it successfully... two of us cannot. I also tried to connect and access those files on another machine and it worked as well.
    All of our systems have been imaged the exact same way.
    What could the problem be...
    I appreciate your help.... thanks.

    Hi Jolene,
    I would recommend upgrading to the latest release of Repository, since it contains many bug fixes. I'm afraid I'm not sure what is causing your specific problem.
    It's also worth making sure your OS is patched up to the latest service pack.
    Oracle9i JDeveloper's support for Oracle SCM (aka Repository) is far more comprehensive than 3.2, so this is a good upgrade to make as well :)
    About UIX, the best thing is probably to post a new message to the 9i JDeveloper forum. It's not an area I'm overly familiar with, but I'm sure someone else on that forum will be able to help you out.
    Thanks,
    Brian
    JDeveloper Team

  • TO JDEV TEAM: JBO-28020/JBO-28006 ERRORS

    Hi,
    I deploy a BC4J application (made with Jdev official) on an OC4J container 9.0.2. the application use a 9i data base.
    frequently, when we try to insert or update rows in viewObject, we have the following error :
    Application Error
    Return
    Error Message: JBO-28020: Erreur de passivation pour l'objet collection GrandeurView, ID de noeud 45
    Error Message: JBO-28006: Criation impossible de la table de persistance PS_Bdcorrel_BC4JModule_1
    oracle.jbo.PCollException: JBO-28020: Erreur de passivation pour l'objet collection GrandeurView, ID de noeud 45
    <>
    ## Detail 0 ##
    oracle.jbo.PCollException: JBO-28006: Criation impossible de la table de persistance PS_Bdcorrel_BC4JModule_1
    <>
    ## Detail 0 ##
    java.sql.SQLException: ORA-00955: Ce nom d'objet existe dij`
    <>
    This is a pressing issue, and I'd need an answer asap. Could anyone from the JDEV team please help me on this?
    Thanks a lot!

    Stephane:
    Could you send me the entire stack trace?
    It would also help if you can translate some of the "important" exception messages into English for me (sorry).
    Thanks.
    Sung

  • Otn please respond

    Using oracle8i with webdb how can I get oracle's servlet based survey example (posted on their web site) to work?

    See response in OTN TEAM Please respond-matrix reports row limitation(very urgent)

  • Using a custom tag with a 2.3 servlet descriptor BUG?

    Hi,
    I just developed a Custom Tag and I'd like to use in my jsps.
    If I add the jsp in my JDev project with the custom tag when I try to build the project I got this error:
    Error(11): oracle.xml.parser.v2.XMLParseException: Invalid element 'listener' in content of 'web-app', expected elements '[context-param, servlet, servlet-mapping, session-config, mime-mapping, welcome-file-list, error-page, taglib, resource-ref, security-constraint, login-config, security-role, env-entry, ejb-ref]'.
    It seems like when the jsp parser encounters the line with taglib it tries to parse the web.xml against a 2.2 version of the dtd. My web.xml begins with the correct dtd version (2.3). Can anyone tell me if this is a bug and eventually tell me how to solve it?
    thanks,
    Giovanni

    I repost this issue again, now with a simple test case.
    If I wrote a simple custom tag:
    import java.io.IOException;
    import javax.servlet.jsp.tagext.TagSupport;
    public class MyCustomTag extends TagSupport {
    public int doStartTag() {
    try {
    pageContext.getOut().print("FOO");
    } catch (IOException ioe) {
    pageContext.getServletContext().log(ioe.getMessage(),ioe);
    return(SKIP_BODY);
    with the associated tld:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <taglib>
    <tlibversion>1.0</tlibversion>
    <jspversion>1.2</jspversion>
    <shortname>try</shortname>
    <uri>try</uri>
    <info>A short description...</info>
    <tag>
    <name>mytag</name>
    <tagclass>MyCustomTag</tagclass>
    <bodycontent>EMPTY</bodycontent>
    </tag>
    </taglib>
    and a jsp using the custom tag:
    <%@ page contentType="text/html;charset=windows-1252"%>
    <HTML>
    <HEAD>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
    <TITLE>
    Hello World
    </TITLE>
    </HEAD>
    <BODY>
    <H2>
    The current time is:
    </H2>
    <P>
    <% out.println((new java.util.Date()).toString()); %>
    <%@ taglib uri="try.tld" prefix="try" %>
    <try:mytag />
    </P>
    </BODY>
    </HTML>
    all runs fine if I have a web.xml with the dtd version 2.2
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
    <web-app>
    <description>Empty web.xml file for Web Application</description>
    <session-config>
    <session-timeout>30</session-timeout>
    </session-config>
    <mime-mapping>
    <extension>html</extension>
    <mime-type>text/html</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>txt</extension>
    <mime-type>text/plain</mime-type>
    </mime-mapping>
    <welcome-file-list>
    <welcome-file>index.jsp</welcome-file>
    <welcome-file>index.html</welcome-file>
    </welcome-file-list>
    </web-app>
    but if I use the version 2.3 because I want filters,context listeners and so on:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/j2ee/dtds/web-app_2_3.dtd">
    <web-app>
    <description>Empty web.xml file for Web Application</description>
    <filter>
    <filter-name>FilterRedirector</filter-name>
    <filter-class>org.apache.cactus.server.FilterTestRedirector</filter-class>
    </filter>
    <!-- Filter Redirector URL mapping -->
    <filter-mapping>
    <filter-name>FilterRedirector</filter-name>
    <url-pattern>/FilterRedirector/</url-pattern>
    </filter-mapping>
    <session-config>
    <session-timeout>30</session-timeout>
    </session-config>
    <mime-mapping>
    <extension>html</extension>
    <mime-type>text/html</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>txt</extension>
    <mime-type>text/plain</mime-type>
    </mime-mapping>
    <welcome-file-list>
    <welcome-file>index.jsp</welcome-file>
    <welcome-file>index.html</welcome-file>
    </welcome-file-list>
    </web-app>
    I get the error I report in my last post. (the jsp doesn't compile) If I remove the custom tag from my jsp all works fine (filters, listeners,etc). In my project settings I use the 2.3 version of servlet.jar instead of the ServletRuntime that comes with JDeveloper.
    Can anyone tell me how to resolve this issue (Using simple custom tag with a web application using the 2.3 servlet specs)?
    Thanks in advance,
    Giovanni
    If I remove the filter secion all

  • Jsp 2.0 and jdev 10g production (custom tags)

    there are some examples at
    http://otn.oracle.com/sample_code/tech/java/jsps/index.html
    I have certian questions it would be great if some one would clear these for me..
    In JSP 1.2 if we wanted to write the custom tag's we had tag classes that extend TagSupport or TagBodySupport and the doStart() and doEnd() tag with the evaluate body. I could spit out the complete html text on an encounter of a tag! but in the JSP 2.0 a doTag() seems to take care of the intracies! how??
    Now with jsp 2.0 I want to do the same... say some thing like this ....
    <tg:myTag list="${somelist}"></tg:myTag> and say in my tag handler class I know what to do with this list. May be I will create complete html code and will use jspWriter to write out the html inbetween these tags!!
    I have downloaded the eStore example but this class
    javax.servlet.jsp.tagext.SimpleTagSupport; is not imported. So I am not able to look at the SimpleTagSupport class.
    If I am trying to run the example in jdev 10g production should I have to specify that I am using jsp 2.0 so that jdev knows not to use jsp 1.2? if so how can I do this.
    Does all the examples provided use the OC4J standalone? Can I use the embedded oc4J instead?
    regards.

    After reading a bit more now I know how the tags work.
    However from the example I see (eStore) an array called by name "products" is created and set on the jspContext. If I already have the list and want to pass on the list which is in a bean or a session or a request can I provide it this way.
    <tag:myTag var=${bean.list}>
    or
    <tag:myTag var=${session.list}>
    or
    <tag:myTag var=${request.list}>in the .tld file I should specify the attribute var and whether it should be runtime evaluable.
    and in the TagClass
    private Collection var;
    private String listName;
    public void setVar(Colloection aList) {
      this.var = aList;
    public Collection getVar() {
      return var;
    public void doTag( ) throws JspException{
      // do i always need to this next line ------
      getJspContext( ).setAttribute(listName, getVar());
    }so that in my .tag file I can use some thing like this
    <c:forEach var="list" items="${item}">
      <td>${item.subObject.name}</td>
      <td>${item.subObject.value}</td>
    </c:forEach>And finally... as and when a tag is encountered the .tag file contents corresponding to that tag is called to get the html text and all that text is printed out in the jsp page right (without the jspWriter "out"). How does the browser know when to stop? like doEndTag() function? are these functions implicitly called?
    regards.

  • Does Inprise 4.1 support Custom Tag? Please Help!

    Hi there
    Does Inprise 4.1 support Custom Tag? If so, could you please tell me where to place the .tld file and the classese or just tell me where to find information about that.
    Thank you very much!
    From
    Edmund

    Please help!! I still can't work it out...

  • Bug in Weblogic 6.0 sp2 Custom Tag implimentation ?

              I 've got this wierd weblogic error in my custom tags:
              javax.servlet.jsp.JspTagException: Since tag class emc.blackbox.taglibs.validation.ErrorTag
              implements BodyTag, it cannot return Tag.EVAL_BODY_INCLUDE
              though my class is (And it doesnt implemnt BodyTag) :
              public class ErrorTag extends BodyTagSupport {
              private JspWriter writer;
              private String preHtml;
              private String postHtml;
              public ErrorTag() { }
              public int doStartTag() throws JspException {
              try {
              writer = pageContext.getOut();
              ValidationManager vm = (ValidationManager) pageContext.findAttribute("validm");
              if (vm.getErrors().length>0){
                   writer.println(preHtml);
                   String [] errors = vm.getErrors();
                   for (int i = 0; i < errors.length; i++) {
                        writer.println(errors[i] );
                   writer.println(postHtml);
                   vm.clearErrors();
                   vm.clear();
              catch (Exception ex) {
              return EVAL_BODY_INCLUDE;
              public int doEndTag() throws JspException {
              return EVAL_PAGE;
              public String getPreHtml(){return preHtml;}
              public void setPreHtml(String preHtml){this.preHtml = preHtml;}
              public String getPostHtml(){return postHtml;}
              public void setPostHtml(String postHtml){this.postHtml = postHtml;}
              Searching on the net I found this :
              http://www.mail-archive.com/[email protected]/msg00888.html
              Does anybody know any work around this ?
              I would appreciate any hints / suggestions ..
              Thanks,
              Amit
              

    Amit,
              I was getting a similar error message! In the jsp 1.2 spec,
              EVAL_BODY_INCLUDE should be usable with BodyTagSupport (as long as
              your .tld file doesn't contain <bodycontent>empty</bodycontent> for
              ErrorTag custom tag) .
              Since it apparently isn't working like it should, HERE IS A WORK
              AROUND that I found (with some Divine inspiration). Change this line:
              public class ErrorTag extends BodyTagSupport
              to
              public class ErrorTag extends TagSupport
              Hope it works for you too!! I'll look into this matter further to see
              if I can find some reason for the error.
              Paul
              "Amit Khare" <[email protected]> wrote in message news:<[email protected]>...
              > I 've got this wierd weblogic error in my custom tags:
              >
              > javax.servlet.jsp.JspTagException: Since tag class emc.blackbox.taglibs.validation.ErrorTag
              > implements BodyTag, it cannot return Tag.EVAL_BODY_INCLUDE
              >
              > though my class is (And it doesnt implemnt BodyTag) :
              >
              > public class ErrorTag extends BodyTagSupport {
              >
              > private JspWriter writer;
              > private String preHtml;
              > private String postHtml;
              >
              > public ErrorTag() { }
              >
              > public int doStartTag() throws JspException {
              >
              > try {
              > writer = pageContext.getOut();
              > ValidationManager vm = (ValidationManager) pageContext.findAttribute("validm");
              > if (vm.getErrors().length>0){
              >      writer.println(preHtml);
              >      String [] errors = vm.getErrors();
              >      for (int i = 0; i < errors.length; i++) {
              >           writer.println(errors[i] );
              >      }
              >      writer.println(postHtml);
              > }
              >      vm.clearErrors();
              >      vm.clear();
              > }
              > catch (Exception ex) {
              >
              > }
              > return EVAL_BODY_INCLUDE;
              > }
              > public int doEndTag() throws JspException {
              > return EVAL_PAGE;
              > }
              > public String getPreHtml(){return preHtml;}
              > public void setPreHtml(String preHtml){this.preHtml = preHtml;}
              >
              > public String getPostHtml(){return postHtml;}
              > public void setPostHtml(String postHtml){this.postHtml = postHtml;}
              >
              > Searching on the net I found this :
              > http://www.mail-archive.com/[email protected]/msg00888.html
              >
              > Does anybody know any work around this ?
              > I would appreciate any hints / suggestions ..
              >
              > Thanks,
              > Amit
              

Maybe you are looking for

  • Installing CS6 on Windows 7 64bit?

    Hi all, I just wanted to confirm with an Adobe staff member that I should have no problems with installing CS6 Design & Web Premium on Windows 7 64bit OS (HP Core i5). We are having our computers upgraded in the office from Windows XP and our tech su

  • I'm trying to pause import to one step dvd so I can change 60 min tapes.

    Hi all I'm trying to archive mini dv to dvd as easily as possible, my tapes are 62 min long and if I put 2 tapes into imovie I already exceed buning limit. One step dvd only lets me import one tape and then decides to complete the task of burning. Sh

  • Block payment if quality inspection failed

    Dear Experts, My company using Quality Managemnt module. So each material go thru quality inspection once GR done. Some of the material may falls under out of spec & it may reject from usage. Thus we wanted to block for payment whenever there is a re

  • Displaying more than One table in a dataTable

    have 3 types of Document. Each type of Document is storing into different table also with different column. For displaying then individually i have created separate Beans for them n working fine. Now i want to show all document in one dataTable. I ha

  • [svn] 4875: Adding support for multiple @productversion tags

    Revision: 4875 Author: [email protected] Date: 2009-02-06 08:31:48 -0800 (Fri, 06 Feb 2009) Log Message: Adding support for multiple @productversion tags QE Notes: None. Doc Notes: None Bugs: SDK-19104 tests: checkintests Ticket Links: http://bugs.ad