How 2 pass a request from a broswer to remote server via a proxy server

hi my program is on a proxy server it will be lisenting in port 9876
i have configured in a way that all browsers request pass thro this proxy server
so when user request for www.yahoo.com in the browser the
resquest is passed 2 this proxy server. so i got the host name and created a socket.
i read all the request that has come from the browser such as "GET www.yahoo.com HTTP/1.1 ,,"
I got the outputstream for the remote socket and i passed all these request to the remote host.. but i could nt get any response frm server can any one help me out?
===
import java.io.*;
import java.net.*;
class Proxyserver
ServerSocket ser;
Socket myclient;
BufferedReader br;
String cf1="\r\n",cf2="\r\n\n",lf="\n";
OutputStream o_remote;
public Proxyserver()
try
ser=new ServerSocket(9876);
myclient=ser.accept();
// read inital requst from browser
br=new BufferedReader(new InputStreamReader(myclient.getInputStream()));
String req=br.readLine();
String temp=req;
int val=temp.indexOf((int)'/',11);
String host=req.substring(11,val);
//connect 2 host
Socket remote=new Socket(host,80);
System.out.println(remote.toString());
o_remote=remote.getOutputStream();
while(req!=null)
System.out.println(req);
o_remote.write(req.getBytes(),0, req.length());
o_remote.write(cf2.getBytes());
o_remote.flush();
req=br.readLine();
o_remote.write(lf.getBytes());
o_remote.write(lf.getBytes());
o_remote.flush();
// wait for response from remote server
InputStream in=remote.getInputStream();
int response=in.read();
while(response!=-1)
System.out.println((char)response);
response=in.read();
//close all sockets
remote.close();
myclient.close();
ser.close();
}catch(Exception e){}
public static void main(String a[])
new Proxyserver();
===
op i got all the req from the broswer and wrote 2 op stream of remote server but i could nt get the response
==
output"
Socket[addr=javaworld.com/130.94.4.230,port=80,localport=3225]
GET http://javaworld.com/ HTTP/1.0
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
Accept-Language: en-us
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR 1.1.4322)
Host: javaworld.com
Proxy-Connection: Keep-Alive

Hi
Just look for JspSmartUpload classes ..
this will help u
U can use
<input type=file name=f >
thanks
regds

Similar Messages

  • How do I send HTTP request to a server via a proxy server in JDK 1.4?

    JDK 1.5 's URL class provides an overloaded version of openConnection() which accepts an object of type Proxy using which we can establish connection with a remote server via a proxy server, but JDK 1.4 doesn't provide any such overloaded version. How do I do that in JDK 1.4? Even if I had a class that can create HTTP packets for me, then I could have established Socket connection with the proxy server and sent the HTTP packet to it. Is there a way to do that also?

    There are some system properties, which can be set with System.setProperty [http://java.sun.com/j2se/1.4.2/docs/guide/net/properties.html]

  • How to transport requests from development  to production server

    hi gurus
    i am new to SDN
    can u pls give me detailed information how to transport requests from development server to production server?if possible give me screen shot documents
    regards
    surya

    Hi
    Transporting
    There are help pages that discuss creation of transports.
    In simple terms, you: create a transport package
    add objects to the package  export the package, plus optionally any related objects to a predefined folder/directory on the portal server into a file with an extension of .EPA copy the .EPA file to the import folder of your QA system and import it  test the contents on the QA system  copy the .EPA file to the import folder of your production system and import it  Create a transport package file
    Here is the step by step procedure to create a transport package:
    For Export
    1. Go to system administration, and click on transport?export.
    2. In the middle pane, select the folder you want to export and right click on the Transport Package. 3. Fill in the General Properties i.e the name of the package, id and description. 4. And say finish and open the object for editing.
    5. When the object has been opened then right click on the object you want to transport, and say "Add object to the Transport Package".
    6. Check the checkbox of the item u have added and see the properties if it has been added properly. 7. Now click on the save button.
    8. After the object is saved, click on the export button. 9. U will have an option to select where to store the .epa file which will be generated. U can overwrite an existing one by selecting the browse button, or store it with the generated name in the location it automatically generates. 10. Now Click on the Start Export button.
    11. once the export is completed, it shows a report on how much time is taken to generate the .epa file. 12. Here there is an option for downloading the .epa file. Click on the link and download the file. This file is ready to be uploaded into any other EP Server.
    For Import:
    Pre-requisites: You have to copy the .epa file created while export into the local drive. Optionally, you have to manually copy the .epa file generated in the export function into the Import directory of the server ie. chooseFollow the steps below for importing a certain file. 1. Go to System Administration in the portal, and click on Transport?Import. 2. For the source of the package, Click on the radio button Server for the .epa file you have copied lately. Else, click on the radio button on client if you are operating in the client and select the .epa file you have stored on the local drive. 3. Now select the file from the browse option and click on Upload.
    4. Now click on the import button. 5. Once the import process is finished, the report is shown. In the whole process, the par files are not included in the .epa files. For the par files to be included into the .epa files then we have to change the pcdStartup.properties file in the server. The property to be changed is Pcd.TransportApplication.Export.ExcludeObjectTypesAfterRuleProcessing: Keep this property's value as empty for enabling the par files to be uploaded into the .epa. You can check for this property in the portal in the following -System Administration-Support-Portal Content Directory-PCD Configuration.

  • How to play song from one iPhone to another iPhone via Bluethooth?

    How to play song from one iPhone to another iPhone via Bluethooth and AirPlay?

    You don't. Such is not supported.

  • How to connect internet from Toshiba Laptop to Iphone 3G via Bluetooth?

    How to connect internet from Toshiba Laptop to Iphone 3G via Bluetooth?
    I tried to do but i couldn't solve all that kind of matter, so how to do all these?
    If you have any solution then just please help me out.
    Thank You.

    "How to connect internet from Toshiba Laptop to Iphone 3G via Bluetooth?:"
    You don't.
    You can connect iphone to the internet via wi-fi or cellular (3g, edge, gprs) signal.

  • HTTP connection from OSB web service to external system via a Proxy Server

    Dear experts,
    May I know has anyone tried to use HTTP protocol to send a request from OSB web service to external system via a proxy server? Heard that we need to establish some sort of tunnel (socket) to talk to Proxy Server. Can you please any have sample code or configuration steps to share?
    Thank you very much!!

    http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/consolehelp/global_resources.html#wp1137294
    Adding Proxy Servers
    Use the Summary of Proxy Servers page to add and configure Proxy Server resources and make them available in Oracle Service Bus as a system resource. You must be in an active session to configure or reconfigure Proxy Server resources.
    1. If you have not already done so, click Create to create a new session or click Edit to enter an existing session. See Using the Change Center.
    2. Select System Administration > Proxy Servers.
    3. Click Add.
    4. In the Name field, enter a name for the Proxy Server resource. This is a required field.
    5. In the Description field, enter a short description for the Proxy Server resource.
    6. In the Host-Port Parameters section, enter the following information:
    1. In the Server Host field, enter the host name or IP address of the Proxy Server. This is a required field.
    The Server Host name for the Oracle Service Bus proxy server must be identical to the server host name of the actual proxy server.
    2. In the Clear Text Port field, enter the Proxy Server clear-text port number.
    3. In the SSL Port field, enter the Proxy Server SSL port number. You must enter either a clear text or SSL port number.
    4. Click Add.
    You can configure multiple Proxy Servers for each Proxy Server resource. This enables Oracle Service Bus to perform load balancing and offer fault tolerance features for the Proxy Server resource.
    7. If the Proxy Server performs proxy authentication, enter a user name in the User Name field, and the associated password in the Password and Confirm Password fields.
    These fields are optional, and required only if the Proxy Server is secured.
    8. Click Save to create and save the Proxy Server resource in the current session.
    9. To end the session and deploy the configuration to the run time, click Activate under Change Center.

  • How to delete requests from OIM 11g R1?

    Hello,
    We have some requests that were created in production environment while the SOA environment were not configured correctly, so some are with failed state, some were tests that were completed successfully. So now the client will soon be audited, and they asked to delete all those failed and tested requests from the system.
    I couldn't find an API to do this, I was trying to mount a SQL direct on the Database do delete them.
    I separated these tables:
    REQUEST
    REQUEST_BENEFICIARY
    REQUEST_BENEFICIARY_ENTITIES
    REQUEST_BENEFICIARY_ENTITYDATA
    REQUEST_COMMENTS
    REQUEST_ENTITIES
    REQUEST_ENTITY_DATA
    REQUEST_HISTORY
    But I saw that when the request is completed the request_key is marked on OBI, OSI, OTI.. and so on..
    Does anyone had passed through this? Do you have any suggestion on the best way to do it?
    Thanks for replying..

    Hi Bikash,
    Thanks for the answer.
    There are some requests that were tests and are in a completed state. I couldn't see how to delete a request in EM, there I can only see Instances of SOA composites without reference to the request_key on the main search and many of our requests have 2 workflows levels, that means, two SOA composites instances, and are more than one year old.
    Any other sugestions?
    Thanks.

  • How to send request from webserver to application server

    Hi All,
    I have below setup :-
    A)) Apache http server running over 192.168.206.128:8080
    B)) Weblogic application server admin server running on 192.168.206.128:7001
    -->i have a cluster with 2 managed servers
    -->cluster address us 192.168.206.128:7003,192.168.206.128:7004
    --> Also i have a Proxy Server running at 7011 port and have in memory sesion replication active through this.
    C)) I have application MyWebApp deployed over the cluster and ProxyApp deployed over Proxy Server. Now i want to use webserver to request for those applications. Can somebody please help me the way to do that.
    Regards
    Sharad Jain

    Hey Ravi,
    After some reasearch and going through your posts, i am now able to atleast go to the first jsp page of the application.like thorugh the below link
    http://192.168.206.128:8080/MyWebApp/First.jsp
    But after reaching this page when i start navigating to get through a servlet then it says page is on available on this server. please help me what i need now..
    i am also copying the httpd.conf file below:-
    # This is the main Apache HTTP server configuration file. It contains the
    # configuration directives that give the server its instructions.
    # See <URL:http://httpd.apache.org/docs/2.2> for detailed information.
    # In particular, see
    # <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>
    # for a discussion of each configuration directive.
    # Do NOT simply read the instructions in here without understanding
    # what they do. They're here only as hints or reminders. If you are unsure
    # consult the online docs. You have been warned.
    # Configuration and logfile names: If the filenames you specify for many
    # of the server's control files begin with "/" (or "drive:/" for Win32), the
    # server will use that explicit path. If the filenames do not begin
    # with "/", the value of ServerRoot is prepended -- so "logs/foo_log"
    # with ServerRoot set to "/usr/local/apache2" will be interpreted by the
    # server as "/usr/local/apache2/logs/foo_log".
    # ServerRoot: The top of the directory tree under which the server's
    # configuration, error, and log files are kept.
    # Do not add a slash at the end of the directory path. If you point
    # ServerRoot at a non-local disk, be sure to point the LockFile directive
    # at a local disk. If you wish to share the same ServerRoot for multiple
    # httpd daemons, you will need to change at least LockFile and PidFile.
    ServerRoot "/usr/local/apache2"
    # Listen: Allows you to bind Apache to specific IP addresses and/or
    # ports, instead of the default. See also the <VirtualHost>
    # directive.
    # Change this to Listen on specific IP addresses as shown below to
    # prevent Apache from glomming onto all bound IP addresses.
    Listen 192.168.206.128:8080
    Listen 8080
    # Dynamic Shared Object (DSO) Support
    # To be able to use the functionality of a module which was built as a DSO you
    # have to place corresponding `LoadModule' lines at this location so the
    # directives contained in it are actually available before they are used.
    # Statically compiled modules (those listed by `httpd -l') do not need
    # to be loaded here.
    # Example:
    # LoadModule foo_module modules/mod_foo.so
    <IfModule !mpm_netware_module>
    <IfModule !mpm_winnt_module>
    # If you wish httpd to run as a different user or group, you must run
    # httpd as root initially and it will switch.
    # User/Group: The name (or #number) of the user/group to run httpd as.
    # It is usually good practice to create a dedicated user and group for
    # running httpd, as with most system services.
    User daemon
    Group daemon
    </IfModule>
    </IfModule>
    # 'Main' server configuration
    # The directives in this section set up the values used by the 'main'
    # server, which responds to any requests that aren't handled by a
    # <VirtualHost> definition. These values also provide defaults for
    # any <VirtualHost> containers you may define later in the file.
    # All of these directives may appear inside <VirtualHost> containers,
    # in which case these default settings will be overridden for the
    # virtual host being defined.
    # ServerAdmin: Your address, where problems with the server should be
    # e-mailed. This address appears on some server-generated pages, such
    # as error documents. e.g. [email protected]
    ServerAdmin [email protected]
    # ServerName gives the name and port that the server uses to identify itself.
    # This can often be determined automatically, but we recommend you specify
    # it explicitly to prevent problems during startup.
    # If your host doesn't have a registered DNS name, enter its IP address here.
    #ServerName www.example.com:80
    # DocumentRoot: The directory out of which you will serve your
    # documents. By default, all requests are taken from this directory, but
    # symbolic links and aliases may be used to point to other locations.
    DocumentRoot "/usr/local/apache2/htdocs"
    # Each directory to which Apache has access can be configured with respect
    # to which services and features are allowed and/or disabled in that
    # directory (and its subdirectories).
    # First, we configure the "default" to be a very restrictive set of
    # features.
    <Directory />
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all
    </Directory>
    # Note that from this point forward you must specifically allow
    # particular features to be enabled - so if something's not working as
    # you might expect, make sure that you have specifically enabled it
    # below.
    # This should be changed to whatever you set DocumentRoot to.
    <Directory "/usr/local/apache2/htdocs">
    # Possible values for the Options directive are "None", "All",
    # or any combination of:
    # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
    # Note that "MultiViews" must be named explicitly --- "Options All"
    # doesn't give it to you.
    # The Options directive is both complicated and important. Please see
    # http://httpd.apache.org/docs/2.2/mod/core.html#options
    # for more information.
    Options Indexes FollowSymLinks
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    # Options FileInfo AuthConfig Limit
    AllowOverride None
    # Controls who can get stuff from this server.
    Order allow,deny
    Allow from all
    </Directory>
    # DirectoryIndex: sets the file that Apache will serve if a directory
    # is requested.
    <IfModule dir_module>
    DirectoryIndex index.html
    </IfModule>
    # The following lines prevent .htaccess and .htpasswd files from being
    # viewed by Web clients.
    <FilesMatch "^\.ht">
    Order allow,deny
    Deny from all
    Satisfy All
    </FilesMatch>
    # ErrorLog: The location of the error log file.
    # If you do not specify an ErrorLog directive within a <VirtualHost>
    # container, error messages relating to that virtual host will be
    # logged here. If you do define an error logfile for a <VirtualHost>
    # container, that host's errors will be logged there and not here.
    ErrorLog "logs/error_log"
    # LogLevel: Control the number of messages logged to the error_log.
    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel warn
    <IfModule log_config_module>
    # The following directives define some format nicknames for use with
    # a CustomLog directive (see below).
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
    LogFormat "%h %l %u %t \"%r\" %>s %b" common
    <IfModule logio_module>
    # You need to enable mod_logio.c to use %I and %O
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
    </IfModule>
    # The location and format of the access logfile (Common Logfile Format).
    # If you do not define any access logfiles within a <VirtualHost>
    # container, they will be logged here. Contrariwise, if you do
    # define per-<VirtualHost> access logfiles, transactions will be
    # logged therein and not in this file.
    CustomLog "logs/access_log" common
    # If you prefer a logfile with access, agent, and referer information
    # (Combined Logfile Format) you can use the following directive.
    #CustomLog "logs/access_log" combined
    </IfModule>
    <IfModule alias_module>
    # Redirect: Allows you to tell clients about documents that used to
    # exist in your server's namespace, but do not anymore. The client
    # will make a new request for the document at its new location.
    # Example:
    # Redirect permanent /foo http://www.example.com/bar
    # Alias: Maps web paths into filesystem paths and is used to
    # access content that does not live under the DocumentRoot.
    # Example:
    # Alias /webpath /full/filesystem/path
    # If you include a trailing / on /webpath then the server will
    # require it to be present in the URL. You will also likely
    # need to provide a <Directory> section to allow access to
    # the filesystem path.
    # ScriptAlias: This controls which directories contain server scripts.
    # ScriptAliases are essentially the same as Aliases, except that
    # documents in the target directory are treated as applications and
    # run by the server when requested rather than as documents sent to the
    # client. The same rules about trailing "/" apply to ScriptAlias
    # directives as to Alias.
    ScriptAlias /cgi-bin/ "/usr/local/apache2/cgi-bin/"
    </IfModule>
    <IfModule cgid_module>
    # ScriptSock: On threaded servers, designate the path to the UNIX
    # socket used to communicate with the CGI daemon of mod_cgid.
    #Scriptsock logs/cgisock
    </IfModule>
    # "/usr/local/apache2/cgi-bin" should be changed to whatever your ScriptAliased
    # CGI directory exists, if you have that configured.
    <Directory "/usr/local/apache2/cgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
    </Directory>
    # DefaultType: the default MIME type the server will use for a document
    # if it cannot otherwise determine one, such as from filename extensions.
    # If your server contains mostly text or HTML documents, "text/plain" is
    # a good value. If most of your content is binary, such as applications
    # or images, you may want to use "application/octet-stream" instead to
    # keep browsers from trying to display binary files as though they are
    # text.
    DefaultType text/plain
    <IfModule mime_module>
    # TypesConfig points to the file containing the list of mappings from
    # filename extension to MIME-type.
    TypesConfig conf/mime.types
    # AddType allows you to add to or override the MIME configuration
    # file specified in TypesConfig for specific file types.
    #AddType application/x-gzip .tgz
    # AddEncoding allows you to have certain browsers uncompress
    # information on the fly. Note: Not all browsers support this.
    #AddEncoding x-compress .Z
    #AddEncoding x-gzip .gz .tgz
    # If the AddEncoding directives above are commented-out, then you
    # probably should define those extensions to indicate media types:
    AddType application/x-compress .Z
    AddType application/x-gzip .gz .tgz
    # AddHandler allows you to map certain file extensions to "handlers":
    # actions unrelated to filetype. These can be either built into the server
    # or added with the Action directive (see below)
    # To use CGI scripts outside of ScriptAliased directories:
    # (You will also need to add "ExecCGI" to the "Options" directive.)
    #AddHandler cgi-script .cgi
    # For type maps (negotiated resources):
    #AddHandler type-map var
    # Filters allow you to process content before it is sent to the client.
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #AddType text/html .shtml
    #AddOutputFilter INCLUDES .shtml
    </IfModule>
    # The mod_mime_magic module allows the server to use various hints from the
    # contents of the file itself to determine its type. The MIMEMagicFile
    # directive tells the module where the hint definitions are located.
    #MIMEMagicFile conf/magic
    # Customizable error responses come in three flavors:
    # 1) plain text 2) local redirects 3) external redirects
    # Some examples:
    #ErrorDocument 500 "The server made a boo boo."
    #ErrorDocument 404 /missing.html
    #ErrorDocument 404 "/cgi-bin/missing_handler.pl"
    #ErrorDocument 402 http://www.example.com/subscription_info.html
    # MaxRanges: Maximum number of Ranges in a request before
    # returning the entire resource, or one of the special
    # values 'default', 'none' or 'unlimited'.
    # Default setting is to accept 200 Ranges.
    #MaxRanges unlimited
    # EnableMMAP and EnableSendfile: On systems that support it,
    # memory-mapping or the sendfile syscall is used to deliver
    # files. This usually improves server performance, but must
    # be turned off when serving from networked-mounted
    # filesystems or if support for these functions is otherwise
    # broken on your system.
    #EnableMMAP off
    #EnableSendfile off
    # Supplemental configuration
    # The configuration files in the conf/extra/ directory can be
    # included to add extra features or to modify the default configuration of
    # the server, or you may simply copy their contents here and change as
    # necessary.
    # Server-pool management (MPM specific)
    #Include conf/extra/httpd-mpm.conf
    # Multi-language error messages
    #Include conf/extra/httpd-multilang-errordoc.conf
    # Fancy directory listings
    #Include conf/extra/httpd-autoindex.conf
    # Language settings
    #Include conf/extra/httpd-languages.conf
    # User home directories
    #Include conf/extra/httpd-userdir.conf
    # Real-time info on requests and configuration
    #Include conf/extra/httpd-info.conf
    # Virtual hosts
    #Include conf/extra/httpd-vhosts.conf
    # Local access to the Apache HTTP Server Manual
    #Include conf/extra/httpd-manual.conf
    # Distributed authoring and versioning (WebDAV)
    #Include conf/extra/httpd-dav.conf
    # Various default settings
    #Include conf/extra/httpd-default.conf
    # Secure (SSL/TLS) connections
    #Include conf/extra/httpd-ssl.conf
    # Note: The following must must be present to support
    # starting without SSL on platforms with no /dev/random equivalent
    # but a statically compiled-in mod_ssl.
    LoadModule weblogic_module modules/mod_wl_22.so
    <IfModule mod_weblogic.c>
    WebLogicCluster 192.168.206.128:7003,192.168.206.128:7004
    MatchExpression *.jsp
    MatchExpression *.xyz
    </IfModule>
    <IfModule ssl_module>
    SSLRandomSeed startup builtin
    SSLRandomSeed connect builtin
    </IfModule>
    =====
    waiting for the reply :-
    Regards
    Shartad Jain

  • Pass URL parameters from BSP to WDA for ABAP (via Post   )

    Dear Gurus,/ Joerge,
    I am unable to post my Code here, but with the guidance provided by Joerge i am able to solve this
    i Have been through the Below thread
    Pass URL parameters from WD to BSP via Post
    Dear Gurus,
    "Since I am unable to Post new thread i am Continuing this thread, though this Issue has been
    " resolved,i need some more info on the following issue, Kindly guide me,
    I have gone through the below thread but left with no clue
    Pass URL parameters from WD to BSP via Post
    Here i have 2 Issues
    First one is --->
    " After pressing the Button I am calling this URL which is WDA for ABAP
          action="http://company/sap/bc/webdynpro/sap/zuser"> " I am calling WDA for ABAP URL here
    " Kindly guide me how to pass the Value
    Second one is -->
    " This value need to be passed to the URL above and
    " How to capture the Same in WINDOWINIT method of WDA for ABAP
    " And how to Capture this Value in Webdynpro INIT method
    "Here am using Form and method = post , I am removing this as it is causing some problem while posting
          action= my WDA For ABAP URL here " I am calling WDA for ABAP URL here
    " Kindly guide me how to pass the Value
    " This value need to be passed to the URL above and
    " How to capture the Same in WINDOWINIT method of WDA for ABAP
    Thanks and Regards
    Ramchander Rao.K

    Hi,
    let me see if I understand you well.
    BSP -
    You wrote the code for catching the user name in the event OnCreate, which means that you know who´s working with the BSP application when it starts.
    Somewhere you must have a button or something with text like "Call WDA application". When user presses the button, it triggers events OnInputProcessing. Here you must write the code for the cookie that "sends" the parameter(s), something like:
    CALL METHOD cl_bsp_server_side_cookie=>set_server_cookie
      EXPORTING
        name                  = 'MY_COOKIE'
        application_name      = 'ZUSER_NAME_GET'
        application_namespace = 'ZUSER_NAME_GET'
        username              =  sy-uname
        session_id            = 'SAME_FOR_ALL'
        data_value            = PAGE_DATA
        data_name             = 'PAGE_DATA'
        EXPIRY_TIME_REL       = 3600.
    you call then the URL for the WDA application.
    WDA -
    probably in method WDDOINIT of the component controller you´ll write the code for reading the "content" of the cookie:
    CALL METHOD cl_bsp_server_side_cookie=>get_server_cookie
      EXPORTING
        name                  = 'MY_COOKIE'
        application_name      = 'ZUSER_NAME_GET'
        application_namespace = 'ZUSER_NAME_GET'
        username              =  sy-uname
        session_id            = 'SAME_FOR_ALL'
        data_name             = 'PAGE_DATA'
    CHANGING
        data_value            = PAGE_DATA.
    read more about the cookies in SDN, because I am not sure if this is the correct example for transmiting values. I´ve used it in conjunction of instructions IMPORT and EXPORT for transmiting an internal table.
    if this is not working properly, then try with IMPORT TO MEMORY and EXPORT FROM MEMORY.

  • HT204387 How to share photo from iPad 2 to Nokia mobile via bluetooth

    I m using first time ipad2 plz guide me how to share photo via Bluetooth from iPad2 to Nokia mobile e5 n to shiva note book

    You can't share photos from the iPad to the phone via Bluetooth. That is not supported on the iPad. Bluetooth on the iPad is primarily for using external keyboards, speakers, earphones and some peer to peer gaming.

  • I am having trouble learning how to move music from my PC to my iPOD via usb.

    Hello, I have a new gen 4 16g ipod touch and I'm having trouble with the learning curve.  I cannot figure out how to move music from my itunes to the ipod.
    I have dell xps with windows 7.
    Itunes tells me I have the most updated ios for my ipod.
    No wifi and would like to use usb.
    I'd be happy to provide any information that can help you help me.
    My thanks.

    1. You connect your iPod to iTune (computer)
    2. Select your device (iPod) on the right column
    3. Select Music on the top of screen
    4. Check Sync Music and select other options
    5. Tap Sync on bottom right to complete the Task
    Note: See the picture I attached

  • How to Displaying Employee Photo in ESS Who's Who via Reverse Proxy?

    Dear Gurus,
    I have a bit of problem to displaying employee's photo in ESS Who's Who via Reverse Proxy.
    In my landscape, end-users are only able to reach the Reverse Proxy server, not the actual SAP server itself.
    In Who's Who, when displaying the employee's info, the URI for the photo is generated using the actual SAP server name.
    Illustration:
    - the URI we expect: https://portal.domain.com/sap/bc/contentserver?.....
    - the URI we get: http://r3server.domain.com/sap/bc/contentserver?....
    Does anyone know where/how I can set the URL (hostname and protocol part) to refer to my reverse proxy?
    Or is it because SAP is using an absolute path rather than the relative one?
    How do we go about it?
    Thanks in advance.

    Dear Barinbhai,
    How are you? We are fine at here!!!
    Following URL generated thru Portal
    System generated : http://p30app06.ril.com:8000/sap/bc/contentserver/430?get&pVersion=0046&contRep=7N&docId=4D2155EB6C32545BE10000000A42163F&accessMode=r&authId=CN%3DQ10&expiration=20110215052004&secKey=MIIBkwYJKoZIhvcNAQcCoIIBhDCCAYACAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHATGCAV8wggFbAgEBMBMwDjEMMAoGA1UEAxMDUTEwAgEAMAkGBSsOAwIaBQCgXTAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0xMTAyMTQwNTIwMDRaMCMGCSqGSIb3DQEJBDEWBBTJCER2r9%2BifbQPOtCqJdAoJ99NTzCBpgYFKw4DAhswgZwCQQCJ%2FPuWmHE5m%2Bd1vtX464doAJIsN2SmIpBAUe7jLGtmAD7F6ElSWOtC6uMuXUPisyKr3lRQ6IOC1ZhVPsnnXJsZAhUAtGAwyGWTqdJdd7nwrXKA7T%2B3GVcCQBUQxMBImvHdAsIyF3DmBtPwHcPpyCyBbJ737ivcuw2qjdJeGttSqR8GGuPn0DmzF36%2BUSnLRxZVNPn6nUbnPx0ELjAsAhR7G1vGjngjoll50RhWKcDlBTvVKgIUZ1NlQXMe61LXcqsTGsz7r28Kzh0%3D
    Photo opening directly on following URL:::
    Desired URL : http://ess.ril.com/sap/bc/contentserver/430?get&pVersion=0046&contRep=7N&docId=4D2155EB6C32545BE10000000A42163F&accessMode=r&authId=CN%3DQ10&expiration=20110215052004&secKey=MIIBkwYJKoZIhvcNAQcCoIIBhDCCAYACAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHATGCAV8wggFbAgEBMBMwDjEMMAoGA1UEAxMDUTEwAgEAMAkGBSsOAwIaBQCgXTAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0xMTAyMTQwNTIwMDRaMCMGCSqGSIb3DQEJBDEWBBTJCER2r9%2BifbQPOtCqJdAoJ99NTzCBpgYFKw4DAhswgZwCQQCJ%2FPuWmHE5m%2Bd1vtX464doAJIsN2SmIpBAUe7jLGtmAD7F6ElSWOtC6uMuXUPisyKr3lRQ6IOC1ZhVPsnnXJsZAhUAtGAwyGWTqdJdd7nwrXKA7T%2B3GVcCQBUQxMBImvHdAsIyF3DmBtPwHcPpyCyBbJ737ivcuw2qjdJeGttSqR8GGuPn0DmzF36%2BUSnLRxZVNPn6nUbnPx0ELjAsAhR7G1vGjngjoll50RhWKcDlBTvVKgIUZ1NlQXMe61LXcqsTGsz7r28Kzh0%3D
    Pls sugget..
    Hitesh Khatri
    SAP -HR
    RIL - Navi Mumbai....

  • After auto update from 3.6.3 to 3.6.13, "proxy server refuses connection". I have to uninstall 3.6.13 and install 3.6.3 in order for it to work again.

    I have been very satisfied with Mozilla Firefox until recently. I have Firefox 3.6.3. Every time a box appears with "installing updates" it installs updates then the screen goes to "problem loading page" and "the proxy server is refusing connections". The only way I can get internet access is to go to "control panel" then "add or remove programs" then I have to "uninstall mozilla firefox 3.6.13. Then I click on my "Firefox Setup 3.6.3, and I install that version. Once I do that, everything works fine again. It is such a headache because I can't prevent the "installing updates" from happening and once it happens, it does not work, as described above.
    Any thoughts???????
    Russ Carlson ''moderator removed email address and cellphone number''

    I have this problem also.
    Can't bring up the Hotmail screen.
    I am looking for a simple way to
    get rid of 3.6.13.
    I tried restoring to a point
    before the Dec 10 upgrade but when system
    restored Firefox was still 3.6.13
    I guess I will have to abandon MOZILLA FIREFOX
    and start using MICROSOFT IE

  • How to transfer request from Development to Production

    Hi,
      Can anybody tell me Step by Step procedure to transfer request form Dev. to Prod.

    Hi
    It depends how many enviroments you have and the transport routes is defined: anyway I can suppose there are development, quality and production system.
    So:
    - A) U have to release the request in dev system (trx SE09 or SE10): after releasing the request the system will move it to the queue of quality system.
    After the step A u need to use only the trx  STMS in all next enviroments in order to transfer the request to the production.
    - B) It needs to import the request to the quality system:
    - run trx STMS,
    - press the first icon (with a truck);
    - double click on the quality queue
    - refresh the list;
    - place the cursor on the request;
    -  Go to Request->Import
    After importing the requet to the quality, the system will place it in the production queue, so now it needs to repeat the step B, but u have to choose the production queue:
    - C) It needs to import the request to the production system:
    - run trx STMS,
    - press the first icon (with a truck);
    - double click on the production queue
    - refresh the list;
    - place the cursor on the request;
    -  Go to Request->Import
    Sometimes the system is setted not to transfer the request to the next queue after importing it, in this case u need to transfer it by yourself (trx STMS):
    After choosing the right queue go to: Request->Forward->System
    Anyway yuo should consider the steps above should be done by your basis, so perhaps u have no authoriations to run trx STMS.
    Max

  • HOW TO SYNC FILES FROM DOLHPIN BROSWER TO ITUNES LIBRARY??

    Hello.
    I recently got an iPhone 4S.
    I downloaded Dolphin Browser and downloaded 100s of songs with it .
    But I am not able to find an option by which I can transfer or sync the files from Dolphin's Download section to my iTunes library .
    I m not able to see any of those songs in my iTunes library though I can play them using the browser software or something ,from the download list .
    And I also want to know that can we download music from itunes for free or everything has to be paid for ?
    Can anyone please help me ?
    Thanking you in anticipation of a quick reply .

    There are plenty of "iPod to iTunes" tools that do this, some free some not.
    Generally, the ones you have to pay for include features like rebuilding your playlists in iTunes from your iPod, same for your songs ratings, etc.
    I personnally like CopyTrans http://www.copytrans.net

Maybe you are looking for