Where do i get All possible response headers

Hi...
Where doi get all the possible headers which i can set in response.setHeader(...)of JSP or Servlet
Thanks

not 100% sure but you might have a look at http://www.w3c.org (www consortium).
alternatively you might use google or another search engine to search for something like "hypertext transfer protocol" and "headers"

Similar Messages

  • Getting all possible ordering of vector

    hello
    I need to find all possible order of a set of vector I mean if I have the following:
    0
    1
    2
    all posssible would be:
    0 1 2, 1 0 2, 2 1 0, 1 2 0, 2 0 1, 0 2 1
    I have tried to use the swap but I didn't get all possible set
    I have used the following code:
    Code:
    for( int x=0;x<vector.size();x++)     {            
    for ( int w=0;w< vector.size();w++){
    Collections.swap(vector, x, w);}}
    as I said before the swap method didn't provide me the result I want
    can somebody tell me how to do it please urgent

    warnerja wrote:
    rdkh wrote:
    Sorry I had to wait a few days to do this for you. Here is a "very creative" solution:
    ... (code snipped)If by "very creative" you mean "incorrect" or at least "convoluted", then you're right.As I always ask questions, I watch for any chance to contribute to the forum. But as I don't have confidence and knowledge, I only post info I read in a book or google, and code that compiles/works correctly. As far as I can test, my code works correctly.
    I was inspired by a "very creative" way to calculate "pi" using a circle in a square and random numbers. With modern processors, knowing where to start and end is sometimes enough. Let my CPU tear into the problem, keep guessing to get "pi" to infinite precision, let the computer keep guessing until the requested collection of Vectors is found. While not AI, I find elegence in this approach.
    P.S.
    if(!used.contains(rnd)) {
    used.add(rnd);
    v.add(rnd);What's the point of both "used" and "v" containing exactly the same set of values? One of these is redundant.
    And have you heard about Random.nextInt(int n)?I just know very basic APIs (thats why I hang-out only on "New to Java" forum). As you told me: "Set<Integer> used = new HashSet<Integer>();" was not needed.
    And a special "thank you" goes out to you for trying to do a lazy bum's homework for him/her. May you end up "working with" such a person.ok, but I warned that my code is "proof of concept" and I said I wrote it just for fun, and it works correctly.
    Edited by: rdkh on Jan 11, 2010 4:58 PM

  • Where do I get all SAP WM transaction codes for user acceptance test ?

    Hello experts,
    Where do I get all SAP WM transaction codes for user acceptance test during cutover activities?
    I need the list of transactions.
    Thanks in advance

    Hi,
    You can download through Solution Manager also. If ASAP is installed in your computer, you can download all the standard transactions, otherwise let me know your id, i will send it to you.
    Aktar

  • HT1424 Where do I get all the details to set up a VPN

    I want to use my VPN but I need to know where to get All the details to put in

    Hi...
    Help here >  iOS: Setting up VPN

  • How to get all possible values of a property

    I have a single-valued restricted property which has a number of predefined values.
    I want to be able to get all of these values to use to populate a drop down list in my portlet.
    Does anyone know how I can do this?

    Hello Angela,
    Here is an example portlet that I wrote for WLPS 2.0. It should work for WLPS 3.1 also, but it
    didn't verify it on 3.1 yet. The key is that you have to use the SchemaManager to get a Schema
    which will allow you to get get PropertyMetaData. See the javadoc for more information.
    Here you go:
    <%-- This JSP page lists the restricted values for a multiple restricted property --%>
    <%@ page import="java.util.*" %>
    <%@ page import="com.beasys.commerce.axiom.util.helper.JNDIHelper,
    com.beasys.commerce.foundation.property.SchemaManagerHome,
    com.beasys.commerce.foundation.property.SchemaManager,
    com.beasys.commerce.foundation.property.Schema,
    com.beasys.commerce.foundation.property.SchemaManagerConstants,
    com.beasys.commerce.foundation.property.PropertyMetaData,
    com.beasys.commerce.axiom.util.ToolkitException,
    java.rmi.RemoteException,
    javax.ejb.CreateException" %>
    <%@ page extends="com.beasys.commerce.axiom.jsp.JspBase" %>
    <%
    I used the admin tool to create a "test" property set with
    a multiple, restricted text property called "restrictedWords". The
    allowable values are "how", "now", "brown", "cow". I selected one
    default value ("brown").
    SchemaManagerHome smh = null;
    try
    smh = (SchemaManagerHome) JNDIHelper.getHome("com.beasys.commerce.foundation.property.SchemaManager");
    catch (ToolkitException e)
    e.printStackTrace();
    PropertyMetaData metaData = null;
    try
    SchemaManager sm = smh.create();
    // Get the schema for the user/group property set called "test"
    Schema schema = sm.getSchema("test", SchemaManagerConstants.USER_TYPE);
    // Get the meta data for the "restrictedWords" property
    metaData = schema.getPropertyMetaData("restrictedWords");
    catch (CreateException e)
    e.printStackTrace();
    catch (RemoteException e)
    e.printStackTrace();
    Collection restrictedValues = metaData.getRestrictedValues();
    Iterator restrictedIter = restrictedValues.iterator();
    while (restrictedIter.hasNext())
    out.println("<br>restricted value is: " + restrictedIter.next());
    %>
    Ture Hoefner
    BEA Systems, Inc.
    2590 Pearl St.
    Suite 110
    Boulder, CO 80302
    www.bea.com
    [att1.html]

  • Where can i get all JV's in sap

    Hi,
    In which table we can get all jv of the year.
    Thanks
    Nandha

    Hi,
    Thanks for the quick reply,
    JV. No.  Account No.  Description  Amount involved  Posted by  Approved by  Posting date and time  Type of JV (Manual or Automated)
    I need the details in the above formate.
    Please suggest me in which table i can get those details.
    Thanks in advance
    Regards
    Nandha

  • Help with oracle sql to get all possible combinations in a table.

    Hello guys I have a small predicatement that has me a bit stumped. I have a table like the following.(This is a sample of my real table. I use this to explain since the original table has sensitive data.)
    CREATE TABLE TEST01(
    TUID VARCHAR2(50),
    FUND VARCHAR2(50),
    ORG  VARCHAR2(50));
    Insert into TEST01 (TUID,FUND,ORG) values ('9102416AB','1XXXXX','6XXXXX');
    Insert into TEST01 (TUID,FUND,ORG) values ('9102416CC','100000','67130');
    Insert into TEST01 (TUID,FUND,ORG) values ('955542224','1500XX','67150');
    Insert into TEST01 (TUID,FUND,ORG) values ('915522211','1000XX','67XXX');
    Insert into TEST01 (TUID,FUND,ORG) values ('566653456','xxxxxx','xxxxx');
    "TUID"                        "FUND"                        "ORG"                        
    "9102416AB"                   "1XXXXX"                      "6XXXXX"                     
    "9102416CC"                   "100000"                      "67130"                      
    "955542224"                   "1500XX"                      "67150"                      
    "915522211"                   "1000XX"                      "67XXX"                      
    "566653456"                   "xxxxxx"                      "xxxxx"                       The "X"'s are wild card elements*( I inherit this and i cannot change the table format)* i would like to make a query like the following
    select tuid from test01 where fund= '100000' and org= '67130'however what i really like to do is retrieve any records that have have those segements in them including 'X's
    in other words the expected output here would be
    "TUID"                        "FUND"                        "ORG"                        
    "9102416AB"                   "1XXXXX"                      "6XXXXX"                     
    "9102416CC"                   "100000"                      "67130"                      
    "915522211"                   "1000XX"                      "67XXX"                      
    "566653456"                   "xxxxxx"                      "xxxxx"  i have started to write a massive sql statement that would have like 12 like statement in it since i would have to compare the org and fund every possible way.
    This is where im headed. but im wondering if there is a better way.
    select * from test02
    where fund = '100000' and org = '67130'
    or fund like '1%' and org like '6%'
    or fund like '1%' and org like '67%'
    or fund like '1%' and org like '671%'
    or fund like '1%' and org like '6713%'
    or fund like '1%' and org like '67130'
    or fund like '10%' and org like '6%'...etc
    /*seems like there should be a better way..*/can anyone give me a hand coming up with this sql statement...

    mlov83 wrote:
    if i run this
    select tuid,fund, org
    from   test01
    where '100000' like translate(fund, 'xX','%%') and '67130' like translate(org, 'xX','%%');this is what i get
    "TUID"                        "FUND"                        "ORG"                        
    "9102416AB"                   "1XXXXX"                      "6XXXXX"                     
    "9102416CC"                   "100000"                      "67130"                      
    "915522211"                   "1000XX"                      "67XXX"                      
    "566653456"                   "xxxxxx"                      "xxxxx"                      
    "9148859fff"                  "1XXXXXX"                     "X6XXX"                       the last item should be excluded. The second digit in "org" is a "7" Fund is wrong, too. You're looking for 6 characters ('100000'), but fund on that row is 7 characters ('1XXXXXX').
    and this is sitll getting picked up.That's why you should use the _ wild-card, instead of %
    select  tuid, fund, org
    from    test01
    where  '100000' like translate (fund, 'xX', '__')
    and    '67130'  like translate (org,  'xX', '__')
    ;It's hard to see, but, in both calls to TRANSLATE, the 3rd argument is a string of 2 '_'s.

  • Where i can get all test functions and details of those function

    Hai
    Actually i was a beginner in teststand can any one tell me where i can download the test functions details list ,the datatype of those function,
    Thankyou

    Hi,
    Not sure what you are after!!!
    Have you tried the TestStand Programmer Help or any of the User Manuals.
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • HT1414 i restored my ipod and i went to try to download all the stuff i had before on it and the cable cord keeps thinking the ipod is someone elses. is there any chance where i could get all my stuff back

    I restored my ipod and the one cord that i was using got confused and thought my ipod was someone elses, and now i cant restore all my stuff that it had on before.

    First of all, did you back up your iPod before you restored it? If you did, then when you restored it, you either set it up from the wrong backup or you set it up as a new iPod, but didn't go through all the steps, so it displays it as another device. Re-restore it from the backup you had before (assuming you made one)

  • Where can we get all the posting values?

    Hi team
    My requirement is like this............
    In TDs report my client wants all the values from /4me,/4mh,/4ms and /460. For this our abaper generate a report like this, he picking the values from RT for /4me,/4mh and /4ms which are not posted to Finance, and/460 picking from PPOIX table which is posted one.
    Now my client wants all the posting valuesfor above mentioned  tech wagetypes.For this ,in PPOIX table there is only /460 value.
    Is there any other table or any function module to call all the posted values for above mentioned Tech wagetypes?
    Regards
    Goriparti

    Dear Balaji
    Go to OIDV, give some file name in PC Database, select the client from "RFC destination", which you would like to download, and give some table name from which you would like to see the field details and select either "Download" or "Log" and execute.
    This will give you all details including the field length.
    thanks
    G. Lakshmipathi

  • Where do we get all the freebies?

    Does adobe host an exchange site for actions, web templates, filters, plug-ins that are free?

    They do, but in spite of a half-hearted attempt at rebuilding that part of the site to be more user-friendly during which they dropped the ball you can still go have a poke around...there's good stuff to be had:
    http://www.adobe.com/cfusion/exchange/index.cfm
    You can also Google for gazillions of free brushes, actions, layer styles, custom shapes, scripts, etc...

  • Request Response Headers

    Hello All,
    Is there any way for me to get back the HTTP Response Headers using the J2EE framework in the format as given below ? I have a Filter which gets me the Request headers but I want to get the corresponding Response Headers also. Can it be done ?
    HTTP/1.1 200 OK
    Date: Mon, 19 Oct 2004 22:12:57 GMT
    Pragma: no-cache
    Server: WebLogic WebLogic Server 6.1 SP1 09/18/2001 14:28:44 #138716
    Content-Length: 297
    Content-Type: text/html
    Expires: Thu, 01 Dec 2004 16:00:00 GMT
    Set-Cookie: SessionID=null; path=/
    Set-Cookie:
    JSESSIONID=O1mD6qo4DcTRQPV3IuQFKR2TBiANadyyzQG2WqsRLOuyPjIABhPQ!1713637281!-
    1073741567!7001!7002; path=/
    Cache-Control: no-cache, post-check=0, pre-check=0
    I am printing out the request headers right now but I want the corresponding response headers sent by the server to the request headers.
    I am using IE. Basically I am trying to track a JSESSIONID which is being lost somewhere. Thus I have to do it programatically.
    Thanks

    http://www.fawcette.com/Archives/premier/mgznarch/javapro/2001/07jul01/kj0107/kj0107-2.asp
    look for "Listing 4" for the code to get the response headers.
    basically he uses a wrapper class around the response object. When any header is added to the reponse he logs the header name and value. When the wrapped response returns to the Filter he then prints out the logged values.

  • How to get all users from the server....?

    Hi all,
    in my application i want to get all possible users present in the PORTAL-EP Server
    and set them into the drop down.
    is there need to login in the portal as a admin or other user to get the all users present in the Server.
    Regards,
    Deepak

    Hi! Deepak,
       you can use UME API to get all the users of EP in WebDynpro appl.
    Herewith i am giving you the UME API link --
    <a href="http://help.sap.com/javadocs/NW04/current/um/index.html">http://help.sap.com/javadocs/NW04/current/um/index.html</a>
    i am giving the code also to get all the users from LDAP.
       IPublic<ComponentName>.IUserIDElement userIDNodeElement = null;
    IUserAccountFactory accountFact = UMFactory.getUserAccountFactory();
    MessageManager msgMgr = (MessageManager)wdThis.wdGetAPI().getComponent().getMessageManager();
    try {     
    IUserAccountSearchFilter accountSearchFilter  =  accountFact.getUserAccountSearchFilter();
    accountSearchFilter.setLogonUid("*",ISearchAttribute.LIKE_OPERATOR,false);
    ISearchResult srchRslt = accountFact.search(accountSearchFilter);
       while(srchRslt.hasNext()) {                    
                    userIDNodeElement = wdContext.createUserIDElement();          String uniqueID = (String)srchRslt.next();
         IUserAccount userAccount = accountFact.getUserAccount(uniqueID);
         String LogonUid = userAccount.getLogonUid();
         userIDNodeElement.setCtx_UserID(LogonUid);
         wdContext.nodeUserID().addElement(userIDNodeElement);
        } catch(Exception exc) {
                  msgMgr.reportWarning(umException.toString());
    regards,
    Mithilehwar

  • Where can I get the acrobat plugins samples?

    I have acrobat sdk 9 and some samples inside folder pluginsupport/samples
    However, when I read live.doc (http://support.adobe.com/devsup/devsup.nsf/docs/51634.htm),
    there are some other sample of SDK: UIBasic, AddImage, ...  (I need to operate with images, pdf and dialog)
    Could you please tell me where I can get all sdk samples?
    Thanks

    All samples are in the SDK.
    Be sure to look at the MYRIAD of samples that are part of SnippetRunner (see PluginSupport\Samples\SnippetRunner) which is all about helping you learn by just looking at a snippet of code.

  • I AM NEW TO BI ,WHERE I WILL  GET  DETAIL  INFO  FOR  'USEREXIT'

    HI ALL,
    I AM NEW  TO BI WHERE I WILL GET ALL DETAILS ABOUT USEREXITS.
    AND HOW TO WRITE SIMPLE USEREXIT....I.E SOME EXAMPLE RELATED TO IT..

    Check this program for Finding User Exit.
    Pass the transaction Code in the section Screen of the Program.This program outouts all exits related to TC given in sel screen
    Report
    tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
    tables : tstct.
    data : jtab like tadir occurs 0 with header line.
    data : field1(30).
    data : v_devclass like tadir-devclass.
    parameters : p_tcode like tstc-tcode obligatory.
    select single * from tstc where tcode eq p_tcode.
    if sy-subrc eq 0.
      select single * from tadir where pgmid = 'R3TR'
                                   and object = 'PROG'
                                   and obj_name = tstc-pgmna.
      move : tadir-devclass to v_devclass.
      if sy-subrc ne 0.
        select single * from trdir where name = tstc-pgmna.
        if trdir-subc eq 'F'.
          select single * from tfdir where pname = tstc-pgmna.
          select single * from enlfdir where funcname = tfdir-funcname.
          select single * from tadir where pgmid = 'R3TR'
                                       and object = 'FUGR'
                                       and obj_name eq enlfdir-area.
          move : tadir-devclass to v_devclass.
        endif.
      endif.
      select * from tadir into table jtab where pgmid = 'R3TR'
                            and object = 'SMOD'
                            and devclass = v_devclass.
      select single * from tstct where sprsl eq sy-langu and
                                       tcode eq p_tcode.
      format color col_positive intensified off.
      write:/(19) 'Transaction Code - ',
           20(20) p_tcode,
           45(50) tstct-ttext.
      skip.
      if not jtab[] is initial.
        write:/(95) sy-uline.
        format color col_heading intensified on.
        write:/1 sy-vline,
               2 'Exit Name',
              21 sy-vline ,
              22 'Description',
              95 sy-vline.
        write:/(95) sy-uline.
        loop at jtab.
          select single * from modsapt where sprsl = sy-langu and
                                             name = jtab-obj_name.
          format color col_normal intensified off.
          write:/1 sy-vline,
                 2 jtab-obj_name hotspot on,
                21 sy-vline ,
                22 modsapt-modtext,
                95 sy-vline.
        endloop.
        write:/(95) sy-uline.
        describe table jtab.
        skip.
        format color col_total intensified on.
        write:/ 'No of Exits:' , sy-tfill.
      else.
        format color col_negative intensified on.
        write:/(95) 'No User Exit exists'.
      endif.
    else.
      format color col_negative intensified on.
      write:/(95) 'Transaction Code Does Not Exist'.
    endif.
    at line-selection.
      get cursor field field1.
      check field1(4) eq 'JTAB'.
      set parameter id 'MON' field sy-lisel+1(10).
      call transaction 'SMOD' and skip first   screen.
    Cheers,
    Manoj.

Maybe you are looking for

  • Is it possible to contact servers if Bonjour is blocked?

    At work I have Win XP, SP3 and the latest version of iTunes but I can't reach the servers. All I get is a messaged saying they can't be reached and asks if I am online, which I am. I have Mcafee and have managed to figure out that it has blocked Bonj

  • How is it possible that a target has two deltas requests with the exact sam

    HI, How is it possible that a target has two deltas requests with the exact same records?

  • Pallets do not show preview first time when clicked

    My pallet bars in Photoshop CS4 do not show preview in first instance. For example, my Navigator bar does not show the image of the layout until you click in-n-out of the bar several times, than it appears.  Same With History bar.  History bar is a l

  • Trouble importing iso

    I'm having trouble importing a ISO. I've created 3 others, I can ping both OVM and OVS from each other, I've verified ftp from a browser both on the OVM, and a 3rd machine, I've tried importing into 2 repositories, one that's empty. I've had troubles

  • Process.exitValue() only returns the low byte of the exit code?

    Hi - I'm executing a subprocess and then waiting for it to return, and then examining the exit code of the subprocess. The error the subprocess returns is 0xb03, but exitValue() only sees 0x03. Further testing shows that if I return 0xbff from my nat