URL is changing in the response

Hi all,
I am writing an application in Struts framework that PostForm that contains a Education details to be filled. for this i have Add button when i click this it opens a pop up window there it adds the values to the ArrayList then popup window is closed and in the Parent window is getting refresh.it is working fine.
The added list has two options one is edit and delete edit is working fine and when i delete all the list of education it is deleted.now the problem occurs when i want to add new education detail it is not adding to the arraylist.
my code is this,
for add
<a onclick="Window.open('PostEducation.do?operation=showEdu','_blank',800, 600, 1, 1, 0, 0, 0, 1, 0);"> <input type="button" value="Add"></a>
then it displays a popupwindow after adding the data to the List it closes poupwindow it has the code like this
<body onunload=" window.opener.location = window.opener.location; window.close(); return true;">
it closes the window it is also working fine in firefox browser.
for delete i have the link like this
<a onclick="PostEducation.do?operation=delEdu&delEdu_id=<c:out value='${exp_rowNum-1}'/>">Delete</a>
it deletes the single element from the list and returns mapping to the same page.
Now...If i want to add the education to the list again, popup is opened.
After submitting the form it is not adding to the ArrayList.
Anyyyyyyyyyyyyy suggestion welcome
Thanks&Regards
sarfaraz
hyderabad

Hi Amie,
It is difficult for me to understand the problem. Could you please provide more information about the version of the J2EE Engine you use, the environment - cluster, nodes. If it is possible to copy/paste the HTTP request and Http response. What is this default port number that you mention?
Could you be so kind please to explain the problem once again in more details ?
Best Regards,
Todor

Similar Messages

  • The bidder cannot change/edit the response

    hi experts:
       we use SRM7.0 with standalone scenario.
       the bidder create a response for a RFx. before the deadline ,  the bidder change the price is permitted in our company .
       thequestion is :
         in SRM,  the bidder can withdraw the response , and there is a button' Re-submit' , but there is no button"Edit" , why? and what shoud i do to make the bidders can  change the response.
      regards
         claud

    In your RFx header, you'd have to check the box "RFx Respondent Can Change RFx Responses" in order for a submitted bid to be changed by the bidder without the buyer initiating it ("return" the bid).

  • How to get the Response Code when a URL is launched from Web Dynpro

    Hello Experts,
    I have a Web Dynpro Application in which in one of its views i have an IFrame UI element in which i will show a resource stored somewhere ..
    But before showing it i want to check if the resource actually exists. For this i have to check the HTTP Response code from Web Dynpro Application without setting it in the Iframe..
    I am using the following code to get the Response Code:
    try{
    URL url = new URL("Some Url");
    HttpURLConnection.setFollowRedirects(false);
    HttpURLConnection connection = (HttpURLConnection) url.openConnection();
    connection.connect();
    wdComponentAPI.getMessageManager().reportSuccess("Response code ="+connection.getResponseCode());
    }catch(Exception e){
    wdComponentAPI.getMessageManager().reportSuccess("Exception");
    Now the Problem is whatever response Code occurs 403 (for No Proper Authorization), 404 (for Resource not found) etc..
    i always get Response Code=  500 (which is for Internal Server Error) shown in the messgae i have printed.
    Please let me know the correct way of getting the Response Code from Web Dynpro.
    Also my resource is lying on a SAP Portal 6.4
    Best Regards
    Sundeep
    Edited by: Sundeep Sethi on Feb 18, 2008 9:07 AM
    Edited by: Sundeep Sethi on Feb 18, 2008 10:23 AM

    Hi,
      Check this code from /thread/5242768 [original link is broken] if it works.
    try{
    URL myurl = new URL("http://calendar.google.com");
    URLConnection connection = myurl.openConnection();
    if(connection instanceof HttpURLConnection) {
    HttpURLConnection httpConnection = (HttpURLConnection) connection;
    HttpURLConnection.setFollowRedirects(true);
    httpConnection.setRequestMethod("HEAD");
    httpConnection.connect();
    System.out.println("Response = "+httpConnection.getResponseCode());
    catch(Exception e) {
    // print exception
    Regards,
    Harini S

  • Is it possible to change the URL of the browser corresponding to changes in the timeline?

    Hello,
    I'm trying to create a whole website in Edge. Is it possible to change the browser URL for different sections of the animation. For example me.com/part1 leads to 2.0 seconds in the animation. And for example when you type me.com/part2 the browser would go to 4th second of the animation. And vice versa, when the animation reaches the 4th second the browser URL would change to me.com/part2. It would be really great if that were possible. Any ideas on how to accomplish it?
    Thanks!

    Hi there, Joel's example seems to be exactly what you're trying to do. All you need to do is replace his functions with your functions.
    There are two main parts to his example: 1) reacting to a URL change directly in the URL bar, 2) reacting to a button click, and setting the URL
    Regarding Item 1: this line (this adds a listener for when the URL hash is changed, and calls the 'sym.animate' function in his example). Note that he is linking the value after the # with the symbol names 'panel1', etc. This line enables the functionality for you to be able to directly change the URL to: testStep95.html#panel2, and the site will change pages.
    $(window).on("hashchange", function(){sym.animate(location.hash.replace("#",""), sym.onStage)});
    Regarding Item 2: he's setting the page title (based on the active panel symbol) and URL hash, in the  'sym.animate' function. He calls the 'sym.animate' function on click of btn1, btn2, btn3:
    document.title = panelIn;
    window.location.hash = panelIn;
    Props to Joel for his slick example!

  • How do I change the order of columns in the responses table?

    How do i change the order of columns in the responses table in FormsCentral?  The default setting puts them in reverse order!

    Hi,
    The issue with the default ordering of columns in the response table is something that we hope to address in the next update to FormsCentral. In the meantime, you can reorder the columns by selecting them then click/drag using the gray area above the column name. As shown below, an orange marker will show you where the columns will be placed when you release the mouse button.
    Sorry for the inconvenience.
    Regards,
    Brian

  • I downloaded Safari 5.1 onto Mac OS 10.6.8 some time ago.  Yesterday the back/forward arrows next to the url window changed to a  , which adds the current url as a bookmark.  I want the arrows back.  What happened, and how can I fix this?  Thanks.  kammro

    I downloaded Safari 5.1 onto Mac OS 10.6.8 some time ago.  Yesterday the back/forward arrows next to the url window changed to a +, which adds the current url as a bookmark.  I want the arrows back.  What happened, and how can I fix this?  Thanks.  kammro

    There's another way.
    Right or control click the + then click Remove Item.
    Just remembered that keyboard shortcut!
    You're welcome 

  • Is there a way to remove the changes to the URL Bar, specifically the status information and the target URL?

    To begin, I utterly despise the changes to the URL Bar and the removal of the Status bar. In order to stay with the latest version of Firefox I am attempting to recreate the look and feel as best I can.
    I have already installed the Status-4-Evar extension. The only thing that remains is to remove the status information and the target URL from the bar.
    Are there any settings in about:config that will allow me to make these changes?
    EDIT: Status information can be removed by toggling. status4evar.statusInUrlBar. Still looking for a way to remove the target URL...

    This code in [http://kb.mozillazine.org/UserChrome.css userChrome.css] below the @namespace line seems to remove the links that appear on hover.
    <pre><nowiki>@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
    .urlbar-textbox-container {color: inherit !important;}
    .urlbar-textbox-container-children {opacity: 1 !important;}
    .urlbar-over-link-box {opacity: 0 !important;}
    </nowiki></pre>
    See http://kb.mozillazine.org/Editing_configuration#How_to_edit_configuration_files

  • The URL does not change to the pages i'm clicking to anymore, even when i've moved to a new tab. how do i change this back?

    if i type in one url, it just displays that url no matter what page or tab i have moved on on. the 'back' button is also greyed out and doesn't work. i'm using windows vista. this problem started a few days ago.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • Change error tag names of the Response xml of a vanilla Inbound Webservice

    Hi,
    I am invoking a vanilla inbound webservice "Service Request" through Soap UI. Whenever any error occurs, in the response xml, some tags like "siebelf:error" is generated in the xml. However these tags are not present in the IO.My question is, can we change these tag names? If yes, then how?
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Body>
    <SOAP-ENV:Fault>
    <faultcode>SOAP-ENV:Server</faultcode>
    <faultstring>Method 'SetFieldValue' of business component 'Service Request' (integration component 'Service Request') returned the following error:
    "The value entered in field Status of buscomp Service Request does not match any value in the bounded pick list FIN PickList Service Request Status.(SBL-DAT-00225)"(SBL-EAI-04376)</faultstring>
    <detail>
    <siebelf:siebdetail xmlns:siebelf="http://www.siebel.com/ws/fault">
    <siebelf:logfilename>EAIObjMgr_enu_0033_34603066.log</siebelf:logfilename>
    <siebelf:errorstack>
    <siebelf:error>
    <siebelf:errorcode>SBL-DAT-00225</siebelf:errorcode>
    <siebelf:errorsymbol/>
    <siebelf:errormsg>Method 'SetFieldValue' of business component 'Service Request' (integration component 'Service Request') returned the following error:
    "The value entered in field Status of buscomp Service Request does not match any value in the bounded pick list FIN PickList Service Request Status.(SBL-DAT-00225)"(SBL-EAI-04376)</siebelf:errormsg>
    </siebelf:error>
    </siebelf:errorstack>
    </siebelf:siebdetail>
    </detail>
    </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Regards
    Sagnik

    Hi,
    You should be able to edit the generated wsdl as you suggested, changing the
    "return" to something else. Then save the wsdl to a file, say
    "filename.wsdl", and then at the top of your jws add the following:
    * @jws:wsdl file="filename.wsdl"
    This will force the jws to use the wsdl you specify and you won't have to
    edit any maps. Of course, as your jws changes, you will need to regenerate
    the wsdl and change the "return" to something else.
    Mike Kaufman
    Software Engineer
    BEA Systems
    "sherlock" <[email protected]> wrote in message
    news:3cbbe81f$[email protected]..
    >
    I have created a webservice in workshop that has some methods what returnstring-data.
    Now I want to create clients with different software-products. Because Igot some
    errors with one of these products, I looked into the WSDL and noticed thatthe
    name of the response-datatype is 'return' (by default).
    You can see this here:
    - <s:element name="addUserResponse">
    - <s:complexType>
    - <s:sequence>
    <s:element minOccurs="1" maxOccurs="1" name="return" nillable="true"type="s:string"
    />
    This 'return' is interpreted as a keyword in the client-generation tool.If I
    change this manually to another word then it works.
    When I try to change the 'Return XML' in the 'Edit Maps and Interface'Dialog,
    than the WSDL looks like this:
    - <s:element name="addUserResponse">
    - <s:complexType mixed="true">
    - <s:sequence>
    <s:any minOccurs="1" maxOccurs="unbounded" />
    Now the name- and type-definitions are completely missing.
    The question is now: how to change the name of the response-datatype from'return'
    to another (not-keyword-) name?
    I think this is important because I don't know what software a customeruses to
    generate a client and I can not expect that he manually edits myWSDL-file.
    >
    Thanks.

  • How to change the response of human task if we are using the skip rule

    Hi,
    We have developed the request workflow in OIM11g for this we are using the Beneficiary Manager approval composite to approve the request by his manager.
    We are using the skip rule in the human task component to skip the user if the requester is beneficiary manager.
    After the skip rule is executing the the request is going to failed state because of the response it is sending to the OIM
    The skip rule is working as expected but the response sending to OIM is COMPLETED instead of APPROVE.
    Please let us know the steps to change the response to Approve after the skip rule is executed or how to add the response COMPLETED in OIM.
    Thanks

    You will have to write a conditional block outisde the task where you would check if the skip condition is met and if yes then you will have to hard code the approved conditions into the payload for the task outcome.
    <assign name="SetAutoApproveConditions">
                            <copy>
                                <from expression="string('APPROVE')"/>
                                <to variable="ApprovalTask_1_globalVariable"
                                    part="payload"
                                    query="/task:task/task:systemAttributes/task:outcome"/>
                            </copy>
                            <copy>
                                <from expression="string('COMPLETED')"/>
                                <to variable="ApprovalTask_1_globalVariable"
                                    part="payload"
                                    query="/task:task/task:systemAttributes/task:state"/>
                            </copy>
                        </assign>HTH,
    BB

  • [svn] 3839: Update the channel url to reflect the change in the runtime channel

    Revision: 3839
    Author: [email protected]
    Date: 2008-10-23 07:42:37 -0700 (Thu, 23 Oct 2008)
    Log Message:
    Update the channel url to reflect the change in the runtime channel
    Modified Paths:
    blazeds/branches/3.0.x/qa/apps/qa-manual/ajax/messaging/TextMessageRuntimeDest.html

    Many ways to do this. The easiest is to have a method in one of your classes that reads the data from the database and creates all the proper structure under a RootNode and then returns that RootNode.
    Whenever you want to refresh the tree, just call that method to recreate the root node (and all the underlying structure/nodes) and then re-set the root node of your tree model using the setRoot() method. That will cause it to refresh the display given the new root node.
    Once you have that working, you can get fancier and make it more efficient (only updating/firing events for the nodes that actually changed, etc).

  • I have an Iphone 3gs. I can't get it to sync. Every time I try I get the response 'waiting for changes to be applied'. I've tried doing a reset but it still won't sync. Any ideas?

    I have an Iphone 3GS. I can't get it to sync. Every time I try I get the response 'waiting for changes to be applied'. I do not have voice memos. Any suggestions?

    This is a user forum, not a channel to address Adobe. As your fellow users and volunteers, we'll be happy to help you if we can.
    You can download the CS6 trial version just like anybody else.
    Once you download it, you can install it, input your serial number, register it and apply all necessary updates.
    An alternative, if you know how to access your Adobe account, under My Products you'll find your Photoshop CS6 registration, next to which you should find a link to download CS6 if you originally bought it as a download

  • Is there a way to format text case in the response table fields? Also, is there a way to change the

    I am trying to do two things in a response table for a form. First, i would like to know if I am able to use a function to auto convert the populated text to either proper or upper case as needed. Second, is there a way to rearrange the column order in the response table?

    Hi;
    You can use the "UPPER" formula from http://helpx.adobe.com/acrobat-com/formscentral/help/formula-syntax-built-in-functions.htm l
    I think you'd insert/add a new column adjacent the one you want to convert, let's say you want to convert the responses in column "J" so you insert a colulmn to the right "K", in cell "K1" you'd put "=UPPER(J1)" and when you hit "Enter" column K would be populated with the data from the cells in column J in all caps. You could then hide column J to keep the form cleaner and all new responses would be reflected in all caps in the new column K.
    A video on using formulas: http://tv.adobe.com/watch/acrobat-xi-tips-tricks/how-to-work-with-formulas-in-formscentral /
    Thanks,
    Josh

  • OATS Enhancement: Verify the response contents of http requests which enclosed by begin/endconcurrent

    Recently I’m testing the Fluid UI with OATS 12.4.0.2.
    In this test, since the browser get all tiles in current page simultaneously, I have to simulate this behavior in OpenScript/OLT.
    Then I put all those http requests into a concurrent block ( marked by begin/endconcurrent statments) and it works fine.
    But this bring in a limitation: so far, the OATS doesn’t support to verify the http response contents if those http requests resided inside the concurrent blocks.
    So I did an enhancement for OpenScript to overcome this limitation. I think it might useful if you have similar test scenario.
    How to use it:
    Put the attached file ConcurrentHTTPService.java into your OpenScript project folder ( same folder as where your script.java living).
    Replace the alias line for http in script.java, the below is after replacement:
    //@ScriptService oracle.oats.scripting.modules.http.api.HTTPService http;
    @ScriptService ConcurrentHTTPService http;
      3. Put your http.get inside concurrent block as usual:
    http.beginConcurrent("Get_Tiles_Concurrently");
    //The below IDs are useful for later. We use this ID to identified the http requests inside the concurrent block.
    //If you dn’t have those IDs, it’s OK, we can use the full URL string (including all parameters)to do the same thing,
    //but the full URL is very long, and I hate the screen were occupied by URLs…
    http.get( 193, "http://Page1",...);
    http.get( 194, "http://Page2",...);
    http.endConcurrent("Get_Tiles_Concurrently");
      4. After endConcurrent statement, We can use the following methods to get the http response content by RecID or full URL:
    //Those methods should be used after the endConcurrent statement
    //Get the response contents:
    //Please reference the http.getLastResponseContent method for the explain of parameters.
    info("Resp 193/Page1:" + http.getLastResponseContentForConcurrent(193,Source.Html));
    info("Resp 193/Page1:" + http.getLastResponseContentForConcurrent("http://Page1",Source.Html));
    //Verify the response contents:
    //Please reference the http.AssertText method for the explain of parameters.
    http.AssertTextForConcurrent(193, "Text Match Name", "Key_word_should_appear_in_response_content_of_request_193/page1",
        Source.Html, TextPresence.PassIfPresent, MatchOption.Exact);
    http.AssertTextForConcurrent(("http://Page1", "Text Match Name", "Key_word_should_appear_in_response_content_of_request_194/page2",
        Source.Html, TextPresence.PassIfPresent, MatchOption.Exact);
    Done!
    Thank glenn.s in this thread: How to test asynchronous web service.

    I think I have the solution to your dynamic addressing problem, but I have a problem combining HTTP authentication with dynamic address resolution.
    I've got an external service that requires basic authentication and I've handled it successfully by adding a <MustSupportBasicAuthentication> block to the WSDL, as described in the article "Basic Authentication in HTTP SOAP BC" (http://wiki.open-esb.java.net/Wiki.jsp?page=HTTPBasicAuthentication). This works perfectly, causing the HTTP BC to send credentials every time it accesses the external service.
    Now I want to make the URL of this external service dynamic (i.e., read it at run time from a configuration mbean). I followed the example from the article "Using Dynamic Address feature" (http://wiki.open-esb.java.net/Wiki.jsp?page=UsingDynamicPartnerLinks), which shows you how to send an endpoint reference (EPR), in the form of an <EndpointReference> block. This also works fine.
    (I believe this last technique is the solution to your dynamic addressing problem. I've used both with and without BPEL. To use it outside of BPEL, you make a DocumentFragment out of the XML tree that begins with <EndpointReference> and pass it as an argument to the resolveEndpointReference method of your component context. This causes the JBI container to contact the HTTP BC, which understands the EPR.)
    My problem is this: once I've dynamically changed the target URL of the external service, the HTTP BC seems to forget that it requires authentication and no longer sends credentials.
    Has anyone else experienced this behavior, and if so how did you work around it?

  • How do I set the response status code for a request in ADF?

    For example:
    I have a page accessible like page.jspx?id=$ID, in which $ID identifies an object stored in a database. The user navigates to page.jspx?id=abc. abc does not exist or has been deleted. I wish to set the response status code to 404 for the page request, like, for instance, https://docs.google.com/spreadsheet/ccc?key=abc does. How do I do this?
    PS: Changing the status code for subsequent partial submits on the page if the object is deleted while the user is on the page (e.g. if the user attempts to delete an already deleted object through a "Delete" button on the page) may also be desirable, but would probably not fit in as well with the ADF lifecycle or be as useful.

    Maybe I should be more specific about the current state of the code. It's something functionally similar in relevant portions to the following. For the purposes of this code, assume the ID maps only to a name, rather than a more complicated object:
    page.jspx looks like:
    <?xml version='1.0' encoding='utf-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
         xmlns:f="http://java.sun.com/jsf/core"
         xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
         xmlns:trh="http://myfaces.apache.org/trinidad/html" version="1.2">
         <jsp:directive.page contentType="text/html;charset=utf-8" />
         <f:view>
              <af:document binding="#{pageInitializer.dummyComponent}" title="#{pageData.name != null ? pageData.name : 'Object Not Found'}">
                   <af:outputText rendered="#{pageData.name != null}" value="#{pageData.name}" />
                   <af:outputText rendered="#{pageData.name == null}" value="No object was found at this URL." />
              </af:document>
         </f:view>
    </jsp:root>pageInitializer and pageData are pageFlow-scoped beans with the following code:
    class PageInitializer {
         @Inject private PageData pageData;
         @Inject private NameDao nameDao;
         @PostConstruct
         void initialize() {
              String name = nameDao.getNameById(FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get("id"));
              if (name != null)
                   pageData.setName(name);
              else
                   // TODO: Set status code 404
         public void setDummyComponent(UIComponent dummyComponent) {
         public UIComponent getDummyComponent() {
              return null;
    public class PageData {
         private String name;
         public String getName() {
              return name;
         public void setName(String name) {
              this.name = name;
    }The code initializes the data from the database through the initilaizer of a pageFlow-scoped bean with a dummy setter for the document because I read somewhere that that would work, and it seems to work, even though it seems hacky.
    Ideally, the code would render the 404 where it currently says (// TODO: Set status code 404). I realize this may not even be possible given the current architecture, because part of the response body has already been rendered, and I believe, but cannot find a source to cite, that the status code and headers cannot be set after the body has started being rendered. Is there any architecture that would get me this page's functionality (even if it's two JSPXs on the backend (which might be ideal)) and be able to render a 404 for an inexistent object?
    Edited by: 907794 on Feb 1, 2012 3:55 PM
    Edited by: 907794 on Feb 1, 2012 3:58 PM

Maybe you are looking for

  • Getting an error when running my program but it compiles.

    Hey guys, I'm having a problem running the program. Everything compiles correctly, but then I get the error code linked below. Everything I think is correct here. Any ideas? I posted CinReader as well in case you wanted to try compiling and running i

  • In my library it said that most of my music it cant find the files

    my library says most of my songs cant find the files

  • DOOL Season Pass

    What in the world happened to our regular 20(?) episode season passes of Days of Our Lives? Now you have to spend over $700 and buy the entire year? iTunes hasn't answered me yet. I asked Support on Aug. 3. Anybody have an answer?

  • Adobe PhotoShop trial is not downloading

    Photoshop is downloading now... Forever this is my life....... is there suppose to be a bar that lets you know how long it will take or anything? Is it typically hours/minutes?  What is going on? I can't even tell if it is working.

  • Bios recovery password

    after trying 3 times i got the error code 50828284 what is my bios password? This question was solved. View Solution.