Servlet bean retrieving different values between browsers

hi all,
i have search functionality within my web app. basically the user enters a search string, i pass that using jquery to my servlet, obtain results and send the results back to the client browser.
now i have run into this problem, where if the user enters a special character in my search such a chinese character 字, the jquery passes the correct text to the servlet as a parameter, but in my bean when i go request.getParameter("searchTerm"), this search term gets lost and is different between browsers.
if i use ie6 the text is å-? and in firefox 3.6.3 its ?
this is important coz i get different search results depending upon the text.
does anybody know why if my jquery has the correct term, when passes as a parameter to my java code, the java bean interprets the character differently between browsers.
thanks.

Does the encoding really matter?
My jsp uses, pageEncoding="ISO-8859-1"
I was hoping that if IE passes the right value, so should FF. Or both should be passing in the same special character value.
Please suggest a fix.
Thanks.

Similar Messages

  • How table GLT0 work? (Different value between GLT0 and BSAS)

    Anyone know about how the table GLT0 work?
    After checked in sapenote sapnote 100273 which said "For an FI posting (for example, with Transaction FB01),
    the balances resulting from the posting are updated twice in the G/L Account Monthly
    Debits and Credits (table GLT0)."
    So, Any change amount value of items in accounting doc. This problem should to update, correct?
    For any change of amount value in item of accounting doc and currencies is change.
    Need to reupdate this  table with new currencies? or any logic
    Now, I found a problem is "Account balance" value in currency group (USD) in transaction FS10
    and total sum of "USD Amount" in transaction code FBL3 (If click to sum by currency)
    are different for 17.79 USD.
    I tried to get a logic of this 2 transaction code and found detail as below:
    FS10 : Get data from table GLT0 and for group currency report. Program select data
    from field KSLVT and KSLXX to display in report.
    FBL3 : Get all data until selected period in table BSAS and sum total amount from field BSAS-DMBE2
    (Amount of USD Currency)
    Actually, This 2 report should to have the same account balance.
    So, My question is
    1. When the table (GLT0) update?
    2. Can have a problem with the data in GLT0 (field KSLVT and KSLXX t)
    and sum of amount USD curency BSAS-DMBE2 are differenct?
    If can have, how is occur?
    Many thank in advance.

    Hi,
    Did you find any relationship between the data (sql data and Essbase)?
    While you are loading fresh data, there is no discrepancy.
    You find discrepancy at the time of incremental loading.
    It might be possible in incremental loading data can be added to already existing value in dimension.
    In that case you will find your Essbase data is 2times or 3 times more than base data (sql).
    Then check there might be some setting.
    Thanks
    Dhanjit G

  • Different values between Rich Client and Web Intelligence

    Hi all,
    our landscape is BO Edge 4.1 SP2 Patch 5
    we just create a report in Web Intelligence with a query bics from BW
    We discovered that sometimes the report retrives fake values from BW: the same report refreshed in Rich Client shows correct values.
    BW data are frozen (updated only once a day)
    We tried to:
    - save report with Rich Client and published it in the public folder (but Web Intelligence still shows wrong data)
    - upgrade Java Virtuale Machine to the latest release
    - looking for system and BO log without any clue
    - looking for SAP note (some info only related to BI 3.1)
    Workaround: issue disappear only restarting BO SIA
    Can you help us?
    Any idea?
    Regards.

    Have you seen Web Intelligence and Oracle Java Runtime Environment Known Issues
    There is a wiki inside the blog
    I wonder too if you might get a faster, better response in the Web Intelligence space

  • Preloader stuck in Chrome, different issues between browsers but Safari seems ok

    When opening in Chrome, site is stuck in preloader, but Safari works fine. Also in Firefox, video does not load. Is there a way that works for all browsers? http://www.fotosonics.com/andoni/andoni.html

    Hello @fotosonics. I have the same problem as you can see in this post: https://forums.adobe.com/thread/1648309 I encourage you to disclose your problem in that post so that we can gather our ideas together and solve it quickly.

  • Different timeout between bean and method

    I have to set on the same bean a different timeout between the bean und one method.
    I set in the weblogic-ejb-jar.xml <trans-timeout-seconds> to 39 sec But I will
    set the timeout for a method in this bean to 120 sec. How con I set this timeout?

    I don't know if this is yourproblem, but you have unbalanced quotes on the line
    name=""object1">I didn't know that javascript could talk to java like this. Please tell me where I can read more about this.

  • Rebate: Differ "Scale Base Value" between "Statistics" and "Billing Doc"

    Dear SD Expert,
                After I go with Transaction Code :"VOB3" (run report RV15B002), I found that "Scale Base Value" have different value between "Statistics" and "Billing Doc". And the correct value is "Billing Doc". However, the value which shows in my rebate condition now is "Statistic". Thus, my question is
                How can I configure my rebate condition based on "Billing Doc" Value instead of "Statistic"? (I don't want to "Correct backlogs" anytime in changing scales based value.)  Anyone please feel free in suggestion.
    Thanks,
    Prach

    HI,
    This may be useful to you.
    http://help.sap.com/saphelp_47x200/helpdata/en/dd/5612d8545a11d1a7020000e829fd11/content.htm
    Vrajesh

  • Passing different values to the same servlet

    Hi,
    Is there a way to pass different values to the same servlet?
    Background:
    I have a database that I query to acquire a list of customers, then I show each customer as a link, that when clicked will show details of that customer. (The customer table is dynamic so I can't create a new page for each customer)
    When using JSP what I do is
    //Do query database
    while (rst.next())
         String cust = rst.getString ("cust");
            out.write("<a href = \"cust2.jsp?cust=" + cust + " \" >" + cust + "</a> ");
    }Then on the cust2.jsp. I will use
    String str = request.getParameter ("cust");to acquire the customer to get details of.
    Is there a way to do the same using servlets?
    I could swap to JSP when creating this particular part of the project but it won't look good and it would help me learn a few things when there is another way.

    I want to know if there is a way to pass a variable from a webpage link like in my JSP example using servlets.
    Here is what I wanted to do:
    I have a webpage that contains customer names and each name has a link to the same servlet (let's say the link is famia/servb). I want servb to show detailed information about the customer my visitor clicked in the webpage.
    The logic I was thinking is to pass a variable to this servlet, then I can use that variable to know which customer should I query in my database. So that I can show the details to my users.
    Here lies my problem, I don't know how I can pass this variable, or even know which customer my visitor clicked. I can't use a new servlet for each client since the customer is in a database and if my customer base grows then I would need to create a lot more web page that does the same thing.
    The JSP example I gave is how I will be coding it if I am using JSP, but now I am using servlets. So I was wodnering if there is a way to do this using servlet. Or should I stay with using JSP for this particular logic and just call servb after the JSP page acquired the variable.
    I'm trying not to use "<original URL> + ? + <variable> = <value>" (eg: http://www.famia.net/customer?cust=famia) as the means for passing the variable. (or in the example as a means of passing variable cust with value famia)

  • How can I share values between different jsp pages?

    Hi,
    I'm doing a jsp, bc4j application (JDeveloper 9.0.3), and I need to share some values between different jsp pages. To do this,
    I have used the tag <jsp:usebean.....></jsp:usebean> in this way:
    on pageone.jsp
    <jsp:useBean id="param" scope="session" class="MyPackage.Parameters" ></jsp:useBean>
    on pagetwo.jsp     
    <jsp:useBean id="param" scope="session" class="MyPackage.Parameters" ></jsp:useBean>
    and so on, in order to refer to the same instance of the class "Parameters".
    After deploying, the application works well only if the client is the same pc where the AS resides, otherwise the variables of "Parameters" are null.
    Please, could you help me?
    Thanks
    Nunzio.

    I am seeing an indication on 9.0.3 that static includes are not static, but instead always dynamic. The compiler generates a call to the included page, and doesn't include the content in the calling page as it should.

  • Caching values between different executions of a message mapping

    Hi all
    Like global container object is used for caching values between different user defined functions
    within the same message mapping.
    Can v have some sort of cachingvalues
    between simultaneos exceutions of same message mapping?
    Thanks and Regards
    Bhasker

    Hi Bhasker raj,
        This facility is there if you are using seeburger adapters.
    YOu can use something called seeburger variables which can hold the data beyong the mapping in some permanent memory.
    Alternatively, you can think of creating a ZTABLE in the ABAP stack of XI and storing the data you want in it, using a UDF and get it back in another UDF.
    YOu can use the first UDF at last node/field in the message mapping and the
    secomd UDF in the first node/field in the mapping.
    Regards,
    Ravi

  • Pass values between panels in different UI files

    Hi All,
    Is there a way to pass values between panels belonging to User Interface files ? Or is it easier to have one .uir and different .c and .h files ?
    Thanks,
    Kanu

    I should say that it's not possible for you to trap events from the first popup,and this depends on the basic concept of "popup panel".
    When you install a popup panel, all user interaction with existing panels is excluded: all focus it aimed at the popup only, no other user interface event is generated. If you launch another popup from the first one, the second popup prevails over the first one and no event can be generated on the first panel until the second one is closed.
    Handling a chain of two popup panels while looping on GetUserEvent can lead to unpredictable situation not so easy to untangle.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • Problem exchanging values between a Servlet and Thread???

    Hi Everybody,
    I have got a problem exchanging values between a Servlet and a Thread...
    The actual thing will go like this
    I take a request from JSP which is served by a servlet..
    A thread is invoked in the servlets into which the parameter values taken from JSP page is sent...
    In between the thread needs to be suspended for a moment, relieve the control back to the servlet and then come back with the new values modified in the servlet...
    How is this achieved?
    Please give ur suggestions regarding this...
    Thanks in advance

    I really have no clue how you can use URLConnection to do that!
    Could you please explain in the following scenario how it can help me as an alternative solution to the following:
    Non-Servlet A continously running & saving to some prop regularly
    --> servlet B reads prop file regularly --> display continously on a jsp file
    I wish I could do a servlet A --> servlet B-- > display jsp scenario but I do not know how to have servlet A continously running while keep the servlet B interacting with the jsp.

  • Retrieve the values in Hashtable between two keys?

    Here is my hashtable:
    Hashtable h = new Hashtable();
    h.put("1", "Value1")
    h.put("3", "Value3")
    h.put("7", "Value7")
    h.put("5", "Value5")
    h.put("4", "Value4")
    h.put("2", "Value2")
    h.put("6", "Value6")
    //My requirement is to retrieve values between two keys lets say if i pass 2,6 then it should retrieve value2,value3.....value6Thanks

    I think you need to do something like
    Hashtable h = new Hashtable();
              h.put("1", "Value1");
              h.put("3", "Value3");
              h.put("7", "Value7");
              h.put("5", "Value5");
              h.put("4", "Value4");
              h.put("2", "Value2");
              h.put("6", "Value6");
              List a = new ArrayList();
              for(int i = 1;i<=h.size(); i++){
                   while(i >= 2 && i <= 6){
                        a.add(h.get(new Integer(i)));
                        break;
              }

  • Navigate between 2 reports and pass values between 2 different columns

    Hello
    I have a question about navigating from 1 report to another while passing the value from column 1 to column 2 in the second report...
    In OBIEE 11G, I create action link on report 1, column 1 and this action link is navigate to BI Content and the destination is report 2. Now report 2 has column 2, which is an alias of column 1 from report 1, from user's point of view they are the same, but from OBIEE point of view they are different.
    My action link is able to navigate to report 2, however, the value in column 1 which I clicked to execute the navigation, does not get passed to column 2 in report 2..
    Is there a way around this issue?
    Let me know if I need to provide more clarification
    Thanks

    Thank you Anirban
    I think this is the best solution you just provided.The current post and the post at below looks same
    Navigate from report to dashboard and  pass values between different column
    is it not answered?
    Thanks :)
    Edited by: Srini VEERAVALLI on May 7, 2013 3:07 PM

  • Pass values between different frames

    Dear Friends from Adobe.
    I need a lot of help from you.
    I have a project with Flash Action Script 2.0 and would like
    to know if you have to pass values between different frames.
    Example:
    Passing a value of a inputbox the frame 1 for a inputbox in
    frame 2.
    OBS: If possible could pass the solution through e-mail?
    Now, very grateful.
    Diogo Areas.

    Using AS2 you can either name the input textfield instance on
    the stage or, you can name the variable property of the input
    textfield. You can name either of these from the Property Inspector
    window. Once named, you can then have access to the value of the
    text that is entered. It will be either instanceName.text or
    variableName.
    The scope of either of these values lasts only as long as the
    textfield instance exists. So, if the first textfield is in frame
    7, for instance, and is only in frame 7, and you want to use the
    value in another frame, say frame 20, then you'll have to store the
    value outside of the textfield for later use. You can do this by
    creating a variable in the first frame of the movie, and then
    placing the text from the textfield in frame 7 into that variable.
    Then at frame 20, you can retreive that value and use it in the
    textfield in frame 20.
    Alternately, you can continue the instance of the textfield
    in frame 7 out through frame 20. The content will continue to be
    available. You can add keyframes to the layer that the textfield is
    in at frame 7, and move the object off the visible area of the
    stage, so that it won't be seen, if you like.

  • How to retrieve checkboxes values?

    I am using a few checkboxes
    <form method="post" action="testgetPara.jsp">
    <input name="termcond1" type="checkbox" value="1" id="termcond" checked>
    <input name="termcond2" type="checkbox" value="2" id="termcond" >
    <input name="termcond3" type="checkbox" value="3" id="termcond" >
    <input type ="submit" name ="submit" value ="submit">
    </form>
    and hope to retrieve the "checked" values from these boxes
    so i do this
    <%int i = 0;
    //chkno is used only to retrieve the number of checked checkboxes
    String chkno[] = request.getParameterValues("chkdelbook");
                   //using a while loop to retrieve the value + execute it to the database.
    while (i < chkno.length)
    String isbn = request.getParameter("termcond");//get the specific array item
    out.println(isbn);
    //increment the i counter           
    ++i;
    %>
    but it doesn't seem to be working
    it return me with
    An error occurred between lines: 2 and 16 in the jsp file: /testgetPara.jsp
    Generated servlet error:
    C:\jakarta-tomcat-4.0.3\work\localhost\Testing\testgetPara$jsp.java:69: [] can only be applied to arrays. It can't be applied to java.lang.String.
         String isbn = request.getParameter("termcond")[i];//get the specific array item
         ^
    1 error
    this error
    may i know how to solve it?

    but it give me a java.lang.NullPointerException
    i have same id for my checkboxes, different name and
    values for them
    but it just doesnt work.NPE might be because tehere is no parameters named 'hobbies'
    having same ID is not same as having same NAME (see the difference ID vs NAME)
    if you had
    <form>
    <br>java<input type="checkbox" name="hobbies" value="java">
    <br>haskell<input type="checkbox" name="hobbies" value="haskell">
    <br>prolog<input type="checkbox" name="hobbies" value="prolog">
    <input type="submit">
    </form>
    and it would appear something like this:
    java [X]
    haskell[X]
    prolog[_]
    [submit]
    then you could probably write some code for it like this:
    String[] hobbies = request.getParameterValues("hobbies");
    for (int j = 0; j < hobbies.length; j++) {
    %>
    Your hobby is: <%= hobbies[j] %><br>
    <%
    }and it's output would hopefully look somewhat like this:
    Your hobby is: java
    Your hobby is: haskell
    of course i have not tryed that code nore looked methods up from API recently, so it might have some minor bugs.

Maybe you are looking for

  • Blue screen error code 0x00000050 and 0x0000000a on T430 (234234U)

    Hi, I have a new T430 and it crashes with a bluescreen 0x00000050 and 0x0000000a, I have been having this issue intermittently. I've already checked the memory and hard drives with the: linux-bootable-cd-16.iso, with no problems. I tried to use the r

  • Help! My Apple ID for my Itunes/Apps different that ICloud!?

    Iphone 6 Here is the issue, I can use the Itunes and Apps Apple ID to log in and purchase Apps on my phone and computer. However, when I go to Icloud and when I try to set up my Passbook, it has and old, inactive email address. I need to somehow rese

  • Strings pls help

    Hi I have the following piece of code... Case 1 : I use an <a href> in HTML and pass a string (with space) .. string is INTRANET NEWS_20020819.txt on running this testpage and on moving the mouse to this hyperlink [hyperlink testing1] i can see the e

  • Vivado HLS 2015.x config_interface -register_io

    Hello! In VHLS 2015.x there is new option: config_interface -register_io. From User guide it is not clear to what types of interface this option can be applied though. Can you confirm that this option can be applied to ap_bus m_axi interface signals?

  • How do I  change the email address associated with my Adobe ID?

    Hi, I want to change my adobe email id address from [private information removed by moderator], how to change? Pls. guide me. Thx.