I can't read double codes  values through request.getParameterValues()

Hello Everbody
I have a simple problem.In the first jsp page have 4 comboBox all have name "photoSize" . option values of comboBox is (3R,4R,4"x6",8"x10"). i read these values in the next jsp pages
String [] all=request.getParameterValues("photoSize");
my problem is that when i selected 3R or 4R then values comes as 3R and 4R
but when i selected the values 4"x6" or 8"x10" its only gave the output as 4 and 8.
I cann't read these values as 4"x6" or 8"x10" . my requirement is that i have to read values as 4"x6" .or is there any other way to achieve these output.
please any body help me it is urgent.
Thanks in advance
Riaz

both single and double quotes can easily mess up JSP's so hard to say what exacly is wrong
example:
<select value="<c:out value="${avalue}"/>" >
this will fail with  avalue contains a double quote because in HTMl the string becomes closed.There is no exact solution but i would suggest to not use those String as value for your select BUT use 0,1,2.... as value and then translate those in your code to the dimensions you need, thus avoiding the Quote problem

Similar Messages

  • What do you do when you can't read the code on a iTunes gift card?

    What do you do when you can't read the code on a iTunes gift card? I tried taking it back to the store with my reciept, but they said I would have to contact Apple support. Am I out just out $25 dollars?

    See this support article:
    http://support.apple.com/kb/TS1292
    Instructions are at the bottom of that article.
    BTW, this forum is for questions about iTunes U, Apple's service for colleges and universities to post educational material in the iTunes Store. Normally you want to ask your questions in the general iTunes forums.
    Regards.

  • Can we read a ZIP file through ESB file adapter?

    Hi,
    Is it possible to read a ZIP file from a specified locaiton either through a FTP adapter or file adapter as a opaque element and place it in another specified locaiton?
    So far the available options are to read a txt, csv, fixed length or cobol file.
    I tried to create a ESB reading ZIP file and place it in another locaiton. but it was not reading the ZIP file.
    Is it first possible for the ESB to read the ZIP file? if so then is there any specific configuratuion that we have to do for it to work?

    how can we read a MSWORD file through java?You can read it like any other file using FileInputStream
    and similar.
    Howvere, if you want do do something with it, like display
    it, you have a problem. AFAIK Microsoft do not release
    information about their document formats, and i have not
    seen a .doc viewer for java.

  • HT2736 I can't read the code on the back of the card. It was scratched off. How do I redeem?

    I can't read the code on the back of the card. It was scratched off. How do I redeem?
    Pjs

    Try  >  http://support.apple.com/kb/TS1292
    If no joy...
    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • I can't read the code to type when posting on the community page like craigslist

    Hi,
    I'm troubled when posting in craigslist through firefox.
    I cannot read the code or a word to type when posting for a security purpose (spam). This problem has started a couple months ago with Firefox. With Safari, this does not happen.
    Appreciated if you can help me out here because I use firefox as my primary internet browser.

    Basics from the manual are restrt, reset, restore.
    Have you tried each of these?

  • How can i read user input value to my User exist

    Hi Guru's,
    I am facing one problem in Variables in BPS.
    I am calculating days from Month/year .I have one variable it is for Days,Second variable it is for Month/Year.
    First variable is user exist (for calculating the days),Second varible is user defined variable(this is a Input to the first variable).
    When i am giving the Month/Year(02/2008)variable i am getting the 29 days from the first variable.again i am changing the value of Month/Yera(03/2008) i am not getting the desired value.
    my doubt is my user exist not able to read current value of variable(month/year).how can i pass my value to user exist because this value is user input value based on this value i am calculating the days and dynamically displaying the layout.
    Here is the my sample code..
    seq = '0000'.
    ind = 0.
       i_area = 'ZTEST1'.
       area_var = 'ZVar2'.
    PERFORM instantiate_object USING    i_area
                                        area_var
                                 CHANGING lsr_var.
    PERFORM get_current_value_of_variable
                            USING lsr_var
                            CHANGING lto_value.
    READ TABLE lto_value INTO lso_value index 1  .
    i_month = lso_value-low.
    iv_month = i_month+4(2).
    iv_year = i_month(4).
    concatenate iv_year iv_month '01' into iv_date.
    begindate = iv_date.
    below bracket code calculating the leap year
    ( IF iv_date+4(2) = lc_feb.
        lv_hlp_date_year = iv_date+0(4).
        lv_hlp_rest      = lv_hlp_date_year MOD 4.
        IF lv_hlp_rest = 0.
          EV_DAYS = lc_days_29.
          lv_hlp_rest = lv_hlp_date_year MOD 100.
          IF lv_hlp_rest = 0.
            lv_hlp_rest = lv_hlp_date_year MOD 400.
            IF lv_hlp_rest NE 0.
              EV_DAYS = lc_days_28.
            ENDIF.
          ENDIF.
        ELSE.
          EV_DAYS = lc_days_28.
        ENDIF.)
      ELSE.
    below bracket code calculating the days
    (   CASE iv_date+4(2).
          WHEN lc_jan. EV_DAYS = lc_days_31.
          WHEN lc_mar. EV_DAYS = lc_days_31.
          WHEN lc_may. EV_DAYS = lc_days_31.
          WHEN lc_jul. EV_DAYS = lc_days_31.
          WHEN lc_aug. EV_DAYS = lc_days_31.
          WHEN lc_oct. EV_DAYS = lc_days_31.
          WHEN lc_dec. EV_DAYS = lc_days_31.
          WHEN lc_apr. EV_DAYS = lc_days_30.
          WHEN lc_jun. EV_DAYS = lc_days_30.
          WHEN lc_sep. EV_DAYS = lc_days_30.
          WHEN lc_nov. EV_DAYS = lc_days_30.
          WHEN OTHERS.   CLEAR EV_DAYS.
        ENDCASE.)
      ENDIF.
    data: st_date(2) type c.
    st_date = '01'.
    ind = 0.
    ind = ind + 1.
    here i am passing the low value and high value.
    yto_charsel-chanm = '0CALDAY'.
    yto_charsel-seqno = 1.
    yto_charsel-sign  = 'I'.
    yto_charsel-opt   = 'EQ'.
    yto_charsel-LOW = st_date.
    yto_charsel-chanm = '0CALDAY'.
    yto_charsel-seqno = 1.
    yto_charsel-sign  = 'I'.
    yto_charsel-opt   = 'BT'.
    yto_charsel-high = ev_days.
    INSERT yto_charsel INTO sto_charsel INDEX ind.
    ETO_CHARSEL = sto_charsel.
    lto_value = sto_charsel.
    How can i pass user input value to read this exist ,some where again i have to write code or else??
    This is very urgent can you help me..

    Hi,
    Instead of two perform statements, use single perform.
    PERFORM get_value USING i_area
                              i_variable
                         CHANGING lw_varsel.
    Take the values from lw_varsel-low.
    FORM statement for this perform is as follows.
    DATA: li_varsel TYPE STANDARD TABLE OF upc_ys_api_varsel,
            lv_varsel TYPE REF TO cl_sem_variable.
      FORM get_value USING p_area TYPE upc_y_area
                           p_variable TYPE upc_y_variable
                     CHANGING
                           p_lw_varsel TYPE upc_ys_api_varsel.
        CALL METHOD cl_sem_variable=>get_instance
          EXPORTING
            i_area       = p_area
            i_variable   = p_variable
             I_CREATE     =
          RECEIVING
            rr_variable  = lv_varsel.
           EXCEPTIONS
             NOT_EXISTING = 1
             others       = 2
        IF sy-subrc <> 0.
          EXIT.
        ENDIF.
        REFRESH li_varsel.
    ****Getting the Value*********
        CALL METHOD lv_varsel->get_value
          EXPORTING
            i_user     = sy-uname
            i_restrict = 'X'
          RECEIVING
            rto_value  = li_varsel.
        CLEAR : p_lw_varsel.
        READ TABLE li_varsel INTO p_lw_varsel INDEX 1.
        IF sy-subrc <> 0.
          EXIT.
        ENDIF.
      ENDFORM.                    "get_value
    Try this code.
    Bindu

  • How can i read every"number" value and not only the 1st?

    in the vi only the first "number" value(from the data acquisition)is read in the small loop.how can i make every value to be read?every value must be compared with the "numeric" constant,and,if greater the led must turn on.afterwards,when a value which is less than the "numeric" is found the led must turn off.please answer or send mail to [email protected]
    Attachments:
    oximet5.vi ‏152 KB

    The more I look at your program, the less I understand it.
    Why are you setting number = number in a case if SO2 = ""? number always equals number.
    In your sequence frames 1 and 4, you have no control over which write (date or time) happens first. Just placing one function to the left of another doesn't make it happen first if your wiring doesn't create data dependency. Review the section on Data Dependency in chapter 5 of the LabView User's Manual.
    It looks you're writing to and reading from the same file using Write File and Read Lines from File.vi. Why read back data you just wrote? You have the data on your diagram. If you want to convert it from string to numeric, use a Sring/Number Conversion function from the String palette.
    On Read Lines from File.vi (which I'm not sure you even need), you should use a shift register for the start of read offset rather than a local variable for mark after read (chars.). With a shift register, you can initialize it to 0 when the VI starts. Using a local, if you restart the VI, it will try to startup from where you left off the last time, but you just opened the file for create or replace.
    In your sequence frames 2 and 3, why do you wait for the number to be less than the numeric before writing a carriage return to the file? Also, LabView has a End of Line constant which adapts to the expected value for the operating system. That's generally more flexible than a Carriage Return.
    It looks to me like you're overusing control refnums. You don't need to use a control refnum and a property node to set or read a control's value if you can wire directly to the control's terminal.
    I really don't understand what you're doing with pause and variants. I may be missing the point, but it looks like you made this much more complicated than it needs to be. Why not keep it a boolean?
    For your pause-path, you open the file but never close it. You can lose data that way. You also open it using open function 3, create new file. You'll get an error if the file already exists.
    On a general note, your diagram would be easier to read if you were more selective in how you routed your wires: you have wires on top of wires, wires running under sub-VIs, wires running in the frame of a while loop, wires running under labels.
    I think there's a temptation to overuse sequences. I don't think you need one here. As I mentioned in my earlier message, case structures and shift registers will be more useful to you.

  • The label was scratched too hard and can't read complete code. How do I get the code? Can it be derived from the serial number on the card?

    Can't read all of code (scratched off). How can I get it?

    See this: iTunes Store: Invalid, inactive, or illegible codes, http://support.apple.com/kb/TS1292

  • HT1711 I can't read my code on my iTunes card who do i contact?

    I can't see the code on my iTunes gift card who do I contact to help me out

    If this page doesn't help then you will need to try contacting iTunes support (you will need to give them as much of the serial number and activation code from the card as you can read) : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then iTunes Cards And Codes

  • Can i read export parameter values of Upload BAPI

    Hi,
    I have a BAPI wrapper which has 4 import parameters and 2 Export parameters
    I have created a syncBO of type Upload U01.
    I run my mobile application filling the values required and pass the values to headerfields of SyncBO.
    During synchronization these values are forwarded and action is performed.
    Now , my doubt is can i read the export parameters of the BAPI wrapper when the action is performed during synchronization???
    Rgds,
    Kiran Joshua

    Hi Kiran,
    >>>If you want to return error state, throw an exception on the BAPI, and those >>will be showed on the device and the sync will be marked as failed.>>>
    For example while creating a customer record..last name is mandatory...its an validation from backend...so while coding BAPI we need to implement this exception....so when we create a record from the client without last name.....BAPI throws an exception that last name is mandatory..this would be displayed in merep-mon..logs...and similarly any other error like RFC connection broken etc...
    Cheers,
    Karthick

  • How can I read an ID-value from the LMS and insert this into an URL?

    Hi
    Right now I am struggling with a little problem. Hopefully anyone here knows the answer. For the latest course I am building (Captivate 6), it is necessary that at one point the course reads an ID-value from the LMS. After that, this ID should be inserted into an URL.
    To be more precisely: the ID must be read (getValue) from cmi.archive_id and inserted into an URL like that: http://.../archive.php?action=pdf&objectID=ARCHIVE_ID.
    Unfortunately I am more of a designer und less of a javascript-maestro (well...I am a javascript-noob to be precisely), therefore I am pretty clueless how to do that. I tried a simple executed action (run Javascript: cpEIGetValue('cmi.archive_id'); and after that open URL http://.../archive.php?action=pdf&objectID=ARCHIVE_ID), but...well...that didn't work.
    Any ideas?
    Thanks a lot in advance

    Think you'll find help looking at Jim Leichliter's website:
    http://captivatedev.com/
    He has great tutorials about JavaScript and also a widget that allows to enter a variable in URL's
    Lilybiri

  • BodyContent.getReader() can't read SJIS code correctly

              I have the JSP file
              <%@ page contentType= "text/html;charset=SJIS" errorPage="error.jsp"%>
              <vcsql:escapesql>SJIS Characters Here</vcsql:escapesql>
              and in the escapesql tag's doAfterBody method,
              I use "bodyContent.getReader()" to read the characters
              and write it to JspWriter. This is fine in WL6.0SP2,
              but I got ??? in WL6.1. And it seems OK when I print
              some Japanese Characters directly using JspWriter.
              public int doAfterBody() throws JspException
              try
              JspWriter out = bodyContent.getEnclosingWriter();
              Reader reader = bodyContent.getReader();
              int ch = reader.read();
              while(true)
              if (ch == -1)
              break;
              else if (ch == '\'')
              out.print("''");
              else
              out.print((char)ch);
              ch = reader.read();
              reader.close();
              }catch (IOException ex)
              return SKIP_BODY;
              Can anyone help me? I guess it is a bug of WL6.1
              Thanks.
              Haining
              

    You can't in JSP.
    Java runs on the Server. You only have access to the server file system.
    You do NOT have access to the client file system. And a good thing too.
    Being able to load/edit/delete any file you want to from the client would be a huge security hole.
    Just by browsing your website you pick up a file from my computer? I don't think so mate.
    If you want the client to send a file, you have to use the standard html component for sending files: <input type="file">
    In other words the user has to explicitly choose the file they wish to send to your server.
    Your servlet then has to read that file from the request.
    There are a couple of components around that help you with that. Check out the [url http://jakarta.apache.org/commons/fileupload/]jakarta commons File upload component.

  • Can you read Reports and Tables through RFCs and BAPIS?

    Is there any way to read established reports and tables through RFC or BAPI function calls?  We have a middleware that can execute various BAPIs and RFCs.  I see a few promising ones: RFC_READ_REPORT, but no examples anywhere what the parameters needed are for the inputs. 

    Hello Scott,
    Check below FMs for reading tables and programs.
    Tables : RFC_READ_TABLE
    Program : RFC_READ_DEVELOPMENT_OBJECT
    Please note that for reading program using RFC_READ_DEVELOPMENT_OBJECT , lines in program should not exceed 72 chars else FM will throw dump(READ_REPORT_LINE_TOO_LONG).
    Program code will appear in table QTAB which is 72 chars wide.

  • Dynamic-side Box? Can't read source code with java

    Hi all,
    I am trying to read a source code of a web page with a java program. I can connect to the page and read a part of the source code without any problems however after a while when it comes to a part where mozilla and opera identifies as "dynamic-side box" my java program fails to read the source code and stops reading the rest of the page.
    Here is the part of the output I get from mozilla:
    <body id="city">
              <script type="text/javascript" src="/js/wz_tooltip.js"></script>
              <div id="container">
                   <div id="container2">
                        <div id="header">
                             <h1>Ikariam</h1>
                             <h2>Antik �a&#287;&#305; Ya&#351;a!</h2>
                        </div>
    <div id="breadcrumbs"><h3>Bulundu&#287;un nokta:</h3><a href="?view=worldmap_iso&islandX=78&islandY=80" title="D�nya haritas&#305;na d�n"><img src="skin/layout/icon-world.gif" alt="D�nya" /></a> > <a href="?view=island&id=2444" class="island" title="Adaya d�n">Sterios[78:80]</a> > <span class="city">ProPolis</span></div><!-- -------------------------------------------------------------------------------------
         ///////////////////////////// dynamic side-boxes. //////////////////////////////////
         //////////////////////////////////////////////////////////////////////////////////// -->
         <div id="information" class="dynamic">
              <h3 class="header">Info</h3>
              <div class="content">And here is the corresponding part in java console output:
    <div id="breadcrumbs">
        <h3>Bulundu&#287;un nokta:</h3>
         <span class="textLabel">Hata!</span>
    </div>
    <div id="information" class="dynamic"></div>
    <div id="mainview">
        <div class="buildingDescription">
            <h1>Hata!</h1>
        </div>
        <div class="contentBox01h">
            <h3 class="header"><span class="textLabel">Hata mesaj&#305;</span></h3>
            <div class="content">
                <ul class="h�bsch">
    <li><a href="http://ikariam.net"></a></li>            </ul>
            </div><!-- end #content -->
            <div class="footer"></div>
        </div><!-- end #contentbox -->
    </div><!-- end #mainview -->Is there a way to skip this dynamic-side boxes in java. Because I need to read an information that is located at the near end of the source code however since it stops when it hits to a dynamic-side box I can't.
    Thanks in advance, regards...

    Hi,
    That is what I was trying in deed! I was trying with a Scanner but I also tried with the link you have given. That also failed. Somehow java stops reading the source when it hits "dynamic-side box". However there has to be a way to skip this. If mozilla can do that, I know that java also can. I wonder how....
    Cheers...

  • Can BIP read this code??

    my code looks like this, but the deisred results does not show properly . . . it doesnt have an error but the logic that i want doesnt apply :(
    <?xdoxslt:set_variable($_XDOCTX,'vLOB',(//ListOfBipPremeraOpportunityIo14/Opportunity/CompanyLineOfBusiness))?>
    <?if:(xdoxslt:get_variable($_XDOCTX,’vLOB’))=(//ListOfBipAssumptionCompanyQuoteIntegrationObject/CompanyQuoteAssumption/CompanyLineOfBusiness)?>
    <?CompanyDescription?>

    Did u try printing <?xdoxslt:get_variable($_XDOCTX,’vLOB’)?>
    Does this have the expected value?

Maybe you are looking for

  • Can't upgrade ipod touch to ios 5 beta 2?

    Hi everyone! I recently tried to upgrade my firmware from ios 5 beta 1 to ios 5 beta 2 (I have a developer account, paid the $99 and everything). The upgrade to beta 1 from 4.3.3 was pretty much flawless. When I tried to upgrade to ios 5 beta 2, it s

  • ASA fails over upon anyconnect image activation

    I'm running into an odd thing here that I can't find any reference at all to in a search.  I am setting up anyconnect on an active/standby pair of ASA 5510 running 8.3(2).  Everything works great and I've got the MacOS package installed.  The odd thi

  • Autorun JAR file on deployment

    Hi, I am trying to deploy a simple JAR file [a Single class file w/ a main function()] on OC4J server 10.1.3.4. I've wrapped the JAR as an EAR file in order to deploy it on the OC4J however when I start the OC4J the class file doesn't run on it's own

  • Ipad will not sysc with laptop

    Ipad will not sysc with laptop thru I tunes

  • Updating custom fields to MSEG through MIGO

    Hi, I got a requirement to add a tab with custom fields in MIGO transaction, which I did using BADI MB_MIGO_BADI and requirement also says to extend table MSEG with custom fields and store the values in MSEG. I have gone through example implimentatio