JSP Dynamic content problem

In my jsp page I have 2 combo boxes--data of 2nd comboBox is dependent on the 1st. The data for both is previously obtained from a database. How to do this ? I'm using MVC 1 archi.

You have 2 options
1. Populate the 1st combo-box. In the onChange event, submit a
request to the server. In the server, get the value of the 1st combo that
would be passed in the request and then get the corresponding 2nd
combo box values from the db and repopulate the original form with the
values.
Pros : Neat, all data manipulation at the backend.
Cons : Round trip to the server.
Usage: Use only if this page wouldnt be requested ordinarily and you
are sure that the number of changes in the combo1 by any user would
be limited.
2. Load the combo1 and combo2 values (& the relation between them)
all on first shot. Use javascript to lookup the values of the 2nd combo
based on the selection in the 1st.
Pros : No Round trips to the server each time on value change. Quite
fast
Cons : javascipt. This can get very very messy, you require extensive
cross browser testing; maintenance is another issue.
Usage: Consider this if this page will have large number of hits in your
ui flow.Have a javascript guru around, document the code extensively .
cheers,
ram.

Similar Messages

  • JSP problem..... + Dynamic Content

    Hello to all,
    In the Jsp page i am adding some dynamic content through JAVAScript.
    but after clicking back and forward on the browser it doesnot retaining that content.
    Can anyone give idea how to restore that dynamic content..
    Please its urgent..
    abhishek

    generate the dynamic content using the JSP, not javascript. What happens on the client side has absolutely nothing to do with JSP's and it is completely up to the browser how it handles the page state when going back and forward.

  • Problem with "PL/SQL Dynamic Content" and displaying rows

    hi,
    im new to APEX, and pl/sql [but not web dev or sql].
    ive found the bit in APEX that lets you add data from your DB using the 'CREATE' > 'PL/SQL Dynamic Content'.
    maybe there's a better option for people who dont know pl/sql? i dont know?
    however, i think i can getting working with a little bit of help but im stumbling around in the dark a bit here.
    ok so this is the pl/sql ive come up with to show three example values on page 23 of my aplplication:
    BEGIN
    SELECT ID, NAME, OWNER
    FROM COM_MAILSHOTS
    INTO :P23_ID, :P23_NAME, :P23_OWNER;
    END;
    im getting the error:
    1 error has occurred 
    ORA-06550: line 5, column 21: PL/SQL: ORA-00933: SQL command not properly ended ORA-06550: line 4, column 1: PL/SQL: SQL Statement ignored
    thanks for reading!

    Metabaron wrote:
    hi,
    im new to APEX, and pl/sql [but not web dev or sql].
    ive found the bit in APEX that lets you add data from your DB using the 'CREATE' > 'PL/SQL Dynamic Content'.
    maybe there's a better option for people who dont know pl/sql? i dont know?
    The easiest (and best) way to "display rows" is using a report. Dynamic PL/SQL regions are more complex and are required much less frequently.
    The Oracle® Database 2 Day + Application Express Developer's Guide tutorial explains how to create reports and other basic APEX techniques.

  • Mixing static and dynamic content in a single outputText value causes NPEs

    Hi,
    I am having a problem and I'm wondering if it is a result of my error or if this is a bug.
    I am mixing dynamic and static content in the value attribute of tags (e.g., outputText). On initial page load, everything works fine. However, if the same view is reloaded (e.g., after a failed validation) I get an NPE from JSF:
    [#|2006-10-24T08:49:03.756-0500|SEVERE|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=12;|StandardWrapperValve[Faces Servlet]: Servlet.service() for servlet Faces Servlet threw exception
    java.lang.NullPointerException
            at com.sun.faces.el.MixedELValueParser.getNextToken(MixedELValueParser.java:140)
            at com.sun.faces.el.MixedELValueParser.parse(MixedELValueParser.java:123)
            at com.sun.faces.el.MixedELValueBinding.getValue(MixedELValueBinding.java:60)
            at javax.faces.component.UIOutput.getValue(UIOutput.java:147)
            at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(HtmlBasicInputRenderer.java:82)
            at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getCurrentValue(HtmlBasicRenderer.java:201)
            at com.sun.faces.renderkit.html_basic.LabelRenderer.encodeBegin(LabelRenderer.java:128)
            at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:683)
            at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:443)
            at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:233)
            at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
            at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:445)
            at com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:130)
            at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
            at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:445)
            at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:233)
            at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
            at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:445)
            at com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:130)
            at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
            at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:445)
            at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:233)
            at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
            at javax.faces.webapp.UIComponentTag.encodeChildren(UIComponentTag.java:609)
            at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:546)
            at com.sun.faces.taglib.html_basic.PanelGridTag.doEndTag(PanelGridTag.java:460)
            at org.apache.jsp.registration_jsp._jspx_meth_h_panelGrid_0(registration_jsp.java:324)
            at org.apache.jsp.registration_jsp._jspx_meth_h_form_0(registration_jsp.java:223)
            at org.apache.jsp.registration_jsp._jspx_meth_f_view_0(registration_jsp.java:157)
            at org.apache.jsp.registration_jsp._jspService(registration_jsp.java:118)
            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)
            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:297)
            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:247)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
            at sun.reflect.GeneratedMethodAccessor188.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
            at java.security.AccessController.doPrivileged(Native Method)
            at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
            at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
            at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
            at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
            at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
            at java.security.AccessController.doPrivileged(Native Method)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)
            at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:482)
            at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:417)
            at org.apache.catalina.core.ApplicationDispatcher.access$000(ApplicationDispatcher.java:80)
            at org.apache.catalina.core.ApplicationDispatcher$PrivilegedForward.run(ApplicationDispatcher.java:95)
            at java.security.AccessController.doPrivileged(Native Method)
            at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:313)
            at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:326)
            at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:132)
            at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
            at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:248)
            at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
            at javax.faces.webapp.FacesServlet.service(FacesServlet.java:194)
            at sun.reflect.GeneratedMethodAccessor202.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
            at java.security.AccessController.doPrivileged(Native Method)
            at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
            at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
            at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
            at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
            at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
            at java.security.AccessController.doPrivileged(Native Method)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
            at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
            at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:189)
            at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doProcess(ProcessorTask.java:604)
            at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:475)
            at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:371)
            at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:264)
            at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:281)
            at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:83)My code looks like this:
    <h:outputText escape="false"
              value='<link href="#{myBean.styleSheet}" rel="stylesheet" type="text/css"  />' />If I replace this with a much more convoluted set of tags, it works:
    <h:outputText escape="false"
              value='<link href="' /><h:outputText escape="false" value="#{myBean.styleSheet}"
              /><h:outputText escape="false" value='" rel="stylesheet" type="text/css" />' />So is the problem that I am mixing dynamic and static content with a single value? If so, why does it work on the first view, and not after?
    If it matters, I'm using the reference implementation version 1.1 (as included with NetBeans 5.5RC2) on SuSE 10.0 w/ JDK 1.5_09.
    Thanks,
    Bill

    Yes, that's how I originally had it, but then changed it to the outputText approach since a single tag could do what I wanted, as long as I was allowed to mix static and dynamic content within a single value.
    I think this is a bug in JSF 1.1, since if what I am doing is illegal, it should throw an exception on the first page view, not work on first view and throw an exception on subsequent views. I'm guessing that this has something to do with the fact that on first page view it only runs the restore view and render response JSF phases, while on subsequent requests all of the phases will be run, and it's in one of those other phases that the exception is thrown.
    For now, multiple tags is the work-around, I guess.
    Thanks,
    Bill

  • Programm an static Design with dynamic Content

    Hello... I have an problem. I want programm an static design and and static menue, but the content must be dynamic. I know how it work with frames, but how does it work with an site only with tables... like this:
    http://www.galaxy-news.de/
    The menu is static but the content is dynamic and is work without frames.. But how? In the faces-config.xml is just an frame value:
    <navigation-case>
    <from-outcome>ok_next</from-outcome>
    <to-view-id>/masterDetail.jsp</to-view-id>
    </navigation-case>
    How does it work without frames. Here an example what I mean. It is an site with JSF without frames, but static design and dynamic content:
    http://www.irian.at/open_source.jsf
    Thanks for help

    <select name="gallerySelect" id="gallerySelect" onchange="dsGalleries.setCurrentRowNumber(this.selectedIndex);" spry:repeatchildren="dsGalleries" spry:choose="choose">
            <option spry:when="{ds_RowNumber} == {ds_CurrentRowNumber}" selected="selected">{sitename}</option>
            <option spry:default="default">{sitename}</option>
          </select>
    If i understand you correctly you want to use links, instead of a select.. You can do it like this:
    <ul spry:repeatchildren="dsGalleries">
         <li><a href="#{ds_RowNumber}" onclick="dsGalleries.setCurrentRowNumber(this.href.replace(/\#/g,''));">{sitename}</a></li>
    </ul>

  • Adding pagination in report build from PL/SQL dynamic content using htp.p

    Hi,
    I have a requirement for which i used PL/SQL dynamic content to build my report and i displayed my report using a cursor and loop by HTP.P function.
    Now problem is I have report with more than 500 rows and I want to add pagination concept for this report.
    How can i do that?
    Thanks in advance.
    Regards,
    Smith

    To preserve heading on each page for a HTML table you can use the THEADER, TFOOTER and TBODY tags (see example). To force page breaks, try experimenting with these style attributes:
    <STYLE TYPE="text/css">
         tr.breakhere {page-break-before: always}
    </STYLE>
    <tr class="breakhere">Table Example:
    htp.tableopen;
    htp.print('<THEAD style="display:table-header-group">');
    ... your table headers here
    htp.print('</THEAD>');
    htp.print('<TFOOT style="display:table-footer-group"><TR><TD></TFOOT>');
    htp.print('<TBODY>');
    ... your rows here
    htp.print('</TBODY>');
    htp.tableclose;Edited by: crokitta on Apr 8, 2009 2:07 PM

  • Adding PHP pages, not showing dynamic content?

    Hi all,
    I'm new and hoping I don't get ripped apart for a question that seems simple. I've looked a lot though and can't seem to find an exact scenario like this. I recently took over a PHP site for a friend that was built in Dreamweaver CS3.
    There's a master page (main.php) that includes a header and footer and middle area of dynamic content. Thus, all of the pages appear like: http://www.SITENAME.com/main.php?mod=about (for the 'about' page) or www.SITENAME.com/main.php?mod=welcome (for the landing/home page), etc.
    In main.php, there's a section of: // Include Multiple Static Pages that looks like this:
    $mxiObj->IncludeStatic("about", "about.php");
    for every static page.
    All of this makes sense to me. Here's my problem:
    When adding a new page now, I can't get it to show any of the dynamic content on the live site. I just get the static header and footer to show.
    In the main.php file, there's this section:
    </div>
      <div id="mainContent">
        <p> 
          <?php
      $incFileName = $mxiObj->getCurrentInclude();
      if ($incFileName !== null)  {
        mxi_includes_start($incFileName);
        require(basename($incFileName)); // require the page content
        mxi_includes_end();
    ?></p>
    </div>
    that's supposed to pull in the dynamic content. It's doing this just fine on the older pages, but not on the ones I'm trying to build now.
    I guess I'm asking if there's some type of file in an 'includes' folder that I'm missing where I need to make sure the FileName is also listed (not just in the static section on main.php)? What's the mising link that will get this dynamic content to show up?
    Thanks for any help in advance and for reading this!

    The quickest way to add new pages is to
    copy the template (index.php) to a new document (newdoc.php or similar)
    remove the PHP stuff - stuff that is not required for the new content
    if there are inludes for the menu, header, footer or similar, then you can link those back into the document using standard includes
    add the new content to the newly created document
    This will give you a stand-alone document. At a later stage you can convert these documents into a DW-template system.

  • Jsp:forward URL problem

    Hi,
    I have 2 pages X.jsp and Y.jsp
    The content of X.jsp is a simple
    // send an email here
    <jsp:forward page="Y.jsp">
    </jsp:forward>
    The content of Y.jsp is only "Mail is sent" message.
    The problem is that everytime page X is loaded,
    the browser displays Y.jsp content, but the URL in the Address box of the browser still displays X.jsp
    This leads me to reload problem, even though the page displays the "Mail is sent" message, the URL still shows X.jsp, and everytime the browser is reloaded, another mail is sent.
    How to make the URL change to Y.jsp ?
    TIA.

    Hi,
    I have 2 pages X.jsp and Y.jsp
    The content of X.jsp is a simple
    // send an email here
    <jsp:forward page="Y.jsp">
    </jsp:forward>
    The content of Y.jsp is only "Mail is sent" message.
    The problem is that everytime page X is loaded,
    the browser displays Y.jsp content, but the URL in the
    Address box of the browser still displays X.jsp
    This leads me to reload problem, even though the page
    displays the "Mail is sent" message, the URL still
    shows X.jsp, and everytime the browser is reloaded,
    another mail is sent.
    How to make the URL change to Y.jsp ?
    TIA.Thats the natural behavious of forward.
    One simple solution is not to use forward. You can use HTTP redirection rather than forward.
    Hope it helps.

  • Error in displaying dynamic contents in tableview?

    Hi Experts,
                     I am developing a jspDynpage which displays dynamic contents in a tableview. ie, the contents are retrieved from LDAP  Active directory. But i am getting wrong number of results. For example,
    If i give last name as Name1,
    MAIL       COMPANY           NAME             PHONE
    UsrMail    Company1       Fnm,Name1        +1 23456 397                                                                               
    Line 1 / 1
    Displays the name one time.
    first name - name2
    MAIL       COMPANY           NAME             PHONE
    UsrMail    Company2        Fnm,Name2       +1 789654 397
    UsrMail    Company2        Fnm,Name2       +1 789654 397
    UsrMail    Company2        Fnm,Name2       +1 789654 397
    UsrMail    Company2        Fnm,Name2       +1 789654 397                                                                               
    Line 1 / 4
    Repeating  the name 4 times.
    Lastname - name3
    MAIL          COMPANY           NAME             PHONE
    UsrMail       Company1       Frstnm,Name3       +1 654321 356
    UsrMail       Company1       Frstnm,Name3       +1 654321 356
    UsrMail       Company1       Frstnm,Name3       +1 654321 356
    UsrMail       Company1       Frstnm,Name3       +1 654321 356
    UsrMail       Company1       Frstnm,Name3       +1 654321 356
    UsrMail       Company1       Frstnm,Name3       +1 654321 356
    UsrMail       Company1       Frstnm,Name3       +1 654321 356
    UsrMail       Company1       Frstnm,Name3       +1 654321 356
    UsrMail       Company1       Frstnm,Name3       +1 654321 356
    UsrMail       Company1       Frstnm,Name3       +1 654321 356                                                                               
    Line 1 / 10
    Repeating  the name 10 times.
    But in Active directory the names are unique .Please Guide me.
    Thanks in advance.
    Regards,
    Krishnan

    Hi
        The problem is with Vector which i used to store the retirved information.
    After cleared that i got the proper result.
    I thought the problem is with tableview.But it is not.
    Note: To clear the vector i used Vec.clear() method. It doesn't work. So i created that vector newly inside the loop.
    Regards,
    Krishnan

  • PHP dynamic content for form list field on tabbed panel

    I have been trying to use PHP dynamic content to populate a
    form list field. Works fine on a regular page, but doesn't seem to
    work (or works very erratically) if the form is on a tab of a Spry
    tabbed panel. Erratically means (as I've observed) the values will
    appear if the list field is the second on a tab but not the first.
    Haven't tried three on a tab... Anyone know if this is supposed to
    work?

    Thank You !!! to both of you above.
    Shant,
    The scheme youv'e proposed makes sense and I had thought of the same before posting the question. I already did a little POC on it but then realised this works if I can use complete list of values of 1st Field to decide the value of 2nd and so forth. But I rather need to know which one among those was clicked. Moreover, my right side list is usually not null when page loads for the first time (bcoz Field name is a path exp).
    Also, the real problem here is that, when I click on different values on the right side of multi-select(already selected values) of 1st Field, allowedValues and Derivation of 2nd should change. That GUI event is not capturable from whatever I've been able to read (onClick is not applicable for MultiSelect, and onChange doesn't serve my purpose, coz I need to know what value was clicked on).
    The solution I thought and implemented was to take the right side of multi-select, into an extra (read redundant), single-select Field. And then have the 2nd multi-select depend on it via Derivation and allowedValues.
    Having two redundant single-selects, isn't the most elegant solution but I can't think of anything better. Any thoughts ???
    If I'm not really overlooking something MultiSelect class should have an extra Property exposed....
    - AndyDev
    Edited by: AndyDev on Nov 6, 2007 2:04 PM

  • Alternative scrollpane to load dynamic content

    I'm trying to load jpgs to my scrollpane dynamically. I
    noticed the compiled scrollpane component in flash 8 is very large
    in size (> 130kb) which i cannot afford to use. Instead I'm
    using the flash 6 scrollpane which is not precompiled and only
    several kbs after compiling to swf. However, I have problem
    rendering loaded dynamic contents onto the pane. The first load
    after starting flash 8 was always successful. After that, it fails.
    In case anyone's interested, I have simple test code to demonstrate
    the problem, and have uploaded it to
    http://www.filesend.net/download.php?f=1c5d80093f0b68cdcf7fe4cca0e0c923
    (you'll need to wait for 10 secs before the download button appears
    on that linked page)
    I'm just wondering what is the best choice of a small size
    scrollpane that handles dynanimic MovieClip.loadMovie() well. Any
    suggestions?

    i just found out that scrollpane component is not that huge
    (only 38kb). Does anyone know why when I add it to my project my
    swf increases by 130kb?

  • Caching dynamic content?

    any one checked out this dynamic content caching engine called
    'dynamai'?
    customer (ipix.com) claims 35X performance increase and insures no
    browser gets stale content....w/o any mods to his existing web
    infrastructure.. and he's already on the akamai net.... expects no less
    than a 10X ROI in <1yr... just started reading the whitepaper... very
    interesting stuff...
    http://www.dynamai.com
    b.t.

    I am confused by your comment. But, version 5.1.1 is expected in June with
    this feature.
    Thanks,
    Michael
    Michael Girdley
    Product Manager, WebLogic Server & Express
    BEA Systems Inc
    Olivier Brand <[email protected]> wrote in message
    news:[email protected]..
    Do you know when will be released this version ? Other J2EE compliantservers
    like iPlanet 6 offers this tag already. The same product has a cachingmechanism
    at the servlet level too. Will you plan to have something similar ? Ifnot, all
    the business logic will have to be moved in the JSP page itself, whichdoesn't
    follow the path of separating the content from the presentation...
    Any idea ?
    Olivier
    Michael Girdley wrote:
    You should also note a new piece of functionality that will be coming
    out in
    version 5.1.1 (as planned).
    This is a special tag extension for JSP that allows you to cache entireJSP
    segments/output.
    Thanks,
    Michael
    Michael Girdley
    Product Manager, WebLogic Server & Express
    BEA Systems Inc
    b.t. buxsnard <[email protected]> wrote in message
    news:[email protected]..
    any one checked out this dynamic content caching engine called
    'dynamai'?
    customer (ipix.com) claims 35X performance increase and insures no
    browser gets stale content....w/o any mods to his existing web
    infrastructure.. and he's already on the akamai net.... expects no
    less
    than a 10X ROI in <1yr... just started reading the whitepaper... very
    interesting stuff...
    http://www.dynamai.com
    b.t.

  • JSP NOT REFRESHING PROBLEM

    Hi all,
    I am usng iPlanet 6.0 Application Server and iPlanet Web Server 4.1. Whenever i am changing the JSP it's not refreshing i.e the changes are not taking. But once i stop and restart the server its working
    I changed in the kregedit tool
    in Software\iPlanet\6.0\CCSO\SYSTEM_JAVA\Versioning
    Disable =0
    JSP_CACHE_SIZE = 0
    and i guven even 10 in jsp_Cache_size.
    please if any one knows how to activate the jsp dynamic loading please give me your solutions
    Thanks in advance
    Venkatesan.C

    could this be a problem with your machine/ISP caching the jsp page, even though you set the property to never cache, some ignore this.
    Try 'shift' refresh and all should be well.
    Chris

  • DataGrid Not Resizing to Dynamic Content

    Hello,
    I'm using Flex 3.2. I have an editable DataGrid with no with
    and height specified. I do specify rowCount to something like
    rowCount="dataProvider.length". Everything looks good when the
    datagrid is first rendered with data in it. However, if the data in
    it changes after rendering, then the grid doesn't resize
    accordingly. Actually the grid may resize, but the border/frame
    doesn't.
    Example:
    I have a special TextArea component that grows (vertically)
    as the user types in more lines of text. I use this component as
    one of my item editors. If a cell is first rendered with only one
    line of text, then the user goes in and types additional lines, the
    grid row grow within it's border, but the not the border itself...
    causing some undesired scrollbars.
    I need a way to tell the datagrid to re-calibrate sizing just
    like it does when it's first created. Is there a way to do this? I
    tried datagrid.invalidateSize() and related procedures, but nothing
    happens. What do you think?
    Thanks

    "bfargo" <[email protected]> wrote in
    message
    news:gmcsal$34d$[email protected]..
    >I finding this datagrid sizing to be extremely
    frustrating as to say, HTML
    > tables. I just want it to look good. Anytime I do
    anything with dynamic
    > content, it doesn't size right, or I end up with a bunch
    of ugly
    > scrollbars,
    > etc. I just want to be able to add some content, and
    have the datagrid
    > grow
    > with it.. at least in height.
    > VariableRowHeight is set to true, I try setting rowcount
    to my
    > dataprovider
    > length. Event though the length may be 5, it'll randomly
    throw a bunch of
    > other rows in there. The behavior is just completely
    incoherent (at
    > least to
    > me). Nobody else has these problems? .
    Post code

  • Writing dynamic content using JspWriter

    In my jsp I call a java object this java object calls jspWrtiter.print("some string");
    this prints string that is fine.Suppose I want to write any taglibrary or include another jsp this way is it possible ?
    for example below is my jsp
    <%@ taglib uri="/tld/struts-bean" prefix="bean"%>
    <% myobject..generate(new MyPageContext(pageContext)); %>
    <!-- jsp END -->
    <! -- inside myObject -->
    JspWriter out = getPageContext().getOut();
    out.print("<html></html>");
    out.print("<jsp:include page='jsp/include.jsp' />");
    the second line where I say jsp:include, prints as it is, it does not include that jsp.Is there any way I can have dynamic content not just html through JspWrite print method ?
    miro.

    out.print("<jsp:include page='jsp/include.jsp' />");this is perfectly iilegal as jsp tags are always executed at the server side but not at the client side.
    therefore that would only print something like
    <jsp:include page='jsp/include.jsp' /> in the client broswer page.
    the other way which i can think of is using iframes if you wanna do it @client side.
    something like
    out.println("<iframe src='jsp/include.jsp'  width='100' height='100'  scrollable='no' />");and the other way is making use of AJAX calling the JSP and getting back the content from the JSP and then updating a DIV / SPAN field accordingly.
    Hope this might help :)
    REGARDS,
    RaHuL

Maybe you are looking for

  • Index Usage in 9i changed  when used rownum

    Hi List,My Application is in RBO Here is one more brain twister ? Assume following I Have table SHRI with a single column COL I have created Index on COL column say IND_COL. Now when I run Following query on 8i with AUTOTRACE ON I can see that 8i Use

  • List of open work orders

    Hi all, How to detwermine whether an open work order exist for a particular material and the plant. Is there a transaction where i can check the open work orders given the above input parameter. Regards Hemanth

  • P-Card Issues

    Hi, I am in the process of configuring P-Cards in SRM 5.0 Standalone. I am faced with the following issues: 1. I am not able to see the 'Procurement Card' drop-down field when the shopping cart is being created by the Requisitioner. How do I make thi

  • These i7 4770K Temperatures And Voltage Values Are Normal With Z87-G43?

    Hello everyone, I recently upgraded my good old Core2Duo rig and bought a new cpu-motherboard-ram trio. My new specs is as follows: - i7 4770K @ stock speed + Coolermaster 212Evo cpu cooler - MSI z87 g43 motherboard - 2x4 GB G-Skill Ripjaws X 1866Mhz

  • Mail app crashes after sending 5 photos

    I Tried sending email to myself using mail app on ios 8.1.2 on my 4s. The app crashes. I tried again with mail app and the mail crashed again . I tried again using winzip app directly. Selecting photos and using the winzip app to send. Crashed again.