How to define initialization parameters in iWS6.0sp2

I need to define an initialization parameter in iWS6.0sp2, this parameter will be used by all my servlets in an web application.
parameter name: paraName
parameter value should be a string: "c:/xxx/xxx/xx"
I want to get this parameter in my servlet using :
getInitParameter("paraName")
it looks like I need to define it in the web-apps.xml, but not sure.
Can somebody tell me where and how to define it. Thanks in advance.
John

Hi,
You can define initargs in servlets.properties file and refer that from web-apps.xml.
check this link for more details
http://docs.iplanet.com/docs/manuals/enterprise/50/servlets/war.htm
Regards
T.Raghulan.

Similar Messages

  • How to define RFC parameters

    Hi Experts,
    i am using a RFC FM to from SRM system to ERP system. in ERP system the RFC FM parameters refer to some structures or tables which are not in SRM system.
    but i should transfer these parameters in SRM system to call this RFC.
    can anyone tell me how to define the parameters in SRM system?

    Hello,
    I also had to work with RFC to call SRM function module from an ECC system. I recommend you very strongly to create your own RFC function module in SRM and your own DDIC structures in both systems with just the fields you need. This custom SRM RFC function module, map the parameters to the standard 100+ field DDIC structure and call the SRM function module (not using RFC at this time of course).
    Why did I say "very strongly" : DO NOT duplicate the 100+ field DDIC structure from SRM to your RFC client system (by transport or manual copy), because some support packages add fields to some include structures of the complex structure, and they are inserted somewhere in the middle, and so it probably makes obsolete your duplicated DDIC structure.
    Hope it's clear
    sandra

  • How to define FORMAL parameters for TABLES in OOPS?

    Hello Experts,
    Below is the custom code, would like to put in a user-exit
    PERFORM my_routine
    IN PROGRAM my_report
    TABLES standard_sap_vbap_tab
    USING standard_sap_variable
    CHAGING standard_sap_variable
    Pls. let me know How to write the FORM in perspective of data objects defination in OOPS for the above routine.
    FORM here_pl_let_me_know_how_to_define_the_data_objects
    ENDFORM.
    Thank you
    Moderator message: please search for available information/documentation before asking.
    Edited by: Thomas Zloch on Nov 10, 2010 3:40 PM

    This is a very basic question. F1 help on statement form will do.

  • How to define this FORMAL parameters for a std. SAP itab?

    Hello Experts,
    Am writing a custom PERFORM in a standard SAP include-RVCOMFZZ by using modification assistant, like below,
    RVCOMFZZ:
    PERFORM my_routine IN PROGRAM my_report USING com_vbapvb.
    (here com_vbapvb is a TABLES parameter  with STRUCTURE of vbapvb in the std. sap FM).
    my_report:
    FORM my_routine USING here_I_want_to_know_the_data_object
    ENDFORM.
    Here pls. let me know How to define the FORMAL parameters of my_routine? I tried with different options, but did not worked out. Preferable let me know in OOPS concepts (not using TABLES)
    Thank you

    Hi,
    here is example how to write you structure content  regardless what com_vbap has field list.
    PERFORM my_routine IN PROGRAM my_report USING com_vbapvb.
    FORM my_routine USING here_I_want_to_know_the_data_object.
      field-SYMBOLS: <field> type any.
      do 100 times.
        assign COMPONENT sy-index of structure ls_VBAPVB to <field>.
        if sy-subrc = 0.
          write:/ <field>.
          else.
          exit.
        endif.
      enddo.
    ENDFORM.
    Bye Jan

  • How to define  parameters with radio button

    HI
      How to define  parameters with radio button, but that radio button should display in front of the variable name not after variable name. and under that radio button variable I hve to define parameters, select-options and some other radiobutton varibles.
            I don't know how to paste figures here, otherwise i will provied u the figure for more details.
    Regards.

    PARAMETERS : r1 RADIOBUTTON GROUP radi.
    Go to --> text elements --> selection text
    R1    <your text>
    You can change the program selection screen lay out in screen painter (se51) .
    screen number for your selection screen is 1000.
    Regards,
    Santosh reddy
    Edited by: Santosh Reddy on Dec 9, 2008 11:21 AM

  • How to hide dynamic parameters values in the URL with Reports 6i

    Hi,
    I want to know a way of hiding the parameters values when asking for a report through the web.
    Now I'm using the Reports 3.0.5.8 with a Cartridge defined in the Oracle Web Application Server 3.0.1.0.1. When you ask for a report with the parameters DESTYPE = cache and DESFORMAT = pdf, it is fully generated and in the Address or Location box of the browser, you can see http://webserver/cache/report.pdf (where cache is the virtual directory defined in the OWAS in which the .pdfs are cached). So, users cant see the Url used to generate the report.
    Im trying to upgrade this configuration to Reports 6i with Cgi in a web server. I generate reports with no problems. The problem I have is I cant find how to hide the parameters values as before. I mean, when I ask for a report, once its generated I can see http://webserver/cgi-bin/rwcgi60.exe?server=ServerName&report=report.rdf&userid=user/pass@connection&destype=cache&desformat=pdf&P1=value1&P2=value2 in the Location box. It allows user to ask for another report changing the values of the parameters. I use these parameters to execute some query written in the Data Model. For example, imagine that the P1 represents the company id, the user (that is supposed to see only data of its company) can change this id, ask for a new report and see data of another company.
    Ive already tried to use the key mapping option, but its not useful to me because the parameters values are dynamic and its impossible to define different entries in the cgicmd.dat for each possible value. The option of loading the parameter form before running a report is not useful to me either, because there exists specific screens for this purpose.
    Is there any solution?
    Thank you.
    Marma Bonfiglio.

    Hi Rakesh,
      I am using BI  7.0
    The last option I have is 'Hide' for 'Calculate single values as' .
    I have the below options  for 'Calculate single values as'
    1. Normalise  according to Next group  level  Resul.
    2. Normalize according to  Overall Result
    3. Rank number
    4.Olympic Rank Number
    5.Maximum
    6. Minimum
    7.Counter for all detailed values
    8.Counter for all detailed values that are non zero
    9.Moving average
    10.Moving average  That is  Not zero ,null or Error
    11. Hide.
    So could you please tell me where i can find 'suppress result' option for the keyfigure .
    Many thanks

  • How does works default parameters in a program with logical database PNP?

    Hi Friends,
      I have a basic program, i need to filter info with period parameters in a program that uses logical database PNP, but it doesn't work.
      If i use "person selection period" that it's suposed to filter info according to infotype 0001 (as the sap help says), it doesn't work, i use: PNPBEGPS = today and PNPENDPS = today, and the result it's a lot of registers that doesn't meet that criteria.
      Also i tried with: data selection period, today, up to day, current month. And the result it's with the same problem.
      How does works period parameters in a program with logical database PNP?
    This it's the program example, i use the default category.
    REPORT  ZRPHRTEST.
    tables: pernr.
    infotypes: 0001.
    start-of-selection.
    get pernr.
      write: pernr-pernr, p0001-begda, p0001-endda.
    end-of-selection.
    write 'fin'.

    Hi,
    Define pernr table under tables statement then and use GET PERNR event.This get event is followed by End-Of-Selection.
    Syntax: Tables pernr.
                Get pernr.
    Try, activate and test. This should solve your problem.
    Regards,
    Abhijeet

  • How to send input parameters to a file adapter module

    Hi all,
    i have a requirement like , i need to pick a file from a file server based on a condition. that condition we write in adapter module (in file sender channel).
    the condition needs some input , so how can we send input parameters to adapter module.
    please suggest me some way,
    thanks in advance
    jhansi

    hi jhansi,
    u define the parameters to send to a module in 'module configuration' (in module tab) by giving the key to identify the module for which u r giving giving the parameters.
    for details refer this:
    Adapter module
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/02706f11-0d01-0010-e5ae-ac25e74c4c81
    This is all u have to do
    http://help.sap.com/saphelp_nw04/helpdata/en/8b/895e407aa4c44ce10000000a1550b0/content.htm
    [reward if helpful]
    regards,
    latika.

  • How to define the application parameter 'sap.xss.BaseConfigurationID'

    Hello All,
    I am developing a webdynpro ESS custom self service application. I have completed the development of the DC. But at the end when I am creating the application for the DC, I am not able to figure it out how to define the application parameter 'sap.xss.BaseConfigurationID' for the application. I have defined remaining all the parameters as specified in the following link.
    [http://help.sap.com/erp2005_ehp_03/helpdata/EN/43/3b95dab4ab1800e10000000a1553f6/content.htm]
    Could any one please detail the process to define the parameter 'sap.xss.BaseConfigurationID' ?
    Thanks a lot.
    Regards,
    Seshu.

    Pick a representative file.
    Get info. (Command-i)
    There you will see a place "Open with" where you can select the application for that file.
    Hit the "Change all..." button to do this for all files of this type.
    charlie

  • How to define a BW/BI system in Portal using BI SAP Query Connector.

    Hi,
      How to define a BW/BI system in Portal using BI SAP Query Connector.
    Portal>System Administration>System Configuration-->Portal Content >New System (from PAR)>com.sap.portal.systems.bi-->
    How to retrive the parameters required from a BI 7.0 System.
    Thanks

    Hi,
    You can refer to this link:
    http://help.sap.com/saphelp_nw70/helpdata/EN/c9/b0c8ce704d40fbb18312f8e65b4b0b/content.htm
    Hope it will be helpful.
    Best Regards,
    Assaf Klieger

  • How to define a text index in data modeler

    Hello,
    how to define a text index (indextype is ctxsys.context) in data modeler?
    The SQL-command would be:
    create index P1_TEXT_BESCHR_SPRACHE on P1_PDM_MODUL_SPRACHE(BESCHREIBUNG) indextype is ctxsys.context
    parameters ('lexer global_lexer language column LANGUAGE format column FORMAT STORAGE PDMSTORE')
    online
    Thanks in advance for any help.
    Monika

    Hi Monika,
    After creating relational model, you'll have to create physical one. In physical model there is index properties dialog, where you can adjust context index properties.

  • Defining more parameters than a query needs

    Hi.
    When I run the following code, I get the error "ORA-01036: illegal variable name/number" .
    The problem is that I currently define more parameters than the query needs. Thats because I don't know how many bind variables the query uses, and I would not like to parse the query ...
    I don't understand why I have to define exactly the same number of parameters, and in the exact order ... It doesn't make sense. As bind variables have names, there should be no problem passing more parameters or parameters in a different order: the binding should be done by name...
    I'm currently using Oracle10g, ODP.NET and .NET Framework 2.0.
    I would appreciate any help ...
    Thank you.
    Ricardo Coimbras
    ===== BEGIN VB.NET CODE =====
    Sub Execute_Query(ByVal SqlString as String)
    Dim ObjCmd As OracleCommand
    Dim DataAdap As OracleDataAdapter
    Dim outDsCorpo As DataSet
    Dim Constroi_Conn_String_Oracle As String
    Dim mObjConnOracle As OracleConnection
    Constroi_Conn_String_Oracle = "User ID=uuu" & _
    ";Password=ppp" & _
    ";Data Source=bd" & _
    ";Pooling=false"
    mObjConnOracle = New OracleConnection(Constroi_Conn_String_Oracle)
    mObjConnOracle.Open()
    ObjCmd = mObjConnOracle.CreateCommand()
    ObjCmd.CommandType = CommandType.Text
    ObjCmd.CommandText = SqlString
    ObjCmd.Parameters.Add("p1", OracleDbType.Char, 3, "001", ParameterDirection.Input)
    ObjCmd.Parameters.Add("p2", OracleDbType.Char, 3, "001", ParameterDirection.Input)
    DataAdap = New OracleDataAdapter(ObjCmd)
    outDsCorpo = New DataSet()
    DataAdap.Fill(outDsCorpo)
    GridView1.DataSource = outDsCorpo
    GridView1.DataBind()
    DataAdap = Nothing
    ObjCmd = Nothing
    mObjConnOracle.Close()
    mObjConnOracle.Dispose()
    mObjConnOracle = Nothing
    End Sub
    Execute_Query "select * from map.t_mapa_def where mapa_def_cod = :p1 order by mapa_def_cod"
    ===== END VB.NET CODE =====

    Hi,
    BindByPosition is the default behavior as per the docs, and you can change that by setting cmd.BindByName=true which adds a little bit of extra overhead.
    That wont fix the error seen when binding a random number of parameters to the statement though. You need to bind the correct number and types of parameters.
    Greg

  • Regarding initialization parameters

    Hai all,
    Can anybody please help me regarding this initialization parameters like
    1.what is correct value (how to find)
    2. indetail about each parameter
    1._optimizer_mjc_enabled
    2.max_dump_file_size
    3.optimizer_index_caching
    4.optimizer_index_cost_adj
    5.parallel_execution_message_size
    6.parallel_max_servers
    7.parallel_threads_per_cpu
    8.processes
    9.sessions
    10.shared_pool_reserved_size

    Following link would be the best place to get the details about all initialization parameters.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_2013.htm#i2154767
    As regards to the best value, most of them would be your database specific. Start from oracle defaults for hints and go from there.

  • Initialization Parameters for Servlet

    I am working with Tomcat Apache server 6.0
    I am not able to pass initialization parameters to my servlet program.
    Please tell me how to do it.
    Thanks.

    use <init-param> in <servlet> tags
    it is set in the web.xml which is located in the directory of "webapps/yourwebapp/web-inf/"!
    If you want to get more informations about its setting, google it with "init-param web.xml"
    Best regards!

  • Initialization Parameters for JSPs ??

    Hi All,
              Is there any way to provide Initialization Parameters for JSP ??
              If so how should it be done on Weblogic ??
              Thanx In Advance,
              Navaneeth.
              

    Hi Navaneeth ,
              If we want to provide Initialization parameters for jsp , we need to register a JSP as a servlet using the <servlet> element.
              Registering a JSP as a servlet allows you to specify the load order, initialization attributes, and security roles for a JSP, just as you would for a servlet.
              <servlet>
              <servlet-name>MainServlet</servlet-name>
              <jsp-file>/myapplication/critical.jsp</jsp-file>
              <init-param>
              <param-name>Name of the Parameter</param-name>
              <param-value>Value of the Parameter</param-value>
              </init-param>
              </servlet>
              go through the link ,you will find the documentaion on this
              http://e-docs.bea.com/wls/docs81/webapp/components.html#100437
              http://e-docs.bea.com/wls/docs81/perform/AppTuning.html
              -----Anilkumar kari

Maybe you are looking for

  • Execute procedure on oracle apex online

    Hi All CREATE OR REPLACE PROCEDURE TEST_PROC AS V_FNAME EMPLOYEES.FIRST_NAME%TYPE; BEGIN SELECT FIRST_NAME INTO V_FNAME FROM EMPLOYEES WHERE FIRST_NAME = 'JOHN'; DBMS_OUT.PUT_LINE(V_FNAME); END; I have made this procedure on sql worksheet of http://a

  • I have a 2009 Mac mini and the wireless card has never worked, would I be able to cover it with my three year extended warranty?

    I have a 2009 Mac mini and the wireless card has never worked, would I be able to cover it with my three year extended warranty?

  • Out of memory by writing to files

    Hello, I have a very anoying problem. I've written a self-learning program that parses a lot of sentences (> 800.000). For the storage of my objects i use hashmap and the program is very quick. It parses 300.000 sentences an hour. After the training

  • Deployment of reports using SSRS

    I am using VS2012 and SQL Server 2012 and I am developing a WinForm application. What choices do I have for deploying the reports associated with the Solution. The obvious one is the Report Manager. Is there another option? Thanks, John

  • Upgrade Educational  Photoshop Cs3 Extended

    Hi everybody. I'm an italian student and two years ago I bought a license for Adobe Photoshop Cs3 Extended, the educational version. I was wondering if it is possible to upgrade my version of Adobe Photoshop Cs3 to the educational version of Adobe Ph