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
          

Similar Messages

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

  • 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

  • Create frames using JSP tags

    I am trying to create two frames in my JSP page . However it just displays a blank page on execution.
    I am using following code to create frames:
    <hbj:content id="myContext" >
          <hbj:document>
         <hbj:documentHead>    
         <frameset cols="100,*" border=1 frameborder="1">
                     <frame name="frame1"
                            src ="http://www.yahoo.com">
                     <frame name="frame2"
                            src= "http://www.google.com">
                </frameset>
         <hbj:documentHead>            
        </hbj:document>   
    </hbj:content>
    Thanks

    Neeti,
       Just get rid of JSP tags and put the frameset html on jsp page. It should work without JSP tags.
    <html>
    <frameset cols="100,*" border=1 frameborder="1">
    <frame name="frame1"
    src ="http://www.yahoo.com">
    <frame name="frame2"
    src= "http://www.google.com">
    </frameset>
    </html>
    Message was edited by: Prakash  Singh

  • JSP Tags problem

    I am using jsp tags and i have some text boxes defined like this:
    <html:text property="textbox"/>
    and from js i want to make some validations an i get the values from the text boxes like this: document.getElementById("textbox")
    I am testing my application from eclipse and from there it works just fine but when i try to run it under firefox document.getElementById("textbox") it doesn't work
    could some one tell me why
    thanks in advance,
    David

    View source, does the generated <input type="text" have an id of textbox? If not, then you need to change the custom tag attributes so it does (id="textbox" ?)
    Chris

  • Register 12 VerifyError exception when compiling jsp with that jsp tag!

              Hi everybody,
              We implemented a tag which is charged with a simple task like just "out.println"s,
              on production with WL5.1 SP11,jdk1.2.
              Then we got java.lang.VerifyError exception which is also denoted at Giuseppe Madonna's
              mail on ( http://newsgroups2.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.jsp&item=6834&utag=
              ) that "java.lang.VerifyError: Register 12 contains wrong type"
              To be able to find the inconsistency in class files denoted at VerifyError exception,
              we delete the tmp dir. of web app resides in a war.
              Also the related java beans used in jsp tag and related jsp, are in a jar on our
              classpath and .tld file resides in the .war file of our web application.
              But also, I must define that it is our first tag implemented after we migrate to
              the .war file after the web application directory structure of same application(that
              old dir. also deleted), I know it is silly but, is it possible that WL can now refer
              to something related our previous directory structure of our app. like that old .tld
              file or classes?
              Or may it be related with the difference between jdk versions on the test and the
              production server?
              Any help will be really appreciated..
              Many thanks,
              Banu
              

              Start up weblogic with -
              java -noverify ....
              Mike
              "banu" <[email protected]> wrote:
              >
              >Hi everybody,
              >We implemented a tag which is charged with a simple task like just "out.println"s,
              >on production with WL5.1 SP11,jdk1.2.
              >
              >Then we got java.lang.VerifyError exception which is also denoted at Giuseppe
              >Madonna's
              >mail on ( http://newsgroups2.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.jsp&item=6834&utag=
              >) that "java.lang.VerifyError: Register 12 contains wrong type"
              >
              >To be able to find the inconsistency in class files denoted at VerifyError
              >exception,
              >we delete the tmp dir. of web app resides in a war.
              >
              >Also the related java beans used in jsp tag and related jsp, are in a jar
              >on our
              >classpath and .tld file resides in the .war file of our web application.
              >
              >But also, I must define that it is our first tag implemented after we migrate
              >to
              >the .war file after the web application directory structure of same application(that
              >old dir. also deleted), I know it is silly but, is it possible that WL can
              >now refer
              >to something related our previous directory structure of our app. like that
              >old .tld
              >file or classes?
              >
              >Or may it be related with the difference between jdk versions on the test
              >and the
              >production server?
              >
              >
              >Any help will be really appreciated..
              >Many thanks,
              >Banu
              >
              

  • Why does people use JSP Tag for their JSP page? (Urgent)

    I don't know what benifit if I am using JSP Tag.
    If anyone knows, pls give me an idea and the advantage of using JSP Tag in JSP Page!
    Thanks in advance!

    You have to read a little about JSP, JSP stands for JavaServer Pages, you can use jsp tags and you can use java code. If you dont want to use jsp tags then you should just write html file, if you just want to use java, then write java class or a servlet.
    The need for jsp arised because people were inserting html code inside a servlet class..a big no no..and a headache. JSP separate model from the view...read a little about MVC-2 model view controller pattern.
    Also read some tutorial on this website...good luck
    K

  • JSP Custom Tag and Expressions for parameters

    This should be an easy question. I am trying to use an expression for a
              parameter to a jsp or custom jsp tag. When I hard code a value for the
              parameter, the tag works fine but when I use the expression, the expression
              gets evaluated but the tag itself does not resulting in the tag being shown
              in my output.
              For example:
              <jsp:forward page="www.slashdot.org"/> works
              <jsp:forward page="<%=request.getParameter("DESTINATION")%>"/>
              places the following into my html output
              <jsp:forward page="www.slashdot.org"/>
              Can someone please tell me what I am doing wrong or at least offer some
              debugging hints?
              Thanks in advance!
              Jacob Meushaw
              

    I have experienced almost this exact same problem, but with a custom
              tag. And I did make sure that my attribute specified
              <rtexprvalue>true</rtexprvalue>. Here is the weird part.
              If I do the following JSP code everything works fine:
              <% String foo = request.getParameter("bar"); %>
              <mytag:custom param="<%= foo %>"/>
              But if I do this:
              <mytag:custom param="<%= request.getParameter("bar") %>"/>
              I get the following in my html output:
              <mytag:custom param="whatever bar is set to in the request"/>
              It appears that the JSP container only does a one pass evaluation.
              Is this the spec of is this a bug?
              Jacob Meushaw wrote:
              >
              > This should be an easy question. I am trying to use an expression for a
              > parameter to a jsp or custom jsp tag. When I hard code a value for the
              > parameter, the tag works fine but when I use the expression, the expression
              > gets evaluated but the tag itself does not resulting in the tag being shown
              > in my output.
              >
              > For example:
              >
              > <jsp:forward page="www.slashdot.org"/> works
              >
              > <jsp:forward page="<%=request.getParameter("DESTINATION")%>"/>
              > places the following into my html output
              > <jsp:forward page="www.slashdot.org"/>
              >
              > Can someone please tell me what I am doing wrong or at least offer some
              > debugging hints?
              >
              > Thanks in advance!
              >
              > --
              > Jacob Meushaw
              Jeff Smith
              [email protected]
              BEA Systems, Inc.
              720-565-6613
              

  • 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

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

  • Jsp ok but IDE display errors in javascript+tags and taglibs include file

    Hi,
    The JDev 10.1.3 IDE display errors on running JSP in following cases:
    1) When tag libs declaration in include file.
    2) When jstl/struts tags are used in javascript
    JDev 10.1.2 didn't diplay those errors
    More details:
    extracts:
    Type of error: Character data not allowed in head
    alert("Your session has been closed automatically after a long period of inactivity.\nOR\nYou used an invalid or old bookmark.");
    javascript comments: (use for debugging)
    // alert("agt: "+agt+", is_ie: "+is_ie);
    Type of error: element <used tag> not expected here
    <fmt:bundle basename="com.photoswing.webview.MainshopAppMessageResources">
    alert("<fmt:message key="alert.timeout.noRedirection"/>");
    </fmt:bundle>
    JDev 10.1.3 has no javascript editor, so it should ignore the content of <script> .. </script>
    Regards
    Fred

    Hi,
    Same message but with formatting tags.
    Closing tag is [ / code ] without blanks.
    Thanks to Didier,
    IDE displayed errors => jsp runs and compiles ok.
    It is not obvious to reproduce those errors because they vary upon external or internal tag declaration.
    Remark:
    I tried replacing jsp tag declaration:
    <%@ include file="../../helper/TagLibsInclude.jsp"%>by simple file but it doesn't help:
    <%@ include file="../../srcInclude/tagLibs.inc"%>Case 1) all tag declaration are external but jstl c and fmt also internal:
    <%@ include file="../../helper/TagLibsInclude.jsp"%>  
    <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
    <%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt"%>Element c:out not expected:
    =====================
    <c:set var="numberOfRows">
      <c:out value="${bindings.LoadedPhotos}" />
    </c:set>Element logic:messagesPresent not expected
    ==================================
         </tr>
        <logic:messagesPresent message="true" >
            <html:messages message="true" id="msg">
             <tr>
              <td colspan="5" class="txtMed txtBold">
                 <c:out value="${msg}"/><br/>
              </td>
             </tr>
            </html:messages>
        </logic:messagesPresent>
        <tr>Element fmt:param not expected .
    ========================
                  <fmt:message key="event.photoCommentInLang.prompt">
                   <fmt:param value="${pageScope.langName1}"/>
                  </fmt:message>
    ..Case 2) all tag declaration are external
    Element set not expected .
    ===================
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <c:set var="sourceId" value="${bindings.EventId.attributeValue}"/>
      <c:set var="sourceId1" value="${bindings.AlbumId.attributeValue}"/>
    ...Element bundle not expected .
    ======================
    </head>
    <body>
    <fmt:bundle basename="com.photoswing.webview.MainshopAppMessageResources">error: Character data not allowed in head
    =============================
    Example:
    <script language="JavaScript" type="text/javascript">
    function FL_init() {
      <c:if test="${not empty requestScope.SessionWasInvalid}">
        alert("<fmt:message key="general.loggedIn.timeout"/>");
        location.href="<c:url value="/accountLogin.do"/>";
      </c:if>
    </script>Regarding my workaround:
    You don't have to remove the tag declaration, but I prefer to keep my jsp as clean as possible.
    But I found another problem, this time it's a serious one, when you reformat the source ALL tag prefixes are removed.
    Example
    <c:set ... becomes <setOther example:
      <c:set var="numberOfRows">
      <c:out value="${bindings.LoadedPhotos}" />
      </c:set>becomes:
        <set var="numberOfRows">
         <out value="${bindings.LoadedPhotos}"/>
        </set>Good luck!
    Fred

  • Difference between jsp forward tag and sendRedirect

    I would like to know the difference between jsp forward tag and sendRedirect.
    Please explain with a suitable example if possible ...
    glenn

    See: http://java.oreilly.com/news/jsptips_1100.html (number 4)

  • Difference between jsp forward action tag and response.forward()

    hi guys
    i have just started programming using j2ee technology.
    could anyone please tell me what is the difference between the jsp forward action tag and froward method using the response object?

    There really isn't one. The JSP forward tag is a convenience tag for JSP, that uses the response method.

  • 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

Maybe you are looking for