How to Handle RMA Requests through EDI?

Hi Folks,
I have a quick question.
In general, how do RMA Requests are handled through EDI.
I don't want RMA requests created in SAP (through VA01) send via EDI.
How can i handle this situation.
Please reply in detail.
Awaiting for your answer,
Creasy Matt

Hi veerendra reddy ,
By default any web server can will have a thread pool to handle client req's.
In your point also heavy burden to server you are telling that depends on this.
we can configure this min & max size of this thread pool.
by default it will be 0-1000 for tomcat server.
I am not sure in which file this configuration will be.
But I hope in server.xml or some xml file consists this info.
If You what you can edit accordingly. to overcome your heavy burden to server.
Thanks & Regards
Nagendra

Similar Messages

  • How to handle multiple request in the servlet

    how to handle multiple request in the servlet...
    Example:
    java forum...
    i'm login in the java forum at this time 1000 members make login in this....how happended in servlet?
    if we use thread how to implement in servlet ?

    Serlets are already threaded. The application container instantiates the servlet, then uses this instance in a new thread for every use.
    This is the reason that you should use (almost) no instance variables in a Servlet, but rather that (almost) everything should be local to the method.

  • TS1702 I cannot get an unlocked version of drivesafe.ly to operate on any accounts on my iphone 4S and have had no help when I asked them for support.  I am now trying to figure out how to refund the product.  Anyone know how to make that request through

    I cannot get an unlocked version of drivesafe.ly to operate on any accounts on my iphone 4S and have had no help when I asked them for support.  I am now trying to figure out how to refund the product.  Anyone know how to make that request through itunes?

    Try assigning Queen as the Album Artist on the compilations in iTunes on your computer.

  • How to handle multiple connection through JCO

    Hello JCo Experts,
    My requirement is as follows:
    > I need to create a Web Dynpro Java Application
    > I have multiple users (different Users on SAP System).
    > I need to execute BAPI/Module Functions through these multiple users.
    Example:
    Users: A and B
    User A has logged in from a remote location
    User B has logged in from a another remote location
    both users have logged in through SAP system Login Ids
    Two JCo Connections should be created and all the request from User A must use Connection A and request from B must use Connection B.
    > The connection should be created at first time when user login first time.
    How can I handle this scenario through JCo or other way. I have multiple BAPI/ModuelFunction which I need to execute but with User specific.
    waiting for positive response.

    Dear Shiv,
    Please need to look into [How to Configure the JCo Destination Settings|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/3103eb90-0201-0010-71af-be6f4a6f61d1]
    http://wiki.sdn.sap.com/wiki/display/Snippets/DynamicJCOHandling-Creation,Updationetc
    Best Regards
    Arun Jaiswal

  • How to handle FTP request in Servlet

    Hi,
    can anyone tell me how to handle FTP operations in Servlet? I mean to ask whether we can handle FTP request in Servlet.
    Thanks
    Subs

    Your servlet should extend from GenericServlet and not HttpServlet to handle ftp requests.

  • How to handle multiple requests to the same servlet at one time?

    Hi,
    I am new to Servlets. I have doubt regarding ... Handling multiple requests to a servlet at a time.
    If we send a single request to a servlet, as know that group of objects such as servlet, servletContext, servletConfig, request, response and etc are created in the server, And if 1000's of requests are sent to a same servlet at a time, and if server memory capacity is less, then 1000's of objects are created in a server which would be heavy burden to Server. How to handle the application and development in such situation?
    Kind regards,
    veerendra

    Hi veerendra reddy ,
    By default any web server can will have a thread pool to handle client req's.
    In your point also heavy burden to server you are telling that depends on this.
    we can configure this min & max size of this thread pool.
    by default it will be 0-1000 for tomcat server.
    I am not sure in which file this configuration will be.
    But I hope in server.xml or some xml file consists this info.
    If You what you can edit accordingly. to overcome your heavy burden to server.
    Thanks & Regards
    Nagendra

  • How biztalk handle multiple request at a time ?

    can TCP/IP adapter or biztalk handles multiple request at a time ?
    If yes,then how it process multiple request ? 
    Can TCP/IP send ports sends multiple request ?
    Prakash

    Yes.
    It processes multiple requests using THREADS. Each Connect starts off a thread that handles the receipt of the message, submission to BizTalk, wait for the response (matching two-way subscription) and then respond back to the client.
    TCP/IP Send ports handle multiple requests by creating fresh sockets (RPC High-end ports). As an example, in your browser you open multiple tabs and access different sites, each tab results in your browser opening a fresh socket connection for the request.
    Regards.

  • How to forward DHCP requests through 1140N AP

    We have an 1140N AP connected to a switch and our "network partner" controls the router and will hand out DHCP and do the NAT for this WLAN.  How can I configure the AP to forward DCHP requests through.
    I have WPA2 PSK (TKIP) setup and the client is able to authenticate however we fail to get an address.  In this case the Ethernet interface was left alone so it has the default config and it gets a DHCP address fine.  How can I configure this AP to enable the rest of the WiFI clients to get an IP?

    Here is my cleaned config.  I put helpers everywhere and still can't an IP. 
    I don't have control over the switch or router that this will plug into nor the setup.  The switchport it will plug into has a VLAN designated for Guest Wireless access.  I suspect that I need to redo the config without VLAN10 involved correct?
    Current configuration : 4880 bytes
    version 12.4
    no service pad
    service timestamps debug datetime msec
    service timestamps log datetime msec
    service password-encryption
    hostname [removed]
    enable secret [removed]
    no aaa new-model
    dot11 syslog
    dot11 ssid {removed]
       vlan 10
       authentication open
       authentication key-management wpa version 2
       guest-mode
       wpa-psk ascii 7 [removed]
    crypto pki trustpoint TP-self-signed-1278736388
    enrollment selfsigned
    subject-name cn=IOS-Self-Signed-Certificate-1278736388
    revocation-check none
    rsakeypair TP-self-signed-1278736388
    crypto pki certificate chain TP-self-signed-1278736388
    certificate self-signed 01
      3082024D 308201B6 A0030201 02020101 300D0609 2A864886 F70D0101 04050030
      31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
      69666963 6174652D 31323738 37333633 3838301E 170D3032 30333035 32323138
      33335A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
      4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D31 32373837
      33363338 3830819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
      8100BDA9 327F8A3C CFB3C216 F23AA107 CEEE007D CFC2A89C 9064A4F2 66A07EB7
      EB7F3602 74B505D1 9A374875 1DC71A58 607632F3 2A41250B 6BB79B68 D5C1E00D
      B7AA55EB 4E36668B 9BF92E94 C2B0699D A009902A D7A802D1 DCF699F2 99F20B0B
      D5BAB32F 3F8749B2 6C641CF2 6BC7FE8C 3078876C DAC97CFD 69BA42E5 98F81B37
      70830203 010001A3 75307330 0F060355 1D130101 FF040530 030101FF 30200603
      551D1104 19301782 1561702E 736F732D 61642E73 74617465 2E6E762E 7573301F
      0603551D 23041830 1680141A 78042A2D A7149DAC E90E1EAF 6496AB47 DF674630
      1D060355 1D0E0416 04141A78 042A2DA7 149DACE9 0E1EAF64 96AB47DF 6746300D
      06092A86 4886F70D 01010405 00038181 00B38305 C973DD31 F23C1B17 78181DF9
      A5A8A409 FDBAEF54 DF94DB89 815954EA 45322B5B BDB32C6A F0353228 ADD4A398
      CC249C49 A4C9C66D 08712AC7 7C5D12D5 C412933C 9E2893C3 4A432577 2FCA9A67
      2F89FF79 8FA0DECD 88CBB2C1 A5DA778A 80839D51 1883EEE7 A8754EC9 283E25E0
      7D91F064 AC633286 81232031 0BEF403E C1
      quit
    username [removed] privilege 15 password [removed]
    bridge irb
    interface Dot11Radio0
    no ip address
    ip helper-address 10.135.14.1
    no ip route-cache
    encryption vlan 10 mode ciphers tkip
    ssid [removed]
    antenna gain 0
    speed  basic-1.0 basic-2.0 basic-5.5 basic-11.0 basic-6.0 basic-9.0 basic-12.0 basic-18.0 basic-24.0 basic-36.0 basic-48.0 basic-54.0 m0. m1. m2. m3. m4. m5. m6. m7. m8. m9. m10. m11. m12. m13. m14. m15.
    station-role root
    bridge-group 1
    bridge-group 1 block-unknown-source
    no bridge-group 1 source-learning
    no bridge-group 1 unicast-flooding
    bridge-group 1 spanning-disabled
    interface Dot11Radio0.10
    encapsulation dot1Q 10
    ip helper-address 10.135.14.1
    no ip route-cache
    bridge-group 10
    bridge-group 10 subscriber-loop-control
    bridge-group 10 block-unknown-source
    no bridge-group 10 source-learning
    no bridge-group 10 unicast-flooding
    bridge-group 10 spanning-disabled
    interface Dot11Radio1
    no ip address
    ip helper-address 10.135.14.1
    no ip route-cache
    encryption vlan 10 mode ciphers tkip
    ssid [removed]
    antenna gain 0
    dfs band 3 block
    speed  basic-6.0 basic-9.0 basic-12.0 basic-18.0 basic-24.0 basic-36.0 basic-48.0 basic-54.0 m0. m1. m2. m3. m4. m5. m6. m7. m8. m9. m10. m11. m12. m13. m14. m15.
    channel dfs
    station-role root
    bridge-group 1
    bridge-group 1 block-unknown-source
    no bridge-group 1 source-learning
    no bridge-group 1 unicast-flooding
    bridge-group 1 spanning-disabled
    interface Dot11Radio1.10
    encapsulation dot1Q 10
    ip helper-address 10.135.14.1
    no ip route-cache
    bridge-group 10
    bridge-group 10 subscriber-loop-control
    bridge-group 10 block-unknown-source
    no bridge-group 10 source-learning
    no bridge-group 10 unicast-flooding
    bridge-group 10 spanning-disabled
    interface GigabitEthernet0
    no ip address
    no ip route-cache
    duplex auto
    speed auto
    no keepalive
    bridge-group 1
    no bridge-group 1 source-learning
    bridge-group 1 spanning-disabled
    interface GigabitEthernet0.10
    encapsulation dot1Q 10
    no ip route-cache
    bridge-group 10
    no bridge-group 10 source-learning
    bridge-group 10 spanning-disabled
    interface BVI1
    ip address dhcp client-id GigabitEthernet0
    ip helper-address 10.135.14.1
    no ip route-cache
    ip http server
    ip http authentication local
    no ip http secure-server
    ip http help-path
    http://www.cisco.com/warp/public/779/smbiz/prodconfig/help/eag
    bridge 1 route ip
    banner motd ^C
    Access to this device is restricted to authorized users. Unauthorized access is a violation of state and federal, civil and criminal laws (e.g., NRS 205.4765). Evidence of unauthorized access will be provided to law enforcement personnel.
    ^C
    line con 0
    password [removed]
    login local
    line vty 0 4
    password [removed]
    login local
    end
    Current configuration : 4880 bytes
    version 12.4
    no service pad
    service timestamps debug datetime msec
    service timestamps log datetime msec
    service password-encryption
    hostname [removed]
    enable secret [removed]
    no aaa new-model
    dot11 syslog
    dot11 ssid {removed]
       vlan 10
       authentication open
       authentication key-management wpa version 2
       guest-mode
       wpa-psk ascii 7 [removed]
    crypto pki trustpoint TP-self-signed-1278736388
    enrollment selfsigned
    subject-name cn=IOS-Self-Signed-Certificate-1278736388
    revocation-check none
    rsakeypair TP-self-signed-1278736388
    crypto pki certificate chain TP-self-signed-1278736388
    certificate self-signed 01
      3082024D 308201B6 A0030201 02020101 300D0609 2A864886 F70D0101 04050030
      31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
      69666963 6174652D 31323738 37333633 3838301E 170D3032 30333035 32323138
      33335A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
      4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D31 32373837
      33363338 3830819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
      8100BDA9 327F8A3C CFB3C216 F23AA107 CEEE007D CFC2A89C 9064A4F2 66A07EB7
      EB7F3602 74B505D1 9A374875 1DC71A58 607632F3 2A41250B 6BB79B68 D5C1E00D
      B7AA55EB 4E36668B 9BF92E94 C2B0699D A009902A D7A802D1 DCF699F2 99F20B0B
      D5BAB32F 3F8749B2 6C641CF2 6BC7FE8C 3078876C DAC97CFD 69BA42E5 98F81B37
      70830203 010001A3 75307330 0F060355 1D130101 FF040530 030101FF 30200603
      551D1104 19301782 1561702E 736F732D 61642E73 74617465 2E6E762E 7573301F
      0603551D 23041830 1680141A 78042A2D A7149DAC E90E1EAF 6496AB47 DF674630
      1D060355 1D0E0416 04141A78 042A2DA7 149DACE9 0E1EAF64 96AB47DF 6746300D
      06092A86 4886F70D 01010405 00038181 00B38305 C973DD31 F23C1B17 78181DF9
      A5A8A409 FDBAEF54 DF94DB89 815954EA 45322B5B BDB32C6A F0353228 ADD4A398
      CC249C49 A4C9C66D 08712AC7 7C5D12D5 C412933C 9E2893C3 4A432577 2FCA9A67
      2F89FF79 8FA0DECD 88CBB2C1 A5DA778A 80839D51 1883EEE7 A8754EC9 283E25E0
      7D91F064 AC633286 81232031 0BEF403E C1
      quit
    username [removed] privilege 15 password [removed]
    bridge irb
    interface Dot11Radio0
    no ip address
    ip helper-address 10.135.14.1
    no ip route-cache
    encryption vlan 10 mode ciphers tkip
    ssid [removed]
    antenna gain 0
    speed  basic-1.0 basic-2.0 basic-5.5 basic-11.0 basic-6.0 basic-9.0 basic-12.0 basic-18.0 basic-24.0 basic-36.0 basic-48.0 basic-54.0 m0. m1. m2. m3. m4. m5. m6. m7. m8. m9. m10. m11. m12. m13. m14. m15.
    station-role root
    bridge-group 1
    bridge-group 1 block-unknown-source
    no bridge-group 1 source-learning
    no bridge-group 1 unicast-flooding
    bridge-group 1 spanning-disabled
    interface Dot11Radio0.10
    encapsulation dot1Q 10
    ip helper-address 10.135.14.1
    no ip route-cache
    bridge-group 10
    bridge-group 10 subscriber-loop-control
    bridge-group 10 block-unknown-source
    no bridge-group 10 source-learning
    no bridge-group 10 unicast-flooding
    bridge-group 10 spanning-disabled
    interface Dot11Radio1
    no ip address
    ip helper-address 10.135.14.1
    no ip route-cache
    encryption vlan 10 mode ciphers tkip
    ssid [removed]
    antenna gain 0
    dfs band 3 block
    speed  basic-6.0 basic-9.0 basic-12.0 basic-18.0 basic-24.0 basic-36.0 basic-48.0 basic-54.0 m0. m1. m2. m3. m4. m5. m6. m7. m8. m9. m10. m11. m12. m13. m14. m15.
    channel dfs
    station-role root
    bridge-group 1
    bridge-group 1 block-unknown-source
    no bridge-group 1 source-learning
    no bridge-group 1 unicast-flooding
    bridge-group 1 spanning-disabled
    interface Dot11Radio1.10
    encapsulation dot1Q 10
    ip helper-address 10.135.14.1
    no ip route-cache
    bridge-group 10
    bridge-group 10 subscriber-loop-control
    bridge-group 10 block-unknown-source
    no bridge-group 10 source-learning
    no bridge-group 10 unicast-flooding
    bridge-group 10 spanning-disabled
    interface GigabitEthernet0
    no ip address
    no ip route-cache
    duplex auto
    speed auto
    no keepalive
    bridge-group 1
    no bridge-group 1 source-learning
    bridge-group 1 spanning-disabled
    interface GigabitEthernet0.10
    encapsulation dot1Q 10
    no ip route-cache
    bridge-group 10
    no bridge-group 10 source-learning
    bridge-group 10 spanning-disabled
    interface BVI1
    ip address dhcp client-id GigabitEthernet0
    ip helper-address 10.135.14.1
    no ip route-cache
    ip http server
    ip http authentication local
    no ip http secure-server
    ip http help-path http://www.cisco.com/warp/public/779/smbiz/prodconfig/help/eag
    bridge 1 route ip
    banner motd ^C
    Access to this device is restricted to authorized users. Unauthorized access is a violation of state and federal, civil and criminal laws (e.g., NRS 205.4765). Evidence of unauthorized access will be provided to law enforcement personnel.
    ^C
    line con 0
    password [removed]
    login local
    line vty 0 4
    password [removed]
    login local
    end

  • How to Send Purchase Order through EDI/IDOC.

    Hi Experts,
    We are using SAP ECC.5. And intending to send the Purchase Order to Supplier through EDI/IDOC and Receive the Inbound Acknowledgement.
    Appreciate, if you could help me, the required Configuration details for outbound and inbound (PO & Acknowledgement).
    Reg
    Kumar

    Hi Kiran
    Many thanks for the response. It is true that by changing the message type to EDI can generate idoc. What is not clear is any other config we need to do interms of Message generation, Resubmitting failed IDOC etc..
    Out requirement is that we would generate the IDOC for New and changed docs and send to external EDI converter.
    Inbound, receive the IDoc and post the acknowledgement.
    Appreciate, if you could forward any document link which can explain the details.
    Reg
    Kumar

  • How to handle second request for addition to same AD group at code level?

    I am using custom java code for adding group memberships to users based on multiple multi-valued attributes.
    Example: Location Code is a comma separated multi-valued field in OIM User Form and I need to kick off my code each time the attribute is updated.
    If only 1 value in the LocationCode changes, I want to only add users to the group for this value not the older values that have not changed.
    How do I handle this scenario where the code adds the user to the same group twice in OIM. In AD the user is only added once. Do I need to write additional code to read all existing groups of the user, compare them with the new requests and then add new groups?

    Not a big deal.
    Create a trigger in Xellerate users process defn. There u'l get option for old and new value. take both values and compare both values using stringtokenizer and update the child form or group membership.

  • How to handle the Request more information in workflow notification

    Dear All,
    I am developing a custom workflow which has 3 different options to be handled like approve, reject and request more information. approve and reject scenarios i have done and working as expected. However I would like to know how we can capture that the notification is requested for more information so that i can design approvals according to business requirement.
    Thanks for yiur replies in advacne
    Best Regards,
    Maheshkumar.M

    Hi,
    When a user uses the request information functionality, the notification can execute a post notification function with a funcmode of QUESTION. When the question is answered, the PNF runs with a funcmode of ANSWER.
    Additionally, while the notification is awaiting an answer, the MORE_INFO_ROLE on WF_NOTIFICATIONS will be populated. When the answer has been provided, this is set to null.
    HTH,
    Matt
    WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
    Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
    Have you read the blog at http://www.workflowfaq.com/blog ?
    WorkflowFAQ support forum: http://forum.workflowfaq.com

  • How to handle muliple request

    Hi all,
    I'm having with some issue of socket server programming.
    In fact, this is switch which is used for routing banking transactions to regarding banking server.
    [Transaction initiator POS ]-----tcpip connection---->[hardware unit NAC]-----------tcpip connection------->[MY server SWITCH]---------tcpip---->[Banking server]
    I'm developing SWITCH part. so it is listening some port for incoming request from NAC and
    after processing the request I will read that data to the banking server.
    In additionally, when the system is up, the connection in between NAC and SWITCH has already established.
    problem is
    When the NAC is receiving multiple transactions at the same time, SWITCH can be handled the load
    can you give me an idea what i can do for it ?
    my some coding so far ,
    public class Server implements Runnable{
         public static void main(String[] args) throws Exception{
              new Thread(new Server()).start();
         public void run() {
              while (true) {
                   try {
                        Socket client = service.accept();
                        client.setKeepAlive(true);
                        SessionRunner ses = new SessionRunner(client);
                        new Thread(ses).start();
                   } catch (Exception e) {
                        LogFileCreator.writErrorTologs(e);
    public class SessionRunner extends HelperMethodFortxn implements Runnable {
         public SessionRunner(Socket clients) {
              client                     = clients;
         public void run() {
              while (true ) {
                   try {
                        synchronized(this) {
                             in = new DataInputStream(client.getInputStream());
                             out = new DataOutputStream(client.getOutputStream());
                             in.read(header, 0,InitConfigurations.POS_HEADER_SIZE);
                             in.read(request, 0,InitConfigurations.POS_PACKET_SIZE);
                             SessionFactory.findProcessRunner(request, con);
                             byte response[] =getNacResponse(SessionFactory.getResponse());
                             out.write(response);
                             out.flush();
                   } catch (SocketException e) {
                        LogFileCreator.writErrorTologs(e);
    I think that I should implement some process for coming request to queue on "SessionRunner" class
    Hope soon reply
    Kapila

    problem is
    When the NAC is receiving multiple transactions at the same time, SWITCH can be handled the load I don't understand this sentence.
    can you give me an idea what i can do for it ?Please restate the problem in standard English.
                        Socket client = service.accept();
                        client.setKeepAlive(true);Don't do anything with the socket in the accept thread. Move the setKeepAlive() call into the thread's run() method.
         public SessionRunner(Socket clients) {
              client                     = clients;Here you should call setKeepAlive() etc and also construct the input and output streams. Presently you're doing that every time around the loop, which is wasteful at best and erroneous at worst.
                             in.read(header, 0,InitConfigurations.POS_HEADER_SIZE);Here you are ignoring the result of the read() method. Don't do that.
                             in.read(request, 0,InitConfigurations.POS_PACKET_SIZE);Ditto.
                   } catch (SocketException e) {
                        LogFileCreator.writErrorTologs(e);
                   }You don't seem to be catching IOException, which can't be correct as your code wouldn't compile. If you get any exception other than SocketTimeoutException you should close the socket and exit the loop.
    I think that I should implement some process for coming request to queue on "SessionRunner" class Why?

  • How to handle multiple requests from single client??

    hi all
    I wrote a client server program to handle requests from client.I have 2 types of requests, one is to submit comments to the server other is to view comments on the server.I have tested the app and it works fine for either of them(independently) but they don't work both together i.e when i submit a comment and view it,it's stuck and when i close the program it gives SocketException :Connection reset.
    on client side:
    My request is just a string
    on the server side:
    I check the string and give the client what it wants.
    I want to know if there's any other way to send requests other than passing it as a string.
    I can post my code if needed.
    thanks,
    Sree

    Here is my client code,minimized it to the extent possible and it might give some compilation problems since i didn't include all the functions needed but i think you should be able to get an idea if i'm doing something wrong.
    Can give you my server code if needed.
    import java.io.BufferedReader;
    import java.io.DataOutputStream;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.net.Socket;
    import java.net.UnknownHostException;
    import javax.swing.JButton;
    public class Test {
         JButton submit_button;
         JButton view_button;
         Socket client;
          JButton get_submit_button() {
                   if (submit_button == null) {
                        submit_button = new JButton();
                        submit_button.setText("Submit");
                        submit_button.addActionListener(new java.awt.event.ActionListener() {
                             public void actionPerformed(java.awt.event.ActionEvent e) {
                                  send_comments_to_server();
                   return submit_button;
               Socket check_client_connection(){
                   String host = "C001192097";     //server host name
                   if(client == null || client.isClosed()){
                    try {
                         client  = new Socket(host, 4321);
                    }catch (UnknownHostException exception){
                         System.err.println(host + ": unknown host.");
                    catch (IOException exception){
                         System.err.println("I/O error with " + host);
                   return client;
              void send_comments_to_server(){
                    try
                         Socket client = check_client_connection();
                         DataOutputStream output_stream = new DataOutputStream(client.getOutputStream());
                         BufferedReader stream_input = new BufferedReader(new InputStreamReader(client.getInputStream()));
                         String comment_report = "comments";
                         Comments comment = new Comments();
                         User_Data user_data = new User_Data(); //function that returns client details such as host name and stuff
                         String user_info = "User Name: "+user_data.user_name+" "+"Host Name: "+user_data.host_name+" "+"Domain Name: "+ user_data.domain_name;
                         comment.user_info = user_info;
                         comment.summary = comment_report;
                         comment.comments = "passing comments";
                         String report = user_info+" "+comment_report+" ";
                         output_stream.writeBytes(report+"\n");
    //                     output_stream.close();
    //                     stream_input.close();
    //                     client.close();
                    }catch(IOException e){
                         e.printStackTrace();
              void receive_comments_from_server(){
                   String line;
                   StringBuffer comments = new StringBuffer();
                   try
                         Socket client = check_client_connection();
                         DataOutputStream output_stream = new DataOutputStream(client.getOutputStream());
                         BufferedReader stream_input = new BufferedReader(new InputStreamReader(client.getInputStream()));
                         String msg = "view comments";
                         output_stream.writeBytes(msg);
                         System.out.println("waiting for response");
                             while((line = stream_input.readLine()) != null){
                                  comments.append(line);
                              System.out.println("Comments from server "+comments);     
                        } catch (IOException e) {
                             e.printStackTrace();
              JButton get_view_button() {
                   if (view_button == null) {
                        view_button = new JButton();
                        view_button.setText("View Comments");
                        view_button.addActionListener(new java.awt.event.ActionListener() {
                             public void actionPerformed(java.awt.event.ActionEvent e) {
                                  System.out.println("request sent");
                                  receive_comments_from_server();
                   return view_button;
    }thanks
    Sree

  • How to pass our request through WAP gateway.

    Hi,
    As mentioned in
    http://developers.sun.com/techtopics/mobility/midp/articles/network/index.html
    Java phones tries to reach the server directly, but how to connect to server if there is Gateway is present in between phone and web server
    (i.e. phone -> gateway -> server)
    in such a case how to make a connection to web server
    I tried with
       HttpConnection hc=Connector.open(url);
       hc.setRequestProperty("HttpProsy","proxy-ip");
    but its not working
    is there any other workaround to solve this problem
    Plz help
    @rjun

    Hi,
    use the af:commandLink and in the action property binding to your Managed Bean method. In this method, make what you need , and after that redirect to your url.
    The code will be some like that:
    public void myAction(){
    FacesContext ctx = FacesContext.getCurrentInstance();
    ExternalContext ectx = ctx.getExternalContext();
    HttpServletResponse response = (HttpServletResponse)ectx.getResponse();
    response.addCookie(new Cookie("test","test"));
    try {
    ctx.getExternalContext().redirect(URL);
    response.sendRedirect(url);
    } catch (IOException ex) {
    ex.printStackTrace();
    ctx.responseComplete();
    }

  • Multiple HTTP requests through same connection

    Hi...
    I am writing an application which connect to its server through HTTP protocol and the server is basicaly a bunch of servlets hosted somewhere (Right not it in the tomcat running in my PC)
    I know that with Connection Keep-Alive header you can keep the connection alive and do multiple requests from the same server.
    Can some one point me to where can I find some sample code which shows how to send multiple requests through same URL conection or URL object. What i cant figure out is how to reset the URL connection or its streams a and make them send anotehr request message to the serverso server can respond.
    Or do I have to do this manualy (using sockets)

    You SHOULD be able to do a HttpUrlConnection method. However, I have hand-coded HTTP server and client apps and the keep-alive is rarely enabled in servers.
    This is due to better handling of millions of unique hosts requesting, unlike a network os, which is made the other way around.

Maybe you are looking for

  • Is it possible to downsize a large image on the server side (before serving it to the user)?

    One of the banes of my existence is resizing the same image several times because of the various contexts it appears in. For example, the main image in an article will appear bigger than it will on the index page, where many article teasers are place

  • Remittance/Payment  advice for netoff in F110

    When we netoff the payment between the customer and vendor thru F110 payment run,will there be a  remittance advie or payment summary generated.

  • How to display cascaded dropdownlist using MVC4?

    I have two tables in DB to populate cascading dropdownlist. On change of value in first dropdown, second dropdown has to be populated using second table. While i tried below code, i am getting the same data for country dropdownlist. countryid is prim

  • CS3 Malfunctionging Badly~!~!~!

    MAX OS `10.5.8 PLEase excuse me. I AM NOT TYPING lower AND UPPER Case letters.... THIS ALL STarted in InDesign. `1. It ALL STarted just A LITTLE BIT ago.... and you cAN SEE HOW IT IS adding the ' thAT I am ALSO NOT TYPING IN and ADDING THE ~! SYMBOLS

  • Upgrade standalone Lightroom 5.2 to 5.3 fails

    Hello, I have standalone LightRoom 5.2 installed (together with standalond Photoshop CS6). I'm trying to upgrade to 5.3 after the standalone download but I get the same error as I've read in the forum during an upgrade via CC. The message about a mis