What is the use of these filters in atg

Hi Guys,
In my web.xml file i have code like this
<filter>
        <filter-name>PageFilter</filter-name>
        <filter-class>atg.filter.dspjsp.PageFilter</filter-class>
    </filter>
    <filter>
        <filter-name>ForwardFilter</filter-name>
        <filter-class>atg.servlet.ForwardFilter</filter-class>
    </filter>
    <filter>
        <filter-name>ErrorFilter</filter-name>
        <filter-class>atg.servlet.ErrorFilter</filter-class>
    </filter>
    <filter-mapping>
        <filter-name>ErrorFilter</filter-name>
        <url-pattern>/*</url-pattern>
        <dispatcher>ERROR</dispatcher>
    </filter-mapping>
    <filter-mapping>
        <filter-name>ForwardFilter</filter-name>
        <url-pattern>/*</url-pattern>
        <dispatcher>FORWARD</dispatcher>
        <dispatcher>ERROR</dispatcher>       
    </filter-mapping>
    <filter-mapping>
        <filter-name>PageFilter</filter-name>
        <url-pattern>/*</url-pattern>
        <dispatcher>REQUEST</dispatcher>
        <dispatcher>ERROR</dispatcher>       
        <dispatcher>FORWARD</dispatcher>
    </filter-mapping>
what is the use of these filters what will happend if i remove these filters in web.xml file
please give me clear picture on these 3 filters and how these filters are helpful in our application.

As the name filter suggest, All the request will go though these filters if certian condition is satisfied
In ATG web.xml contains following filter:
<filter>
    <filter-name>PageFilter</filter-name>
    <filter-class>atg.filter.dspjsp.PageFilter</filter-class>
</filter>
<filter-mapping>
    <filter-name>PageFilter</filter-name>
    <url-pattern>*.jsp</url-pattern>
</filter-mapping>
When there is .jsp in url pattern all the request will go through Page Filter.
Filter is java concept.For More details about Filter, Refer http://docs.oracle.com/cd/E19502-01/819-3669/6n5sg7b0b/index.html
In order to process Jsp request, ATG use Page filter. It converts normal HttpRequest/HttpResponse to DynamoHttpRequest/DynamoHttpResponse. Please refer http://docs.oracle.com/cd/E24152_01/Platform.10-1/ATGPlatformProgGuide/html/s0801requesthandlingwithservletpipeli01.html

Similar Messages

  • What is the use of TCode: OOSE

    Hi,
    Can i know what is the use of TCode: OOSE
    Where i can see a list of entries, let me know what is the use of these option.
    When we would be using it.
    Regards
    Rajesh

    Hi Rafiqh,
    Thanks for your quick response.
    What do you mean by switch, if you can provide me with some example it would be gr8.
    Appreciate your early response.
    Regards
    Rajesh

  • What is the use of PCON, PDOWN, PCTRL members

    Hi ,
    In my application, have seen PCON, POWN, PCTRL members under account dimension. Can anybody explain what are the uses of these members and when we use them?
    Thanks in advance
    Edited by: user10926115 on Mar 14, 2011 10:27 AM

    We have a situation with partial acquisition (step acquisition) as follows, can someone advice if this can be addressed using rules or appreciate a highlevel solutioning for this situation:
    Facts:
    On 1 July 10, say we bought over a subsidiary and own 51%.
    On 1 Jan’11, we acquired the remaining stake and become 100% owner.
    In Hyperion, under the ownership data input, if we input Jan’11 into 100%, will the Hyperion system still retain the previous Minority interest from 1 July’10 to 31 Dec’10? Or will it show ZERO Minority interest and we need to pass a MANUAL adjustment ourselves to reinstate back the MI/NCI?
    We would, obviously, like to automate the calculations per above rather than passing manual journals.
    Thanks in advance.
    regards

  • What is the use of Alternative Calculation Type =2 and 4

    Dear Friends
    In pricing procedure in gross value, Net value for Item and Net value has Alternative calucation type is 2.
    What is the use of it?
    Without using it these value line are also fetching net value then what is the work of it. Please give me detail information with its effects in pricing condition tab page in sales document.
    Thanking You
    Arun

    Arun biswal,
    Correct Biswal. We have at varoius stages within Pricing procedure the "net value" which is calculated. Not only the alternative calculation type "2" is used if you notice carefully they are stored as subtotals at various levels.
    For Ex Gross Value  --> Subtotal =1 --> Calc type = 2
    similarly for Net value for Item --> Subtotal =2 --> Calc type = 2
    Net value 2 --> Subtotal =3 --> Calc type = 2
    See, these are used to calculate the net value at various levels in pricing. The calculation Type has got a set of routines that will facilitate us in pricing. SAP has provided certain clauclated formulas or routines to facilitate us during calculation within pricing . Here the "2" is used for calculation without tax and store it as subtotal and display it or use it for further calculations.
    We can use this "netvalue" amount for further calculations. It is used for clarity purpose when you issue a statement to customer. (like Confirmation order) at various levels like discount amt involved, Freight involved, Rebate amount invloved.....
    Even without this Calc type or using sub total u can proceed....
    Finally we have  TOTAL  --> Subtotal =A --> Calc type = 4
    In the above line we have Calc type as 4, which means when you use TAX this calc type is used .
    Routines are used to facilitate your process....
    Regards
    Sathya

  • What is the use of commit work and rollback work

    hao friends,
    what is the use of commitwork and rollback work where we can use these open sql statements .
    thanks,
    anji

    hi all
    i have written the following code in my development system to change the records of my database.
    SELECT * FROM zyikostl INTO TABLE itab.
      LOOP AT itab INTO wtab.
        tabix = sy-tabix.
        DO.
          READ TABLE itab INTO ktab WITH KEY kostl_alt = wtab-kostl_neu.
          IF sy-subrc = 0.
            wtab-kostl_neu = ktab-kostl_neu.
            MODIFY itab FROM wtab INDEX tabix.
            CONTINUE.
          ELSE.
            EXIT.
          ENDIF.
        ENDDO.
      ENDLOOP.
    MODIFY zyikostl FROM TABLE itab.
    In the development system i have only few records its working fine,but when it is been moved to test system there are 2500 records in the database so the report is taking much time(more than 5 hours )
    i sthere any solution for this ....
    thanks,
    vaasu.

  • What is the use of initial value in a database table?

    Hi can anyone help me in knowing what is the use of initial value which is present besides primary key while creating a table?

    Initial Value:
    Indicator that NOT NULL is forced for this field
    Use
    Select this flag if a field to be inserted in the database is to be filled with initial values. The initial value used depends on the data type of the field.
    Please note that fields in the database for which the this flag is not set can also be filled with initial values.
    When you create a table, all fields of the table can be defined as NOT NULL and filled with an initial value. The same applies when converting the table. Only when new fields are added or inserted, are these filled with initial values. An exception is key fields. These are always filled automatically with initial values.
    Restrictions and notes:
    The initial value cannot be set for fields of data types LCHR, LRAW, and RAW. If the field length is greater than 32, the initial flag cannot be set for fields of data type NUMC.
    If a new field is inserted in the table and the initial flag is set, the complete table is scanned on activation and an UPDATE is made to the new field. This can be very time-consuming.
    If the initial flag is set for an included structure, this means that the attributes from the structure are transferred. That is, exactly those fields which are marked as initial in the definition have this attribute in the table as well.
    hope it helps,
    Saipriya

  • What is the use of production order without material?

    Hi gurus,
    can anyone plz tell what is the use of production order without material?
    n steps involve to perform this task?

    Dear amnpp,
    It's widely used for capturing the rework activities(components and activity cost),both for final rework and inprocess rework
    activities.
    Check these links,
    Rework order manually (not Trigger)
    rework order
    Rework Order Steps
    Re: Coustomization order type for Rework
    Regards
    Mangalraj.S

  • What is the use of provision account in vkoa t.code

    Hi,
    i have a doubt regarding in vkoa t.code there are G/L Accounts column and Provisions column what is the use of provision column and what is the difference between these two.
    i am waiting for u r replies.
    Thanks & Regards,
    Kishore.

    Hi,
    'The provision account is only required if there are conditions that are relevant for accrual, for example, rebate conditions. If this is the case, account determination takes place in the billing document with the field'
    In other words it will be used to store the valuue of a( for eg.,Rebate) condition type in a different GL a/c for the periodic calculation of the total value of the same cond.type...
    chk this thread for more clarity on Accrual
    Re: Rebate Accrual Rate
    Reg
    JJ
    Edited by: Jagsap on Jul 10, 2009 1:03 PM

  • What is the use of delta in BW side when we have delta in R/3

    Hi,
    what is the use of delta in BW side when we are already using delta in R/3 side?
    Like,
    Generic extraction:-
    with different delta extractions (Time stamp, Calendar day, Numeric pointer).
    Lo-Cockpit extraction with change log method.
    Co/Pa extraction with time stamp method.
    So from this delta activation first time full data will be loaded and after that only changed data will be loaded because of these deltas in R/3 side.
    So now my question is what is the exact use of delta in BW side with ODS/DSO because data already reached to BW with delta activation right.
    Can you please explain me what is the exact use of BW delta?
    Thanks in advance.
    Points to be added.
    Regards,
    Shyam.

    The purpose of Delta Queue is same in R/3 and BW.
    In BW, Delta Queue is used to capture changes made to objects within BW. (for Eg: BW Statastics)or Update data from one BW system to another BW system (if you have multiple BW systems).
    Message was edited by:
            Praveen Vujjini

  • Why do we create indexes for DSOs and Cubes.What is the use of it?

    Hi All,
    Can you please tell me why are indexes created for DSOs and Cubes.
    What is the use with the creation of indexes.
    Thanks,
    Sravani

    HI ,
    An index is a copy of a database table that is reduced to certain fields. This copy is always in sorted form. Sorting provides faster access to the data records of the table, for example, when using a binary search. A table has a primary index and a secondary index. The primary index consists of the key fields of the table and is automatically created in the database along with the table. You can also create further indexes on a table in the Java Dictionary. These are called secondary indexes. This is necessary if the table is frequently accessed in a way that does not take advantage of the primary index. Different indexes for the same table are distinguished from one another by a separate index name. The index name must be unique. Whether or not an index is used to access a particular table, is decided by the database system optimizer. This means that an index might improve performance only with certain database systems. You specify if the index should be used on certain database systems in the index definition. Indexes for a table are created when the table is created (provided that the table is not excluded for the database system in the index definition). If the index fields represent the primary keys of the table, that is, if they already uniquely identify each record of the table, the index is referred to as an unique index.
    they are created on DSO and cube for the performance purpose ..and reports created on them wil be also more efficent ..
    Regards,
    shikha

  • What is the use of properites file

    what is the use of properites file

    Hi there
    Usally a program has some variables that the user can set.
    These variables are then saved in a file.
    The Property class can read these files and search for special keys in that file for example
    Lets say that the program that you have developed
    can change its background color.
    the user sets the color to pink
    and the program stores the valu in the property file.
    then the property file entry could look like this
    color = pink
    On windows systems this is verry much like the ini files if you are familiar with these. (I think allmost any OS has something similair)
    In JDK 1.4 there is a new system for dealing with property files. This new class is storing the attributes directly to the register on the os
    /Markus

  • What is the use of Tcode: SM35

    Hi Experts,
    What is the use of Tcode: SM35
    If some one can brief me in detail it would be great help.
    Appreciate your early response.
    Regards
    Rajesh

    Hi Rajesh,
    SM35 is used to run Batch input sessions.
    These sessions can be created via LSMW or any batch-input ABAP program.
    To run a session, select the session and press "Process".
    You can either process foreground (as if you are entering the data), display errors only (runs in background as far as there is no error), background (you need to check the errors when the session is over).
    Regards,
    Dilek
    Edited by: Dilek Ersoz Adak on Dec 16, 2009 4:19 PM

  • What is the use of Tcode : FBE1  ?

    Hi,
    What is the use of Tcode : FBE1  ? with example please.
    Regards.

    Hi,
    FBE1 is used for creating payment advices. You can create payment advices for both vendor and customer. Generally this information you will receive from customers, based on that you can create payment advices. Once payment advices are created, you can use these payment advices when the actual payment information comes from bank statement. By the help of payment advices you can identify the open items based on that you can clear the items.
    Hope u understood.
    Regards
    Srikanth

  • What is the use of tcode mb1c

    hi
    what is the use of tcode mb1c
    pls reply
    thanks in advance

    Hi Ashok,
    The transaction MB1C is used to add the no. of stock to a material.In MIGO transaction you can post all or some of these stock of the material.

  • What is the difference between these two reports MC.1 and MB5L

    Hi
    what is the difference between these two reports MC.1 and MB5L?
    what is the Purpose of each report?
    Material ledger is activated for this plant, we found some amount difference between these two reports, my client accounting department used to compare these two reports while year end/month end closing
    Thanks
    Raju

    MC.1 will give you the report for plant analysis as per plant .
    MB5L report will give you list of stock value as per G/L account wise.

Maybe you are looking for

  • Safari crashes on start up

    Trying to open the application causes the icon to bounce endlessly with the only option being Force Quit. i have recently disinstalled flash. Thanks for any help! Date/Time:       2011-10-27 00:12:39 +1100 OS Version:      10.7.2 (Build 11C74) Archit

  • Runtime Error - TABLE_FREE_IN_LOOP in editable ALV GRID

    While modifying editable ALV Grid, (CL_GUI_ALV_GRID) I am getting an unexpected dump as follows - "Runtime Error          TABLE_FREE_IN_LOOP".    In a Editable ALV grid whenever new row is added using standard append row button, And while saving, i c

  • HTTP Adapter Implementation

    Does anyone have some sort of how-to guide in using the HTTP Adapter ? From the point of having installed to HTTP Adapter - Once you have deployed the Servlet, and have tested that it loops.. I realize there are AQ's to be set up as well. Am not an O

  • Regarding  techanical attributes in the data base tables

    hi gurus,            cud u plz let me know  what will happen if i select buffering not allowed and in buffering type i selected single record buffering,,is it going to work...thnx in advance......pl;z reply in your words dont copy and paste it form s

  • Regarding dynamic internal table

    Hi , I have a requirement where in my date is present in an internal table which is created dynamically . now based on some inputs i need to narrow down the records ,presently I'am deleting the records in  a loop which causes performance problem, Ple