JSP Tags, EL and toString() method

Hi,
I want to pass a Java object to a custom tag via EL, but am finding that since the class has a toString() method, EL automatically converts the class to a string using the toString method. Consequently, I get an error because the string cannot be cast back to the parent object in the tag handler class.
I played around with a dummy class and found that if the toString() method wasn't defined, EL would pass the object as is without converting to a string.
Is there some reason for this behaviour and is there some way I can get around this without having to remove the toString() method ? The object I am trying to process is from an external library, so I can't modify it.
Thanks for any tips on this.
Paul Samuel

My initial guess was that you hadn't defined the type of the attribute, and it was defaulting to String as a result. Now that I've seen the tld file thats obviously not the cause.
Next guess: EL evaluation is disabled, and it is interpreting ${model.results} as a string, rather than evaluating it.
1 - What happens if you just put ${1 + 1} onto a JSP page. Does it print ${1 + 1} or evaluate it as 2?
2 - What server are you using? What version? Which J2EE spec does it support?
You can use the following JSP snippet to confirm this info:
<h2> Server Info</h2>
Server info = <%= application.getServerInfo() %> <br>
Servlet engine version = <%=  application.getMajorVersion() %>.<%= application.getMinorVersion() %><br>
Java version = <%= System.getProperty("java.vm.version") %><br>
Session id = <%= session.getId() %><br>3 - What version is your web.xml declared as? 2.3 or 2.4?
4- If you have a Servlet2.4/JSP2.0 container (eg Tomcat 5), try putting the following on your page and see if it works
<%@ page isELIgnored="false" %>
http://forum.java.sun.com/thread.jspa?threadID=629437&tstart=0
Cheers,
evnafets

Similar Messages

  • JSP tag addition and subtraction possible?

    Hi, I need urgent help. I am not a jsp guru pretty much all the java work I have done for the past 6 years has been backend stuff. I am now having to maintain a JSP/Struts/Spring/Hibernate project which I am not familar with (any of the technologies!!!!).
    Most of the fixes required for the project have been small issues (adjusting a query here and there - changing a heading on a jsp page etc). I have a problem where a value being displayed in a column is incorrect.
    Consider the problem where you have an available amount, a used amount, and a total amount. Currently it is showing the used amount and the total amount when it should be displaying the available amount and total amount.
    Is it possible to do something like available amount = total - used?
              <c:forEach var="stat" items="${locationStats}">
              <tr>
                   <td class="label"><c:out value="${stat.statCode.name}" /></td>
                   <td class="value"><c:out value="${stat.amount}" /></td>
                   <td class="value"><c:out value="${stat.total}" /></td>                         
              </tr>
              </c:forEach>so what i need would be ${stat.total} - ${stat.amount}. Is this possible?
    They are both int datatypes.
              <c:forEach var="stat" items="${locationStats}">
              <tr>
                   <td class="label"><c:out value="${stat.statCode.name}" /></td>
                   <td class="value"><c:out value="${stat.total} - ${stat.amount}" /></td>
                   <td class="value"><c:out value="${stat.total}" /></td>                         
              </tr>
              </c:forEach>Here is the kicker I am not actually able to test this code....so if someone can tell me whether this will work I can send it off to our QA department.

    c) you need <td class="value"><c:out
    value="${stat.total  - stat.amount}" /></td>
    If value of stat.total = 100 and stat.amount = 90, it would display the difference 10 (which is what the OP wants)
    as opposed to "${stat.total} - ${stat.amount}" in the OP's post which would display
    100-90.
    Good catch, pgeuns :)
    Note in my post, I had ${j-i} as opossed to ${j} - $ which was exactly the point Pgeuns made too.
    cheers,
    ram.

  • Jsp tags  dragdrop and activemenus in the portal

    what does these tags do?
    I could not find any documentation for these tags?

    Here is some information about the DragDrop tags.
    These tags allow you to easily add drag and drop functionality to a portal UI. The library is made up of 3 tags.
    1. dragDropScript - This tag is used to include the necessary DragDrop Javascript libraries into the page. It must be included on the page before any other DragDrop tags are used.
    2. draggableResource - This tag identifies a draggable resource on the page. It takes two attributes: resourceId and resourceName.
    The resourceId identifies the resource that is being dragged. This should be an id that can be used by the underlying business logic to uniquely identify the resource.
    The resourceName is a string that is the representative name of the dragged resource.
    3. resourceDropZone - This tag identifies an area where draggable resources can be dropped. It takes the following attirbutes: targetId, jsFunctionCall, pageFlowAction, formAction.
    The targetId uniquely identifies the drop target.
    Only one of the following attributes is required: jsFunctionCall, pageFlowAction, or formAction. The jsFunctionCall takes precedence, then pageFlowAction, and finally formAction. These attributes represent what will occur when the resource is dropped on the drop zone.
    If you set up the tag to execute a pageflow action upon dropping the resource, the action code can retrieve the dragged sourceId and the drop targetId using the following code:
    String sourceId = getRequest().getParameter("sourceId");
    String targetId = getRequest().getParameter("targetId");
    Hope that helps.

  • JSP Tags Look and Feel

    I want to customize the look and feel ( fonts , BG colours , Layout etc ) of the pages rendered for the
    wizard and dialog tags like FormatCustomizer , CrossTabOptions , CalcBuilder etc, in BI Beans 9052 . How can this be achieved ?

    Hi,
    If you are using the BI beta release please use the beta forum to ask your questions.
    BI Beans PM

  • Philosophy of tags, components and renderers

    I am having a rough time getting my head around JSF's separation of JSP tags, components and renderers. Specifically:
    1. Why are there so many HTML specific components? Clearly, there must be HTML renderers, and perhaps some components only make sense in a HTML world, but why is something like 'HtmlOutputText' not simply 'OutputText' with a HTML renderer?
    2. Why should you use application.createComponent("javax.faces.HtmlInputText") rather than 'new HtmlInputText()'? What does this extra level of indirection buy you?
    3. Why does the JSP tag nominate the renderer name that the renderkit looks up? Shouldn't the component be doing this? If I have a non-JSP framework, will it therefore have to specify renderer names for every single component too?
    Regards,
    Richard.

    Update:
    1. SOLVED: I now see that the HTML specific components are not HTML in terms of the platform they render to, only the attributes they need to accept (eg. styleClass). This is, of course, fine.
    2. Any ideas, anyone?
    3. It seems you can safely return null from the JSP tag's getRenderer, and just use the Component's getRendererType instead. In that case, what is the JSP tag's method for?

  • How do I pass a local variable as a parameter to a JSP Tag File?

    I wrote a custom JSP tag file, and I want to pass a local variable to it through a parameter, like this:
    <% Integer someValue = new Integer(-5); %>
    <my:TestTag value="someValue"/>
    This doesn't work though - the result is the string someValue. Trying to do this doesn't work either:
    <% Integer someValue = new Integer(-5); %>
    <my:TestTag value="someValue"/>
    the value attribute ends up being null.
    I know I can work arount by putting the local variable in the request attributes then using ${}, but that seems like a lot of unecessary work. Does anyone know I can just pass a local variable to the custom tag through the custom tags parameter list?

    I'm far from beeing an expert, but this may be a clue (?)
    Basically, the rule is: everything you want to be considerred as Java must be in a
    JSP tag.
    As an example, think of how you would do to pass the litteral string "someValue" otherwise. Then you may imagine other related issues...

  • JSP Tags and pooling.

    We are researching JSP Tags as a method of seperating our creative and coding efforts. Our research is showing that JSP tags is a resource hog and noticed that none of the JSP Tags are being pooled. Docs that we have looked at suggest that pooling does occur, but we do not see it happening. Is anyone using this technology and if so how is the performance?
              

    Cameron,
              In general, what kind of "interesting bugs" and "design flaws" do you mean?
              I would expect that using any kind of cache can allow for bugs due to developers
              confusion... but are there inherent "bugs" (or design flaws) that are built into
              WL's Cache tag?
              Jack Lin
              Cameron Purdy wrote:
              > Install the latest SP. They are (relatively speaking) resource intensive.
              > However, properly implemented/used, this relative cost is close to 0.
              > (Instantiating a Java class and calling a few empty methods uses a couple
              > hundred clock cycles on a good JVM.) BTW Pooling is considerably more
              > expensive for simple objects than instantiating new ones. Also, due to
              > design flaws in the custom tag API, pooling JSP tags could lead to some
              > interesting bugs related to the lack of re-initialization.
              >
              > --
              >
              > Cameron Purdy
              > [email protected]
              > http://www.tangosol.com
              > WebLogic Consulting Available
              >
              > "Anthony Raiti" <[email protected]> wrote in message
              > news:39d4a35f$[email protected]..
              > We are researching JSP Tags as a method of seperating our creative and
              > coding efforts. Our research is showing that JSP tags is a resource hog and
              > noticed that none of the JSP Tags are being pooled. Docs that we have looked
              > at suggest that pooling does occur, but we do not see it happening. Is
              > anyone using this technology and if so how is the performance?
              

  • JSP tags and onLoad

              I have a JSP custom tag that places a value in the HTTPRequest attribute section.
              A chunck of code within a JavaScript function called from a <BODY onLoad> statement
              in the JSP is to pick up this value. However, the onLoad() event seems to be called
              before the tag is executed and the value placed in the attribute space.
              Now the JavaScript onLoad() function should be called when the window has finished
              loading and the JSP tag is part of the window load. Has anybody else seen this sort
              of behavior?
              Perry Hoekstra
              

    Hi,
              I am not sure what your problem is, however I have some suggestions:
              1) as the onload is executed at the client side I don't think it can ever really pick
              up something from a request attribute
              2) inspect the generated html code, if the onload method is reasonable
              3) generate the onload method at the latest possible point, so it can pick the needed
              values at generation time
              Regards,
              Christian Buchegger
              Developer Relations Engineer
              BEA Support
              Perry Hoekstra schrieb:
              > I have a JSP custom tag that places a value in the HTTPRequest attribute section.
              > A chunck of code within a JavaScript function called from a <BODY onLoad> statement
              > in the JSP is to pick up this value. However, the onLoad() event seems to be called
              > before the tag is executed and the value placed in the attribute space.
              >
              > Now the JavaScript onLoad() function should be called when the window has finished
              > loading and the JSP tag is part of the window load. Has anybody else seen this sort
              > of behavior?
              >
              > Perry Hoekstra
              

  • F:invokeUrl jsp tag and child objects

    Hey all,
    Does anyone know if its possible to use the f:invokeUrl tag on a method in a child object? eg:
    <f:invokeUrl var="myObject.myChildObject" methodName="myMethod" />
    I've also tried:
    <f:invokeUrl var="${myObject.myChildObject}" methodName="myMethod" />
    with no luck. I've gotten the above to work using the f:invoke jsp tag.
    What I'm trying to do is put my ajax type functions in the objects that make the most sense. If I can't get this to work, I'll need to make presentation objects with all my ajax functions, create an instance and put it into scope, which I rather not do.
    Thanks,
    Graham

    Graham,
    I can't say if it will work or not, because its a better practice to leave all logic outside of the jsp (and I really don't know!). Do the logic in an activity, then only use the jsp to display the values. Keeping the logic outside is a much easier way to keep track of the data, and also re-use if necessary.
    Customarily, a 'view' object is created. FileStatusView for example, would be a BPM Object that contains all the values to be displayed in a JSP or presentation.
    Hope thats helpful!
    -Kevin

  • Urgent - DocumentManager,Configurations and JSP Tags

    I am using Vignette as the content repository.I am able to fetch data and display
    on the jsp when a single VignetteDocumentProvider is being used and data coming
    from a single content table.
    Problem is - If I have multiple classes for the VignetteDocumentProvider that
    are to be used to display data from several tables on the jsp.
    Q 1) How to configure multiple DocumentManager and DocumentConnectionPool nodes
    in meta-inf\application-config.xml for those multiple VignetteDocumentProvider
    classes.
    Q 2) On the same JSP - How would the jsp tags reference multiple VignetteDocumentProvider
    classes.
    Could someone PLEASE help.
    Thanks a LOT in advance.
    Regards,
    shikha

    You may be better off asking the question to Vignette.
    .raja
    "shikha" <[email protected]> wrote in message
    news:3caa2bf7$[email protected]..
    >
    I am using Vignette as the content repository.I am able to fetch data anddisplay
    on the jsp when a single VignetteDocumentProvider is being used and datacoming
    from a single content table.
    Problem is - If I have multiple classes for the VignetteDocumentProviderthat
    are to be used to display data from several tables on the jsp.
    Q 1) How to configure multiple DocumentManager and DocumentConnectionPoolnodes
    in meta-inf\application-config.xml for those multipleVignetteDocumentProvider
    classes.
    Q 2) On the same JSP - How would the jsp tags reference multipleVignetteDocumentProvider
    classes.
    Could someone PLEASE help.
    Thanks a LOT in advance.
    Regards,
    shikha

  • Modes and Methods in Tag Query and SQL Query

    Hi,
    Can someone explain me about the modes available in <b>TAG Query and SQL Query.</b>
    TAG Query has modes such as <b>Current, CurrentWrite, GroupList, History, HistoryEvent, ModeList, Statistics and TagList</b>
    SQL Query i still have doubt on <b>FixedQuery with output , Modelist and TableList</b>
    I also need to know why methods are used?
    Thanks in advance
    Regards
    Muzammil

    I'll try to  explain to the best of my knowledge :
    <u><b>TagQuery</b></u>
    <b>Current</b> : Gives you the current value of the Tag you are reading.
    <b>CurrentWrite</b> : Let you write a Value as the Current Value of the Tag.
    <b>GroupList</b> : Generally Tags are grouped under different groups. Returns you the name of the Groups.
    <b>From the xMII Help Document :</b>
    <b>History</b> : History Mode returns interpolated data.  Interpolation can be accomplished by specifying either the # of rows desired or the retrieval resolution.  If the mode is "History" and a value is provided for the Resolution parameter (which is in seconds), the connector will retrieve evenly-spaced values starting at the beginning of the time interval, up to the maximum # of rows specified in the RowCount parameter.  If no value is provided for the Resolution parameter, the connector will return an evenly-spaced number of values based on the value of the RowCount parameter.
    For example, if the time interval is 1 hour, Resolution is 15, and RowCount is 240, the connector will return evenly spaced values each 15 seconds, up to 240 values (which would span the entire hour).
    If the time interval is 1 hour, Resolution is not provided or is set to zero, and RowCount is 120, the connector would return 120 evenly spaced values, at an effective interval of 30 seconds.
    <b>HistoryEvent Mode</b> : The connector can provide historical values "as they were stored" the database.  This mode provides no interpolation of values.
    <b>Statistics Mode</b> : When retrieving data for statistical calculations, the connector utilizes the same techniques as in the "HistoryEvent"  mode.  It is important to note that the first two returning columns in the HistoryEvent query must be the timestamp and the value, in that order.  The SAP xMII Statistical processor expects that order, or errors will occur.  This ensures precision of statistical measurements, particularly time-weighted average, by using the exact storage time and values from the historical database.  The SAP xMII system provides the statistical calculations.
    <b>Modelist</b> : Basically returns the modes of the Query Available. The Data returned is same as the data in the Modes list in the Quert Template Editor.
    <b>Taglist</b> : Returns all the Tags in the Datasource.
    <u><b>SQL Query</b></u>
    <b>Modelist</b> : Same as above.
    <b>TableList</b> : List of all the tables in the database to which the connector connects.
    Again from SAP xMII Help Documentation :
    <b>FixedQueryWithOutput</b> : This mode is used to execute an Oracle stored procedure or function that returns a REF CURSOR as output.  The position of the REF CURSOR is marked by a "?" in the query.  For example:
    <b>Create a table.</b>
    <i>create table usage (id int, name varchar(50));
    insert into usage (id, name) values (1, 'test1');
    insert into usage (id, name) values (2, 'test2');
    insert into usage (id, name) values (3, 'test3');
    insert into usage (id, name) values (4, 'test4');
    insert into usage (id, name) values (5, 'test5');
    insert into usage (id, name) values (6, 'test6');
    insert into usage (id, name) values (7, 'test7');
    insert into usage (id, name) values (8, 'test8');</i>
    <b>Define the stored procedure.</b>
    <i>DROP PACKAGE foopkg;
    CREATE PACKAGE foopkg IS
      TYPE cursortype is ref cursor;
      PROCEDURE test (mycursor in out cursortype);
    END foopkg;
    CREATE PACKAGE BODY foopkg IS
      PROCEDURE test (mycursor in out cursortype) AS
      BEGIN
         open mycursor for select * from usage;
      END;
    END foopkg;
    </i>
    Define a query template for calling the stored procedure.  Enter the following in the FixedQuery tab:
    <b>call foopkg.test(?)</b>
    This template returns all rows from the Usage table.

  • Is a JSP Tag Library providing Oracle Financial look and feel available

    We are going to use Oracle Financial as part of our future application.
    That is why other parts of it (which we plan to develop using JDeveloper)
    have to have the same Look and Feel.
    Is a JSP Tag Library that provides Oracle Financial Look and Feel available?

    Oracle Applications use BC4J, UIX, and JDeveloper.
    The UIX framework implements the Oracle "Browser Look And Feel" (BLAF) that our Oracle Applications self-service applications use.
    The UIX JSP tag library lets JSP developers do the same.

  • Error in jsp tag files with jdev 101310 and oc4j standalone10130

    Hello,
    I'm creating a simple jsp tag file that show "it´s test" and a jsp with the jsp tag file,
    the problem is:
    java.lang.NoSuchMethodError: oracle.jsp.runtime.OracleJspRuntime.releaseTagHandlers(Ljavax/servlet/jsp/PageContext;)V     at oracle.jsp._tag._tagMeta_tag.doTag(_tagMeta_tag.java:71)     at admin.applicationproperties._jspService(_applicationproperties.java:56)     [SRC:/admin/applicationproperties.jsp:10]     at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.0.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:416)     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:270)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:42)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:204)     at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)     at com.gtsCol.bonPen.servlets.ApplicationPropertiesServlet.doGet(ApplicationPropertiesServlet.java:51)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)     at java.lang.Thread.run(Thread.java:595)
    my mail is [email protected]
    thansk for your help.

    Hola a todos,
    Estoy creando un jsp tag file que solo muestra un mensaje "Esto es una prueba" y la incluyo en una jsp normal, el problema es que no parece soportar este tipo de tags.
    El error que muestra es el siguiente.
    java.lang.NoSuchMethodError: oracle.jsp.runtime.OracleJspRuntime.releaseTagHandlers(Ljavax/servlet/jsp/PageContext;)V     at oracle.jsp._tag._tagMeta_tag.doTag(_tagMeta_tag.java:71)     at admin.applicationproperties._jspService(_applicationproperties.java:56)     [SRC:/admin/applicationproperties.jsp:10]     at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.0.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:416)     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:270)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:42)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:204)     at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)     at com.gtsCol.bonPen.servlets.ApplicationPropertiesServlet.doGet(ApplicationPropertiesServlet.java:51)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)     at java.lang.Thread.run(Thread.java:595)
    mi correo electronico es [email protected]
    De antemano gracias por la ayuda que me puedan brindar.

  • EP 6 SP2 and Domino JSP Tag library

    I have been able to establish DIIOP connection between EP6 and Domino based on the workaround posted in this form. Calling the lotus.domino.* classes work just fine.
    However I haven't been able to get EP6 to work consistently with the Domino JSP tag library.
    Has anyone been successful in using the Domino JSP tag library?
    Thanks for sharing any insights/workarounds.

    Hello Luc,
    yes. Pls. perform the following steps:
    (1) add a reference to the taglib in portalapp.xml component profile
                   <component name="default">
                        <component-config>
                             <property name="ClassName" value="com.test.LotusJSPTest">
                             </property>
                             <property name="SecurityZone" value="com.test/high_safety">
                             </property>
                        </component-config>
                        <component-profile>
                             <property name="lotusTagLibary" value="domtags.tld">
                             </property>
                             <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld">
                             </property>
                        </component-profile>
                   </component>
    (2) add a reference in the JSP
    <%@ taglib uri="lotusTagLibary" prefix="domino" %>
    (3) then use the taglib as documented, e.g.:
                 <domino:session id="session1" host ="p70448.wdf.sap.corp:8000" user="*webuser">
                        <domino:db id="db1" dbname="portalchallenge.nsf" >
                             <domino:view id="view1" viewname="view103">
                                  <domino:viewloop id="loop">
         <tr>
         <td style="border: 1px solid #000000; padding: 2px; text-align:right"><%=loop.getPosition('.')%></td>
                                            <td style="border: 1px solid #000000; padding: 2px"><domino:item name="txt_KeywordCode"/></td>
                                            <td style="border: 1px solid #000000; padding: 2px"><domino:item name="txt_Description"/></td>
                                            <td style="border: 1px solid #000000; padding: 2px"><domino:item name="txt_List"/></td>
         </tr>
         </domino:viewloop>
                               </domino:view>
                          </domino:db>
                     </domino:session>
    The easiest way to start is to make domtags.jar, domtags.tld, domutils.tld and NCSO.jar part of your portal application.
    Regards
    Michael

  • ToString array and equals method

    I have an array and i need to get the toString to output the information. How do I get that to happen. This is what i ahve so far.
       public String toString(){
              //should indicate all cities
              System.out.print("Cities :");
              for (int i = 0; i < cities.length -1; i++)
                   return cities;
    Here is another piece of code I am finishing. Please tell me if the loop and equals method is correct but what is the value to return?
       public City getCity(String cityName){
              //returns the City with name cityName (must search for city in the array)
              //if the city does not exist, it returns null
              for(int i = 0; i < cities.length; i++)
                   if(cityName.equals ("cityName"))
                        return ;
                    else return null;
                Message was edited by:
    ehj3000

    great my world class is fixed now im getting missing return statements on the two methods
           public City getCity (String cityName){
          //returns the City with name cityName (must search for city in the array)
          //if the city does not exist, it returns null
             for(int i = 0; i < cities.length; i++)
                if(cities.getName().equals(cityName))
    return cities[i];
    else
    return null;
    public String toString(){
    //should indicate all cities
    System.out.println("Cities: ");
    for (int i = 0; i < cities.length -1; i++)
    return cities[i].getName();

Maybe you are looking for

  • Slow Broadband 250K throughput, line continually d...

    I joined BT in October 2010, I left Sky because my broadband speed was really good then one month they dropped the speed, no notice or apologies. I joined BT as I thought they would be able to provide a fast, quality and reliable service; this has no

  • Sync cant be done because of failed connection to the server

    Hello! I surf Internet via proxy (in my corporate network). This proxy need password protected auth. I provided my pass to Firefox and now can surf Internet well, but when I am trying to sync my data (with embedded sync tool) there appears error "syn

  • Clean Install but no Library Files

    What I meant by this is I would like to do a clean install of an operating system (possibly Mavericks) to a new external drive, then using Migration Assistant or some other means to bring over my User folder minus the Library which I assume contains

  • Error code NP-34991-6

    So I recently got the new batman Arkham knight game. I preordered it and played it. After a while i decided to buy the season pass. However, i never got any story packs such as red hood, harley quinn, etc. I told my buddy about this issue and he said

  • ISight Problem on MacBook Air

    Hey, I have just bought a MacBook Air but for some reason the only application that has iSight working properly is iChat! iSight does not work with PhotoBooth and Skype, for instance! I tried reinstalling the applications and I tried to reset SMC or