I have a problem in html:select option

I need to retrieve the value from the dropdown list of html:select from the formbean .
As of now its populated with hardcoded values
Anyhelp appreciated

I made the changes to the jsp file ...but this time its throwing the following error.
help me ..
javax.servlet.jsp.JspException: No getter method available for property selectedCounty for bean under name org.apache.struts.taglib.html.BEAN
     at org.apache.struts.taglib.html.SelectTag.calculateMatchValues(SelectTag.java:327)
     at org.apache.struts.taglib.html.SelectTag.doStartTag(SelectTag.java:244)
     at jsp_servlet.__contract._jspService(__contract.java:245)
     at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
     at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
     at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
     at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:463)
     at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
     at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:322)
     at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
     at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
     at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
     at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
     at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
     at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
     at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)
     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
     at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
     at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
     at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

Similar Messages

  • Problem with html:select or html:options tags using struts,jsp and tomcat

    Hi
    I'm updating a Struts-Project to a new layout and therefore rework all jsp Sites.
    I'm also using a new Folder-Structure and update therefore my struts-config file.
    My Problem now is:
    Till now, we had a select-field with a code like this:
    < html:form action="/timetableAction" method="POST">
    < table width="53%" border="0">
    < tr>
    < td>< html:radio property="dauer" value="semester"
    /></ td>
    < html:select property="semester" size="1">
    < htmlptions name="semesterList" />
    </ html:select>
    </ html:form>
    The problem now is, that whenever I use any <html:xy> tag, the tomcat server I use can not show the page, he shows just the headers of the template, but not the
    content.-jsp-File where the form would be in. He stops right in the middle of the html page, when he notices the <html:xy> tags.
    And the funny thing is, that he has no problem to show a page when there is a <html:errors> within it? Why could this be? the struts-html.tld File is well included and teh Tomcat Server shows no exceptions.
    Waiting for you answers and thanks

    Thank you, I already got the answer in another forum

  • Problem in html:select

    MY problem is
    my html:select
    <html:select property = "planetID" size = "1">
    <html:option value = "1">one</html:option>
    <html:option value = "2">two</html:option>
    <html:option value = "3">three</html:option>
    <html:option value = "4">four</html:option>
    </html:select>
    when user vist this page i want[b] three to be selected in html:select
    i have tried using
    <html:option value = "3" selected>three</html:option> but it is not working
    please help me this is urgent

    If you want to select an option by default, you should specify it in the struts-config.xml int the form bean.
    <form-property name="month"  initial="0"   type="java.lang.String" />

  • Problem with Multiple selection option

    Hi all,
    I am working on a report, when I execute the report and the selection screen comes up, there I need to enter 5 different employee name so I am trying to use "multiple selection" option but as soon as I hit that "Yellow arrow" in front of employee name field .. I saw the output first and when I go one screen back I get that screen where I can enter the names. So can you please help me with this.
    Thanks,
    Rajeev

    Hi,
    I have written the following code, I guess the problem is in
    GD_REPID = SY-REPID.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          I_CALLBACK_PROGRAM     = GD_REPID
    DATA: FIELDCATALOG TYPE SLIS_T_FIELDCAT_ALV WITH HEADER LINE,
          GD_TAB_GROUP TYPE SLIS_T_SP_GROUP_ALV,
          GD_LAYOUT    TYPE SLIS_LAYOUT_ALV,
          GD_REPID     LIKE SY-REPID.
    FORM DISPLAY_ALV_REPORT .
      GD_REPID = SY-REPID.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          I_CALLBACK_PROGRAM     = GD_REPID
          I_CALLBACK_TOP_OF_PAGE = 'TOP-OF-PAGE'
          IS_LAYOUT              = GD_LAYOUT
          IT_FIELDCAT            = FIELDCATALOG[]
          I_SAVE                 = 'A'
        TABLES
          T_OUTTAB               = IT_tab
        EXCEPTIONS
          PROGRAM_ERROR          = 1
          OTHERS                 = 2.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " DISPLAY_ALV_REPORTcode}
    Thanks,
    Rajeev

  • Problem in passing select-options to class meathods , type any table

    <h1>how to pass type any table to class meathod</h1>
    <h3>hi all
           i'm trying to build class to validate the selection screen , like select-options and parameters
           while writing meathod to validate the select-options
           its throwing parameter mismath error</h3>
    <h4>i tried like made import parameter in class meathod as 'TYPE ANY TABLE' and tried to pass select-options from my program it is saying type mismatch , how to overcome this problem </h4>
    <h4>and i want to pass any select option , either of type lfa1-lifnr or mara-matnr or any other</h4>
    Moderator message : Don't shout, use proper font size for explaining the question. This has been discussed in ABAP forums before. Search for available information. Thread locked.
    Edited by: Vinod Kumar on Sep 14, 2011 11:20 AM

    hI
    Triggering and Handling events
    At the moment of implementation, a class defines its:
             Instance events (using the EVENTS statement)
            Static events (using the CLASS-EVENTS statement)
    Classes or their instances that receive a message when an event is triggered at runtime and want to react to this event define event handler methods. Statement: METHODS
    CLASS IC1_VEICHLE DEFINATION.
    PUBLIC SECTION.
    METHOD CONSTRUCTOR IMPORTING
    EVENTS VEICHEL_CREATION.
    ENDCLASS
    CLASS LC1_VEICHLE IMPLIMENTATION.
    METHOD CONSTRUCTOR
    RAISE EVENT VEICHLE_CREATION.
    REWARD IF USEFULL

  • Problem with html:select field

    I have two forms A and B, which I open from A. In B I have an <html:select property="X" and in A I have <html:text property="Y". In the javascript in B, I am trying to assign the document.B.Y.value as follows:
    opener.document.A.X.value = document.B.Y.value;
    On closing B, I do not see any values in A.X.
    Please help as to how I could make the value display in A.X?
    Thank you!

    Hi,
    I'm not sure if I understood your question! Do You want access form variables of A from form B, using the JavaScript? That is it??
    If I understood right, you need use a funcion called getElementById, it's a only way that I know.
    I hope it be useful

  • SMALL PROBLEM IN USING SELECTION-OPTIONS STATEMENT

    Hello ABAP Gurus,
    I am trying to write a simple program that takes 'FROM' and 'TO' dates which will be used to generate a report..
    However the requirement is that the 'FROM' date should have a default value that is read from a file and the 'TO' date should have a default value of today's date. The Client wants to option of changing these dates if needed.
    However, when I wrote the following program, it first doesn't read the text file for the 'FROM' date and therefore it is by default filling only 'TO' date and leaving the 'FROM' field blank. Can some one please let me konw what I am not doing correctly.
    The simple code that i have written is
    =======================================================================================
    REPORT  Z_PROGRAM1.
    DATA: DAYSTMP(40),
          FROMDATE LIKE SY-DATUM.
    DAYSTMP = 'C:\EXTRACTEDDATA\ExtractedDate.txt'.
    OPEN DATASET DAYSTMP FOR INPUT IN TEXT MODE ENCODING DEFAULT.
    READ DATASET DAYSTMP INTO FROMDATE.
    CLOSE DATASET DAYSTMP.
    SELECTION-SCREEN: BEGIN OF BLOCK MAIN WITH FRAME TITLE TEXT-001.
    SELECT-OPTIONS:   S_DATE FOR SY-DATUM DEFAULT FROMDATE TO SY-DATUM
    OPTION BT SIGN I.
    SELECTION-SCREEN: END OF BLOCK MAIN.
    ========================================================================================
    Any suggestions/feedback will be greatly appreciated.
    Thanks
    Ram
    Edited by: Prasad Ram on Oct 28, 2009 5:34 PM

    ... and please use the above <<>> code button after selecting the code with the mouse. Then formatting is preserved and readabilty is enabled.
    Many people (including me) refuse to read unformatted coding.
    Regards,
    Clemens

  • Dear all i have a problem with batch selection

    Hello ,
    i have this problem , i  can't assign automatically batches to some promotional material items, we have generic batches accord to the price of this items. when i deliver the order i have to put mannually the batch.
    Some of you can help me?
    i tried to classificate the batch with transsaction MSC2N but this changes are not saved and when i start another order must to put batch manually again
    Thanks

    For Batch determination in Delivery:
    -Please check if the Material Masters for these materials have been extended to Classification Views with class 023.
    -Check VCH1   if the search strategy records are maintained .
    There is also a detailed document here :
    Automatic Batch Determination Based on Shelf Life

  • Problem in displaying selection options in report

    Hi Team,
    There is a report running in production. It has one select option for data element PROJ-PSPNR.
    But the requirement changes and the selection option should be for PROJ-PSPID instead.
    I started changing the code in development box and deleted the selection text in text element for previous select option and put the description of the new one.
    In development it is showing perfect. I transported the transport request to quality and pre-production.
    In quality also it is looking fine. But in pre-prod, the text option of the select option is not coming. Besides the icon on the button at the right of two text boxes of that select option is also not showing.
    (The button on which we click to input multiple values in the select option).
    Now I am in a fix. Why this is happening and what I should do?
    Mainak

    Hi Mainak,
    Do the follwing steps:
    1) check that selection-text of that select-options are transported or not.
    2) if tranported may be some activation problme.....for that you need to do on thing.
                 go to your pre-production box, there in the report generate the program again by
                 program-->Generate....  it will genereate the your program. so that the missing will appear.
    Thanks!

  • I have a problem with the copy option in premiere pro CC

    I have a proyec when I need to copy some video and audio clips to other secuense but if I tray to copy the clips in the other secuense the program get close.

    Have you tested other clips?  Have you tested new clips, with no effects applied?

  • Problem in select querry with select option

    Hi all,
    How have a problem with the select querry, Pls correct my querry
    select opbel gpart betrw fdgrp into table lt_balance from dfkkop
                      where fdgrp in s_augrp
                        and hvorg = '5000'
                        and tvorg = '0100'.
    Thanx in advance,
    Line

    Hi
    I have tried this select querry, but I am unable to fetch the data in the internal table
    select opbel gpart betrw fdgrp into correspondiing fields of table it_balance
    from dfkkop
    where fdgrp in s_augrp
    and hvorg = '5000'
    and tvorg = '0100'.
    Can you please tell me what is wrong in this querry,
    Line

  • About select option

    Hi experts,
    In my alv report there is one field SERNR serial number, for this i have to put select option. My problem is this field doesn't exist in the table(Zmanifest) from where i'm fetching data. So i'm not able to mention this select option in my select query for that particular table. This field is existing in EQUI table and have no relation defined between zmanifest table & EQUI.
    In my internal table i have all fields of zmanifest & this sernr; to fulfill this field logic is
    Serial Number is combination of P_PREFIX-(dash)P_SERIAL fields in zmanifest. I have fetch all data including SERNR by above logic at my grid; but facing problem in defining SELECT-OPTIONS for Sernr.
    Please help.
    Points Sure.
    Anshuman

    Hi,
    do like this.
    take the lenght of P_PREFIX
    take the lenght of P_SERIAL
    add the length.
    for exmaple :
    P_PREFIX size is 4.
    P_SERIAL size is 10
    now declare the variable like this.
    data : v_selop(15).
    Note : 4101 = 15, so i declared the variable with lenght of 15.
    select-options : so_field for v_selop.
    now use off-set in your select query like this:
    where PREFIX = v_selop+0(4)
       and SERIAL = v_selop+5(10)
    it will work if you are using variable v_selop as a parameter else if you are using select option you have to break v_selop into two different select option like this:
    s_prefix type prefix,
    s_serial type serial.
    loop at v_selop.
    s_prefix-* = v_selop-. "      (  = sign, option)
    s_serial-* = v_selop-*.
    s_prefix-low = v_selop-low+0(4).
    s_serial-low = v_selop-low+5(10).
    s_prefix-high = v_selop-high+0(4).
    s_serial-high = v_selop-high+5(10).
    endloop.
    now use following select query
    where PREFIX in s_prefix
       and SERIAL in s_serial.
    it will surely wrok.
    Regards-
    Gagan Kumar
    Plz Reward if need full. also close the question.
    Edited by: Gagan Kumar on May 18, 2008 7:30 PM

  • Multiple Select options

    Hi,
    I have a requirement where i have to use to separate select options but the value of the 2nd Select option is dependant of the value chosen in the first select option.
    For eg:First Select option is for SWCV and 2nd option is for Data Object.
    If you choose S1 as SWCV in first select option then the values in select options for Data object should be populated for Data objects belonging to SWCV "S1" only an not for any other SWCV.
    PS:Points will be awarded

    Hi Sacha,
    Is there any other way in abap web dynpro where i can achieve the above mentioned requirement.The catch here is that the user can enter multiple values.
    Earlier user was allowed to have only one entry in inputfield so OVS used to solve my problem.But with multiple entries i can't do the same thing.

  • Select-Options in Webdynpro for Abap with onAction

    Hello,
    I need your help. I have a Webdynpro with 6 Select-Options. I used a button to start the selection. Can the Selection be started with return key.
    Thanks.

    I would expect in any case that there is no problem when you transport WDA build from ehp3 to ehp5 (Backward compatibility ).

  • How to define select option in function module

    Hi expert,
                           Actually in my program i am using two select options plant and project definition. i have to pass those two select options to my function module. What i did is i declared that two select options in tables tab using RSDSSELOPT structure. My function module is working correctly when i am testing in se37 but if i am calling my function module from my program its showing dump error 'TYPE CONFLICT WHEN CALLING A FUNCTION MODULE(field length)'. please tell me how to solve this problem.
    Regards,
    Rathish

    Problem solved

Maybe you are looking for