Request for ideas: Postprocessing JSP output in Weblogic

I would like to postprocess and transform an HTML DOM tree after it
has been generated by a JSP. Said another way, I want to capture the
output from a JSP, parse it, and potentially return something
completely different to the client.
I believe servlet chaining is not supported in WLS (I am using
6.1sp1). Any ideas on how to do this kind of thing?
Thanks,
Paul

http://e-docs.bea.com/wls/docs61/webapp/filters.html
Paul <[email protected]> wrote:
I would like to postprocess and transform an HTML DOM tree after it
has been generated by a JSP. Said another way, I want to capture the
output from a JSP, parse it, and potentially return something
completely different to the client.
I believe servlet chaining is not supported in WLS (I am using
6.1sp1). Any ideas on how to do this kind of thing?
Thanks,
Paul--
Dimitri

Similar Messages

  • DataSource Creation - Request for Ideas

    Hi all,
    I need some help with figuring out how to do the following. Your help is greatly appreciated. I've simplified the situation, but this will be a great start.
    I have 2 custom tables
    1) S111 which has fields
        Month
        Mat No
        Goods Receipts
    2) S112 which has fields
        Mat No
        Current Stock Qty
    I need to create a datasource that has the following fields
    -Month
    -Mat No
    -Goods Receipts
    -Stock Qty -- This field stock qty needs to be calculated using a formula (Stock Qty = S112.Current Stock Qty - S111.Goods Receipts)
    Questions
    1) How should I create the datasource?
    2) Should I create a view?
    3) Looks like I need a new table/view with the four fields. Where should I add the new field? Where can I write the formula for calculating Stock Qty?
    If you can give a general idea as to how to proceed with this, that'll be great.
    Thank you,
    Anita S.

    Thanks for your responses. So, I will create a view with all the fields except the one that needs to be calculated.
    Let's say I have data for four months and Stock Qty is initially empty and needs to be calculated.
    Please see the logic for populating the "Stock Qty Field". I need to start with the latest month (May) and then calculate the rest of the months
    Month===Mat# ==== GR===Current Stck Qty----
    Stock Qty (historical - needs to be calculated)   
    Jan08===Mat1001===1=== 150----
    = (137 - 8) = 129    (logic: Stock Qty = Next Months Stock Qty - Next Months GR) 
    Feb08===Mat1001=== 8===150----
    = (143 - 6) = 137   (logic: Stock Qty = Next Months Stock Qty - Next Months GR)  
    Mar08===Mat1001=== 6===150----
    = (147 - 4) = 143   (logic: Stock Qty = Next Months Stock Qty - Next Months GR)          
    April08===Mat1001=== 4===150----
    = (150- 3) = 147    (logic: Stock Qty = Next Months Stock Qty - Next Months GR)                           
    May08===Mat1001===3===150----
    =150    (logic: for the latest period, Stock Qty = Current Stck Qty)
    Can the logic be implemented in BW or do I need to take care of this in R/3?
    Your help is very greatly appreciated.
    Thanks,
    Anita

  • Snow Leopard Chinese Input System Demo & Request for ideas to improve it

    I had been looking for a detailed Snow Leopard Chinese Input System demo online for sometime and failed. What I found were just short video clips of people trying to use the system for a few words here and there, nothing detailed. So I've taken the initiative to create such a video and hope people interested learning more about the Chinese Input System may find it useful.
    http://kempton.wordpress.com/2009/10/28/snow-leopard-chinese-input-system-demo/
    I like the system and like to see users of the system sending in suggestions to Apple for them to improve it and make the system even better.
    Here are some comment/ideas of mine,
    1) I love the predictive word association, it has saved me time in entering many words.
    2) Add an "undo" to the track pad input.
    Sometimes I see the right word predicted but my hand was too fast and I added a dot or stroke that takes out the word I want.
    3) My pen stroke order sometimes ***** and this mess up the recognition system badly.
    I wonder will it be difficult to implement a display tool that
    given a passage of "Chinese text" as input
    have the system "display" the "correct" pen strokes order of how the words are expected in the system. The stupidly simple word “生” should not take 20-30 seconds for someone to fight with the system to get the correct recognition.
    Here is how I captured some of my thoughts earlier this month in Chinese typing the article in Snow Leopard,
    自從九月 [...],我便開始用Apple Snow Leopard新的中文輸入系統。當時我寫
    “打本文某一㘹字時慢到我想死 (一笑)!希望將來我的中文輸入會快一點吧!”
    我現在有點經驗使用這中文輸入系統,慢慢開始熟練,寫文章都叫做幾快。以下是我的一些觀察,
    1) 輸入系統的”聯想”(predictive word association)有時可以幫我寫小好幾個字。
    2) 輸入系統非常依靠正確的筆劃順序。不幸我寫得不太好,所以有時候我要同一字寫多次才成。
    3) 冇undo。有時我寫得太快,加多一箑一點,字便變了。冇undo,很不方便。

    Make sure you also send your ideas for improvements to Apple via this link:
    http://www.apple.com/feedback/macosx.html
    (In these forums you are only reaching other users like yourself)

  • I am trying to install the OS Mavericks upgrade on my MAC and it requests for me to enter an administrator password. I do not use an an administrator password on the machine. Any ideas how to resolve this?

    I am trying to install the OS Mavericks upgrade on my MAC and it requests for me to enter an administrator password. I do not use an an administrator password on the machine. Any ideas how to resolve this?

    If you bought the machine new yourself, and did not enter a password when configuring it, leave the field blank.
    If you bought it used, then you need to reset the password, as described here:
    Apple Article to reset the password

  • Struts tag for request.setAttribute() in a jsp page

    Hello All
    Does anyone know struts tag that can be used for request.setAttribute() in a jsp page?
    Thanx in advance.

    Well
    <bean:define id="foo" name="newsIdAttribute" scope="request" type="java.lang.String" />is equivalent to
    <%
    (java.lang.String) foo = (java.lang.String)request.getAttribute("newsIdAttribute");
    %for setting bean properties you might have to use
    <jsp:setProperty/> or <c:set/> tags in JSP / JSTL respectively.
    Hope this might answer your question :)
    REGARDS,
    RaHuL

  • Feature Request: Support for .idea and .psdx extensions

    I've noticed that Adobe Bridge does not have any support for .idea and .psdx files.  The .idea files will show a idea file icon but the .psdx will be a blank, unknown file icon.  Both do not show any preview in Bridge.  I do not know why this is as previews for these files can be seen when they are uploaded to creative cloud or the new creative cloud mobile app.

    Hi,
    I've logged an enhancement request on this.
    Thanks,
    David

  • Weblogic 12.1.1 increases threads with 'Retry rollback request for tx:' How to fix ?

    Hello, Weblogic 12.1.1 increases threads with 'Retry rollback request for tx:'  And in all threads Xid is identical
    For this reason, the server begins to work very slowly and ultimately it is necessary to restart.
    The problem is similar to the Doc ID 1287437.1  - WebLogic Server Retries Rollback Request Threads Until Server is Out of Resources. But we have a version 12.1.1 , not 10.3.3.
    The sample in the screenshot.
    Help me please, thanks

    Hi,
    Increasing the size of the redo logfile size may reduce the number of switches as it takes time to fill the file up but your system's redo generatin will stil be the same. Reduce the frequent commits.
    Use the following notes to further narrow down the possible root cause.
    WAITEVENT: "log file sync" Reference Note [ID 34592.1]
    WAITEVENT: "log file parallel write" Reference Note [ID 34583.1]

  • Need Sample Request for Proposal(RFP) for Weblogic Server

    Hi,
    I need Request for Proposal (RFP) document of Weblogic server 11g preferably. please guide.
    Regards,
    Noman

    I encourage you to contact your local account team. Depending on your location, you should be able to find out that is by using the support sales number.
    http://www.oracle.com/us/corporate/contact/index.htm

  • Why the debug arp output the follow imformation "IP ARP throttled out the ARP Request for 10.170.254.13"

    In the network,sometimes,I can't ping some servers,the getway is in the switch 4507,if I connect my computer in the vlan what the servers in,I will not ping the getway successful,and the computer can't learn the getway's MAC.In the same time I debug arp in the 4507,the output is :
    "Jun 20 07:36:21.225: IP ARP throttled out the ARP Request for 10.170.254.46
    Jun 20 07:36:21.225: IP ARP throttled out the ARP Request for 10.170.254.13
    Jun 20 07:36:21.227: IP ARP: sent req src 10.170.252.30 b838.6168.3c7f,
                     dst 10.170.252.82 0000.0000.0000 Vlan252"
    If I reload the 4507,I could ping the getway ,and the servers.
    I think it's ARP attack,the machine who was the question one  is  send a lot of ARP request ,that let the 4507's ARP cache full ,and than overflow. My computer wants to request the getway's MAC ,the message is discard.SO my computer can't ping the getway.
    Can someone tell me, am I right? It's very important for me.
    and tell me ,how can i do ? I'll wait online.
    thank you very very much. 

    Have a look at this document for troubleshooting ARP throttled issues
    http://www.cisco.com/c/en/us/support/docs/ip/express-forwarding-cef/17812-cef-incomp.html
    HTH

  • Enhancement request for the jsp visual editor

    Hello -
    With respect to the visual editor, could the rendering of adf faces command buttons work the same if you use the TextAndAccessKey instead of Text to define the button text? In 10.1.3, using TextAndAccessKey will cause the buttons to render as either thin buttons without any text (but with 'normal' button height) or barely noticable 'dots' about the size of a comma. (When I see the "dots" it is usually a button in a table selection component.)
    With the buttons appearing "empty", I need to click around a bit and examine the button in the property inspector to make sure that I am working with the correct button.
    Thanks,
    -- Scott

    Hi,
    Open wss_mediumtrust.config & wss_minimaltrust.config. SharePoint 2013(C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\config\).
    Find in wss_mediumtrust.config:
    <SecurityClass
     Name="SqlClientPermission"
     Description="System.Data.SqlClient.SqlClientPermis sion, System.Data,
     Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
    Copy and paste it in to the <SecurityClasses> node of wss_minimaltrust.config.
    In the PermissionSet section of this configuration file, add the following:
    Find in wss_mediumtrust.config:
    <IPermission class="SqlClientPermission" version="1" Unrestricted="true"/>
    Copy and paste it in to the a <PermissionSet> node of wss_minimaltrust.config.
    Here is a similar thread for your reference:
    https://social.msdn.microsoft.com/Forums/en-US/a1c8f2bf-2575-40b4-87f1-4f98462b3234/request-for-the-permission-of-type-systemdatasqlclientsqlclientpermission-systemdata-version?forum=tfssetup
    Best Regards
    Dennis Guo
    TechNet Community Support

  • A Tip for using EJB 3.0 with WebLogic Ant Tasks

    I started out writing this up as a problem, but then I found the answer so I'm, posting a tip instead.
    When I tried to write an EJB [stateless] using EJB 3.0 in my legacy Weblogic ear project I started getting this error:
    <pre>
    No EJBs found in the ejb-jar file 'test'. Please ensure the ejb-jar contains EJB declarations via an ejb-jar.xml deployment descriptor or at least one class annotated with the @Stateless, @Stateful or @MessageDriven EJB annotation.
    </pre>
    This is why: wlcompile will put the class files in the App-Inf/classes directory unless it finds an ejb-jar.xml file in the META-INF directory for the module it is working on. With EJB 3.0, I wasn't using an ejb-jar.xml file because it was unnecessary. Later, Appc runs and it complains <b>because there are no classes module directory, they went into the shared ear folder instead.</b>
    Here's I how it working again: Use javac [not wlcompile] to compile the EJB 3.0 module and make sure that the class files go into the correct module directory. Then you can use wlappc to generate all the associated files for the EJB. I have sucessfully deployed an ear file that uses both EJB 2.x and EJB 3.0 with this approach.
    I wish Weblogic's own ejb3.0 sample application used their split directory deployment.
    Good Luck.
    John Aronson

    Hi John,
    I am working on development an enterprise application using EJB 3.0 on Weblogic 10.
    While developing, I am keeping all my classes (from ejb's as well as web) into APP-INF/classes directory. It is working fine for Web and ejb 2.0 packages, but ejb 3.0 packages, I get the following error when I keep my ejb 3.0 beans classes in APP-INF/classes directory.
    No EJBs found in the ejb-jar file 'customer'. Please ensure the ejb-jar contains EJB declarations via an ejb-jar.xml deployment descriptor or at least one class annotated with the @Stateless, @Stateful or @MessageDriven EJB annotation.
    One solution is to keep the classes under customer ejb directory, but I wan tto keep all the classes in APP-INF/classes directory so that when using Eclipse IDE I can output all compiled sources into APP-INF/classes directory.
    Has anyone faced this situation? Any suggestions to fix this issue?

  • Request for proper information and to refuse to help when it's missing

    On behalf of many of us volunteers who are getting tired of guessing the environment of those who are asking for help, I hereby
    ASK ALL VOLUNTEERS TO STOP RESPONDING TO REQUESTS FOR TECHNICAL ASSISTANCE THAT DO NOT PROVIDE SUFFICIENT INFORMATION
    In general, sufficient information should include:
    1) Operating system and Service Pack, not just the family.
    - Vista is a Family of operating systems. Insufficient information (need Home, Home Premium, etc.)
    - XP is a Family of operating systems. Insufficient information (need Home, Professional, etc.)
    - Linux is a Family of operating systems. Insufficient information (need Oracle Enterprise Linux 4 Update 4, Red Hat EL 4 Update 2, OpenSuSE 10.3, Fedora 8, etc.)
    2) Version of database installed to 4 digits (9.2.0.6, 10.2.0.3, 11.1.0.6) and the database's ORACLE_HOME and ORACLE_SID
    3) Which product being used to access the database, which computer that product is on, and the Oracle Home from which the product is run. (SQLPlus, same home as the database)
    4) The output of lsnrctl status, the contents of the tnsnames.ora and the contents of the listener.ora
    5) The output of the ipconfig /all or ifconfig and of hostname
    6) Copy paste of the actual error message, not just a paraphrase of part of a line..
    Any other ideas?

    I am not requesting this to be enforced by the forum.
    I am requesting that people like you and me reply by linking to this thread (or to the other excellent related threads) INSTEAD of replying. If we do it consistently, eventually the newbies will also enforce it voluntarily, and that will cut the useless teeth-pulling-effort replies to a minimum.
    In your 90% posts figure - you do realize that that means 90% of the posts are badly formed and are wasting your time as well as mine.
    Or - if they were properly formed - you and I could answer that with a lot less effort and a lot faster. With the implication is that the person asking would generally get a resolution a lot faster as well. Net result - you and I get to sleep more (or answer more questions) and people with problems are happier because they get them resolved faster.

  • Print automatically a request for quotation and purchase order

    hI,
    I create a new message ZNEU and I link a new form.
    I want the system creates automatically the message ZNEU when I save my request for quotation.
    In transaction NACE, I specify the output type ZNEU
    My Access sequence is 0001   DocType/PurchOrg/Vendor
    I specify a procedure RMBEA1 Purchasing RFQ
    Then I put in step 10 the condition type ZNEU and a requirement 101
    I just copy the message NEU in ZNEU.
    And in condition record ( tcode MN02)  I create the output type with combinaison purchasing output determintation document type.
    With all these datas I haven't anything when I save the RFQ?
    I have the same problem with purchase order.
    Anybody have an idea?
    Thanks a lot for your help
    Kari

    Hi,
    For RFQ create outut condition using MN01 transaction give your output tpe ZNEU and choose the option doc type as AN and give your purchase group.give transmission medium 1 and time 4.In communication method give printer name and tick print immediately and save.Then while creating RFQ for that purchase group message will come automatically.
    For PO create output condition using MN04 transaction and document type is EF.Repeat the same like RFQ.
    Hope it will solve your issue.

  • Help on jsp:output

    I am trying to use the <jsp:output> tag within jdeveloper10.1.2, but it is not included within the tags for JSP in the component pallete, so I keep getting an error. Any idea, pls ?

    jsp:output is a J2EE 1.4 JSP 2.0 tag.
    JDeveloper 10.1.2 provides only the JSP 1.2 tags.
    http://java.sun.com/products/jsp/syntax/1.2/syntaxref12.html
    JDeveloper 10.1.3 supports J2EE 1.4 (JSP 2.0).
    Some of the JSP 2.0 tags are not in the Component Palette.
    jsp:output tag, jsp:invoke and jsp:text tags which are jsp 2.0 tags are not in the Component Palette.
    http://java.sun.com/products/jsp/syntax/1.2/syntaxref12.html

  • Selection Screen - From ...on Value Request  To ... Output (PBO) ?

    Hallo,
    I have the following problem:
    I want to jump after a SelectionScreen On Value-Request Block to the SelectionScreen Output Block. But Abap doesn´t go there afterwards.
    My "trigger" for the value Request is a normal edit field, so unfortunately I can´t give a User-Command with it.
    My intended action is: If I get new information in the value request part, I´d like to set a checkbox initial (remove the check). I can implement this code in the value request block, but it doesn´t work. It only works in the Output Block.
    Does somebody have an idea?
    TIA and Regards

    Hi
    The event AT SELECTION-SCREEN ON VALUE_REQUEST can update the field managed by the event, if you need to update other field in according to the selected value u need to use the fm DYNP_VALUES_UPDATE:
    parameters: p_1,
                p_2.
    at selection-screen on value-request for p_1.
      DATA: DYNAME LIKE  D020S-PROG,
            DYNUMB LIKE  D020S-DNUM,
            DYNPFIELDS TYPE TABLE OF DYNPREAD WITH HEADER LINE.
      DYNAME = sy-repid.
      DYNUMB = sy-dynnr.
      DYNPFIELDS-FIELDNAME  = 'P_2'.
      DYNPFIELDS-FIELDVALUE = 'X'.
      APPEND DYNPFIELDS.
      CALL FUNCTION 'DYNP_VALUES_UPDATE'
        EXPORTING
          DYNAME     = DYNAME
          DYNUMB     = DYNUMB
        TABLES
          DYNPFIELDS = DYNPFIELDS.
    Max

Maybe you are looking for