Problem in showing data on page using struts

hi,iam new to struts framework,
iam trying to display data fetched from database in a page contaning multiple textfields,when i try to call this page iam getting
"javax.servlet.ServletException: Cannot find bean org.apache.struts.taglib.html.BEAN in scope null"
execption.can anybody tell me what can be the problem.
action tag is
<action path="/getdetails" type="com.dpsl.dxdam.participant.actions.ParticipantAction" name="ParticipantForm" scope="request" input="/jsp/participant/participantdetails.jsp">
<forward name="success" path="/jsp/participant/participantdetails.jsp"/>
</action>
iam setting the values in textfield by
<html:text property="participantpolicyID"/>
iam calling the page by url
http://localhost:8080/dxdams1.0/getdetails.do?action=getdetails
what can be the problem ,please guide me

Make sure all your text properties are correctly represented in your form bean.
Clems

Similar Messages

  • How to resolve this: Some Gmail features have failed to load due to an Internet connectivity problem. If this problem persists, try reloading the page, using the older version, or using basic HTML mode.

    Keep getting this message while using Gmail "Some Gmail features have failed to load due to an Internet connectivity problem. If this problem persists, try reloading the page, using the older version, or using basic HTML mode. "
    I have to use the older version of gmail for it to work properly.

    now i cant even send emails out of gmail, except when using the older version.

  • Display date in jsp. using struts, JSTL

    want to display today's date in format October 18, 2006
    how to get today's date and how to display it in jsp?
    I am using struts framwork and JSTL tags in my JSP.
    Thanks.

    rizza_99 wrote:
    The page underlines {<fmt:formatDate value="${now}" type="both" dateStyle="long" />} says
    attributte value doesn't accept any expressionsWait, you said "the page underlines"?? So you're using an IDE? Are you sure that it a JSTL problem and not an IDE problem? Ignore the IDE and just execute the code. Does it work without any compilation errors or runtime exceptions? If so, then there's a problem in the IDE.

  • Retrieve data and display using struts

    hello..
    pls help...
    i know how to insert data into the data base using struts. but i don't know how to retrieve it. i have been trying to retrieve it using resultset .. but not sure how to display it using struts properly..
    pls help...

    hi :-)
    1. put your resultset in a list.
    2. put that list in a request.
    3. show the contents of list using jstl.
    regards,

  • Problem with uploading data from excel using BDC for tcode f-02

    Hi All,
    I am uploading data from excel using BDC for tcode f-02. The problem here is, while recording, the values of some fields are recording twice. I dont know why it's happening so. But if I run my abap program, I have to give those fields twice in my excel sheet. Otherwise data does not upload. But it is not the feasible way. We must give those fields once in excel. Please tell me, how I can solve the issue.
    With regards,
    Rosaline.

    Hi,
      in BDC each and every action is recording. If your press enter in same screen that also recorded once aging may be this is your case repeating field values will appear. we can solve the problem for repeat fields like below.
    suppose in your excel having repeated field X1 X2 X3 the X2 contains repeated field X3 means delete the X3 field.
    Now In your itab having X1 and X2 fields. While in the LOOP the ITAB pass the X2 field to repeated the fields.
    LOOP at ITAB to WA.
    CLEAR bdcdata_wa.
    bdcdata_wa-fnam = 'BDC_CURSOR'.
    bdcdata_wa-fval = 'RM08M-EBELN'.
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_wa-fnam = 'INVFO-BLDAT'.
    bdcdata_wa-fval = wa-X2." 1st time pass the X2 fields
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_wa-fnam = 'INVFO-BLDAT'.
    bdcdata_wa-fval = wa-X2." pass the same value to repeated field
    APPEND bdcdata_wa TO bdcdata_tab.
    Endloop.
    Hope you can understand.
    Regards,
    Dhina..

  • How to create menu bar in jsp page using struts-tles

    I have started working with struts-tiles. I want to create menu bar using struts-tiles. please guide me.

    I've done this very recently. In fact, tiles has very little to do with the menu itself.
    In your layout, define where you want the menu to go.
    <tiles:insert attribute="menu" />Now, in the actual file, create your menu structure. This part is up to you. I've used http://www.brainjar.com/ as a starting point for the client side actions.
    On my menu page, I call a method on a custom object that returns the menu bar object. Currently, I'm working on putting this menu into some sort of cached object so it doesn't have to rebuild it on every page request.
    Perhaps I've misread your post and you're looking to use tiles, in and of itself, to simulate menus? Otherwise, I hope my post helps.

  • Want to show errors to user using struts !!

    Hi, I am working on a application which is using struts framework., If any errors / exceptions occur, then they are forwarded to Fail.jsp.
    if (!errors.isEmpty()) {
                   saveErrors(request, errors);
                   // Forward control to the appropriate 'failure' URI (change name as desired)
                        forward = mapping.findForward("fail");I want to show to the user. the error/exception that occured. How can i send these errors to Fail.jsp. Please advice. thanks !!

    Then maybe you should go learn Struts before you come to a Java (not to be confused with Struts) forum and post unrelated questions. No go and get before I take a switch to ya! Ya bes simma!

  • Jdev 11g, Passing data between pages using data control

    Hi,
    I'm fairly new to Jdev, J2EE, and ADF. I created a project using the tutorial "Build a Web Application with JDeveloper 11g Using EJB, JPA, and JavaServer Faces" (found here: http://www.oracle.com/technology/obe/obe11jdev/11/ejb/ejb.html).
    Data model part seems to work fine. I am able to connect to the database and print out a record using the sample client.
    Now I'm trying to build the web front end for it. I started using a data control and ADF to make the components. I built a search page by dragging and dropping my method from the data control onto a form. I set the action on the form to go to a detail page which I put a database node from my table product_group. My thinking was the user would put in the id and then be taken to the next page that has the detail on it.
    When I ran the page though the search page seemed to execute fine but the detail page came up blank. There were no runtime errors. I think data is not being passed to the next page.
    This is the code for the form on the search page:
    <af:form>
    <af:panelFormLayout>
    <af:inputText value="#{bindings.p_id.inputValue}"
    label="#{bindings.p_id.hints.label}"
    required="#{bindings.p_id.hints.mandatory}"
    columns="#{bindings.p_id.hints.displayWidth}"
    maximumLength="#{bindings.p_id.hints.precision}"
    shortDesc="#{bindings.p_id.hints.tooltip}">
    <f:validator binding="#{bindings.p_id.validator}"/>
    <af:convertNumber type="number"/>
    </af:inputText>
    <af:commandButton actionListener="#{bindings.queryProdGroupFindByID.execute}"
    text="Search ID"
    disabled="#{!bindings.queryProdGrouptestFindByID.enabled}"
    action="search"/>
    </af:panelFormLayout>
    </af:form>
    This is the detail page:
    <af:form>
    <af:panelFormLayout>
    <af:panelLabelAndMessage label="#{bindings.description.hints.label}">
    <af:outputText value="#{bindings.description.inputValue}"/>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{bindings.id.hints.label}">
    <af:outputText value="#{bindings.id.inputValue}">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.id.format}"/>
    </af:outputText>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{bindings.status.hints.label}">
    <af:outputText value="#{bindings.status.inputValue}"/>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{bindings.storeId.hints.label}">
    <af:outputText value="#{bindings.storeId.inputValue}"/>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{bindings.type.hints.label}">
    <af:outputText value="#{bindings.type.inputValue}">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.type.format}"/>
    </af:outputText>
    </af:panelLabelAndMessage>
    </af:panelFormLayout>
    </af:form>
    I guess what I'm asking is how does data get passed to the detail page using a data control? Also if anyone has an online book about data controls and how they work I'd appreciate that too. Too much magic going on.
    Thanks in advance.
    Edited by: user2936931 on May 3, 2009 5:15 PM

    I went to the bindings tab for my search.jspx page and found in the 'executables' table queryProdGroupFindByIDIterator. I looked in the properties for that and 'CacheResults' is set to '<default>true'. Next page still looks blank. I changed it to straight up 'true' and that didn't work either.
    If I'm in the right place I guess it must be something else?

  • How to show an html page using JEditorPane in applet.

    I have never use jeditorpane with applet so i dont know how to show a html page.if you have some code or any example then please posted that.Thanks

    public class MyApplet extends JApplet{
        private JTextPane textPane = null;
        public void init(){
        HTMLEditorKit editorKit = new HTMLEditorKit();
        HTMLDocument  htmlDoc   = (HTMLDocument)editorKit.createDefaultDocument();
        textPane  = new JTextPane();
        textPane.setEditable(false);
        textPane.setEditorKit(editorKit);
        textPane.setContentType("text/html");
        textPane.setDocument(htmlDoc);
        Container c = getContentPane();
        c.add(new JScrollPane(textPane),    BorderLayout.CENTER);
        c.add(buttonPanel,                  BorderLayout.SOUTH);
        c.add(Box.createVerticalStrut(5),   BorderLayout.NORTH);     
        c.add(Box.createHorizontalStrut(5), BorderLayout.EAST);     
        c.add(Box.createHorizontalStrut(5), BorderLayout.WEST);
        public void setHtml(String html){
            // you should check the textpane's document to detrmine if there
            // is already text in there..if so, then clear the textpane text and then
            // set the new html...Note: JTextPane only show basic Html ..
            // not like a full blown browser
            textPane.setTextt(html);
            textPane.setCaretPosition(0);
    }

  • Urgent: Problem opening a data form that uses a smart list

    Hi, we've got a problem with a data form that is quite unusual.
    The data form was working perfectly until yesterday when we put a smart list in it. The smart list is composed of 8 possible choices activated by the following member formula:
    IF (SML==1)
    ((BDG->BegBalance->&CurrYear)/12);
    ELSEIF (SML==2)
    ((INC_BDG->BegBalance)*("01A2"->ACT_FINAL));
    ELSEIF (SML==3)
    ACT_FINAL->&PreYear;
    ELSEIF (SML==4)
    (INC_ACT->&PreYear)*("01A2"->ACT_FINAL);
    ELSEIF (SML==5)
    ACT_FINAL;
    ELSEIF (SML==7)
    (INP_PER)*("01A2"->ACT_FINAL);
    ELSEIF (SML==8)
    INP_ASS;
    endif;
    Initially we tested the functioning of every different choice in the smart list and it was working properly. After a while we tried again to change the choices combination and we couldn't open the data form due to an error.
    It is quite strange because sometimes it work and sometimes it doesn't. In the data form (that is very large) there are many accounts and scenarios that are dynamic calc, in addition to the smart list formula; we tried to open the form two minutes ago converting the data storage type of a scenario from "Dynamic calc" into "Dynamic calc and Store", and it seems to work at the moment... does planning have a memory limit? Can someone suggest a solution (or help us find out the reason)?
    Bye

    Anton,
    new thread is one possibility, but the messsage box is not win message box, but SAP form, so I think you can clcik there without new thread too.
    Check this thread, hope it helps
    Re: Confirmation Dialog in my way

  • Problem activating 'Show Date/Time in Menubar'

    Hallo all,
    since the upgrade to Snow Leopard the Time is not shown in the menubar.
    I teried to activate 'Show Date/time in Menubar' in System Preferences->Date/time->Clock, but it is not possible to check the corresponding button, it remains unchecked.
    In the folder 'System/Library/Coreservices/Menu Extras/' is an empty file 'clock.menu'. For all other menu items appearing in the menubar, e.g. Users, Airport etc.,there is a corresponding '.menu' file which is not empty. Perhaps this is the reason - but how can I repair the clock.menu file? Or is there another reason for the missing date/time?
    Thanks and greetings
    Danny

    HI and Welcome to Apple Discussions...
    but how can I repair the clock.menu file?
    Go to ~/Library/Preferences and move these files com.apple.menuextra.clock.plist amd com.apple.systemuiserver.plist to the Trash.
    Restart your Mac.
    Carolyn

  • Problem on loading DAT file when using 3G network modem

    Hello,
    I'm having some strange problem when I'm trying to load my game on the part where DAT file with Map Object is read, using 3G Network Modem. This issue started when I migrated my applet from one host to another. Everything loads well, until the user authentication. On user authenticatiom I'm recieving map name which I should load and show the user on it. I'm recieving the message where map name is mentioned, but after, when the process of loading map begins(when I need to read DAT file which is only 15KB) application blocks(browser and JVM also block).
    I thought it could be because of slow network communication, but it's not the reason, since I have tested(using Bandwidth limiter software) with 5 KBs/Second and it loads well and application is running well.
    Any clue why this can happen? If code is needed I'll post some pieces related to the process of map creation.
    URL or application: [ http://mimosa.dei.uc.pt/serhiy/demo/hoonline.html|http://mimosa.dei.uc.pt/serhiy/demo/hoonline.html]
    Accounts: test01/test01 ... test0n/test0n ... test05/test05 (n is number from 1 to 5)
    Thanks in advance!

    You have to upload it with FileReference.upload() to a PHP
    (or other server-side) script which saves it to a folder on the
    server. When the DataEvent.UPLOAD_COMPLETE_DATA event has been
    dispatched you can then use the FileReference.name to load from the
    file on the server just like any other image.

  • How to display the Current Date on page using ADF Components

    Hi,
    Is there any way to display the system date on a page developed using ADF Components.
    I am thinking of writing the java code to display the date. Just wanted to check is there any pre-defined component of ADF that I can make use of.
    Could anyone tell me how to do this using ADF components?
    Thanks in advance.
    Sivaji....

    Please refer the below link.
    Prompt  with  default  date   (  currentdate-1  and current date-8)
    http://www.dagira.com/2008/07/15/how-can-i-make-today-my-default-prompt-value/
    http://www.dagira.com/2008/07/21/using-a-magic-date-value-in-prompts/
    Regards,
    Bilahari

  • ITunes Store shows a blank page (Using a Mac)

    For almost the past 2-3 months now iTunes Store only shows a blank white page when I click the "Store" tab - all I can see is the text, no images, and I cannot download any Apps, Music Videos etc. When I click the "download" button nothing happens!
    NOTHING WORKS!!!
    I have heard people encounter this problem on Windows, but I'm running iTunes 10.7 (21) on an iMac and I also encounter the same issue on a Mac Pro I have.
    Is there any suggestions or solutions to this issue?!
    Thanks,
    Rob

    With those symptoms, I'd check the following document:
    iTunes 10.5 for Windows: May see performance issues and blank iTunes Store

  • Problems with branching to the page using URL.

    I have button item P3_DELETE_BUG_B.
    Then I have a process that called after pressing this button.
    And branch, which call an URL:
    javascript:confirmFileDelete(htmldb_delete_message,'f?p=&APP_ID.:3:&SESSION.:REMOVE_ID:&DEBUG.::P3_DELETE_BUG:1');
    When I call this URL directly from button it works, when I use branch I receive an error:
    ERR-1777: Page 3 provided no page to branch to. Please report this error to your application administrator.
    Restart Application
    Regards,Kostya

    Kostya,
    The never condition means to never perform that operation, in essence I turned off your branch.
    I then created a branch which is seqeuence 20 that goes to page 1 when the request is = 'DELETE'
    I then went to your list entry that was labeled "delete" and set a URL target to be
    javascript:confirmFileDelete(htmldb_delete_message,'f?p=&APP_ID.:1:&SESSION.:REMOVE_ID:&DEBUG.::P1_DELETE_ID:1');
    Is it performing the operation that you wanted it to?
    Also not sure if you meant for this to do this or not but in your url that forcing up above your setting a request value of "REMOVE_ID"

Maybe you are looking for

  • PDF will not save via Save Icon on Web Browser (All), but will save using Print option. How can I resolve this issue?

    Good morning all!      I am trying to publish a fillable form to a website for users to fill out. The trouble is that I myself can fill out the form when I click the link, and save it using the disc icon. However when I have other users click it, the

  • Does CAF have the possibility to implement wait steps?

    I'm wondering if CAF has functionality to allocate a wait time to an action, in the same way that it is possible to put a wait step in ABAP workflow tasks. I can see one tab on the Action definition in design time GP that has a fixed date and allows

  • Long text in task list

    dear dudes, we are using SAP R/3, I have created a query for task lists, I wanna add Long Text field for each operation but I can not find its table and field in SAP. or maybe SAP has a function module for that. thanks in advance

  • How to handle the error when using Connection.setAutoCommit()

    I use Jboss's datapool to realize the connection to Sybase Database.And after connected to the database I wrote "con.setAutoCommit(false)" then the error occured. The error is "java.sql.SQLException: JZ0SJ: Metadata accessor information was not found

  • Elements 8 color scheme and panel bin - ugh!

    I just upgraded from Elements 5 and I'm beginning to regret it.  First, the colour scheme is dull, dull, dull, and more importantly, difficult to read.  Whoever chose to use a black background with tiny white text doesn't understand visual design. I