How to insert Ip address of visitor to ur databse !!!

i want to know can we retrive Ip address of user and can we insert it into the desire database table directly????
Edited by: mnpw on Mar 31, 2009 3:54 AM

Patience is a virtue.
I'll give you a less detailed answer then: HttpServletRequest javadoc.

Similar Messages

  • How to Get Ip address of visitor on my website?

    Hi,
    I have to get IP address of visitor whosoever visited my website or we can say who access my website,i searched on google but i did't get much,i tried following code:
    java.net.InetAddress i = java.net.InetAddress.getLocalHost();
    System.out.println(i); // name and IP address
    System.out.println(i.getHostName()); // name
    System.out.println(i.getHostAddress()); // IP address only
    But above code shows IP of my machine where my application is deployed,not the one i need,How can i get IP of user who visited my website,Please Help.
    Thanks.

    Sorry, i was doing a little mistake in my code,
    i Use this String remoteAdd=request.getRemoteHost(); as you said,it works ,thanks.
    But i have further questions.
    Above code displays only External IP , how can i get IP of pc which is on LAN, eg in any company there is a server and under that server each PC is assigned an IP,how can i get IP of pc which is on LAN.
    Bst example to describe my problem is http://www.whatsmyip.org/more/ this website,
    they show user even his/her machines IP on lan too,How can i implement this??

  • How to insert an address in pages 5.1

    Before I update to pages 5.1 I could insert an address. I was able to make a automatic form where I could insert name company or adress and it would automaticaly change everywhere. Is this still possible? Thans

    Thast woiuld be merge fields. Present in Pages 09, not present in Pages 5.1.  Note that Pages 5.1 is missing about 100 features that are present in Pages: merge fields, bookmarks, comments that you can see while ediitng, ability to print comments, 2-up page view, ability to have alternating lef/right margins, meaningful AppleScript support &c &c.  As a compensation, perhaps, it is extremely buggy.  If you look through these disucssions you'll find many anguished complaints about data loss, corrupted files, trashed templates, and files that cannot be opened. You're a braver man than I if you use it for any work you care about. If, however, you want to make a poster for Ediie Cue's next concert, you're in business.
    PAhes 09, by the way, should still be on your computer. Install Pages 5, thankfully, does not delete it.

  • How to insert email address at the end of a tutorial in Captivate 5.5?

    Hello- Is it possible to insert an email address at the end of a captivate slide that would confirm completion of viewing the tutorial?  How can this be done in Captivate 5.5?

    Hello there,
    Following is the URL for the widget.
    http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&extid=3072025
    Thanks,
    Vish

  • How to track IP address of visitors

    Hello
    I want to track the IP address of a user that visit my site . I want to know there Internet IP addresses , from which location they are visiting .
    How will I do it . Please help

    Every web- and application server I know are able to log access logs.
    for example:
    Apache: http://httpd.apache.org/docs/2.0/logs.html
    JBoss: http://docs.jboss.org/jbossas/jboss4guide/r4/html/ch9.chapt.html
    If you'd like to do it yourself: [http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/ServletRequest.html#getRemoteAddr()]
    regards
    slowfly

  • How do I reinstall Address Book for Leopard

    I just bought a new iMac with 10.5. Thought I would be smart and insert the Address Book from a backup on my previous Mac. It replaced the 10.5 Address Book with my backup copy (like I wanted). However, I now get a message that tells me that version of Address Book doesn't work with 10.5. Now, I have no Address Book.
    Anyone know how I can download or otherwise get the Address Book that comes with 10.5 on my computer?

    Use Pacifist to extract the Address Book application from the iMac's original disks, and then copy over the Address Book database from the Library/Application Support/AddressBook/ of your home folder on the backup.
    (27263)

  • Firefox does not know how to open this address because the protocol (Sims3) with any program connects

    Firefox does not know how to open this address because the protocol (Sims3) with any program connects
    can you help me plz

    Was the message sent from Microsoft Outlook? When you embed an image in a message in Outlook (at least up to version 2003), it creates a hidden attachment for the image and then inserts a "cid" reference to it. If the attachment gets stripped for any reason then the "cid" reference is useless: Outlook does not store the original URL or path to the image.
    Edit: By the way, which webmail site has this problem?

  • How to insert the select query result into table?

    How to insert the select query result into table?
    SELECT  top 20 creation_time  
            ,last_execution_time 
            ,total_physical_reads
            ,total_logical_reads  
            ,total_logical_writes
            , execution_count 
            , total_worker_time
            , total_elapsed_time 
            , total_elapsed_time / execution_count avg_elapsed_time
            ,SUBSTRING(st.text, (qs.statement_start_offset/2) + 1,
             ((CASE statement_end_offset 
              WHEN -1 THEN DATALENGTH(st.text)
              ELSE qs.statement_end_offset END 
                - qs.statement_start_offset)/2) + 1) AS statement_text
    FROM sys.dm_exec_query_stats AS qs
    CROSS APPLY sys.dm_exec_sql_text(qs.sql_handle) st
    ORDER BY total_elapsed_time / execution_count DESC;
    Thanks,
    Tirumala

    1. SELECT INTO
    Below method will create table when data is inserted from one table to another table. Its useful when you need exactly same datatype as source table.
    Use AdventureWorks2008R2;
    Go
    ---Insert data using SELECT INTO
    SELECT AddressLine1, City
    INTO BothellAddresses
    FROM Person.Address
    where City = 'Bothell';
    GO
    ---VERIFY DATA
    Select AddressLine1, City
    FROM BothellAddresses
    ---DROP TABLE
    DROP TABLE BothellAddresses
    GO
    2. INSERT INTO SELECT
    Below method will need table to be created prior to inserting data. Its really useful when table is already created and you want insert data from
    another table.
    Use AdventureWorks2008R2;
    Go
    ---Create Table
    CREATE TABLE BothellAddresses (AddressLine1 NVARCHAR(60), City NVARCHAR(30))
    ---Insert into above table using SELECT
    INSERT INTO BothellAddresses(AddressLine1, City)
    SELECT AddressLine1, City
    FROM Person.Address
    where City = 'Bothell';
    ---VERIFY DATA
    Select AddressLine1, City
    FROM BothellAddresses
    ---DROP TABLE
    DROP TABLE BothellAddresses
    GO
    Regards,
    Vishal Patel
    Blog: http://vspatel.co.uk
    Site: http://lehrity.com

  • How to insert contract line item from file using any bapi

    Hi gurus,
    Just wanted to ask how can I insert new line item which were created from a file
    when updating/changing contract details.
    The requirement was to create new line item from a file and use those details in updating the contracts.
    What BAPI can I use to address this requirement?
    Thanks!

    Hi Rajvansh Ravi,
    This is for Service Contracts. Sorry for missing this detail.
    Hi Tarangini Katta,
    I have already used BAPI_CONTRACT_CHANGE, and it was good in updating existing line items,
    but it doesn't update the contract when a new line item is created in the file.
    To make a clearer view of the flow (requirement)
    First scenario:
          From the tcode (ME32K or ME33K), we can download contract details into an excel file for a particular service contract.
    Next scenario:
          That same excel file (downloaded) can be enhanced per line item (can also insert new line) and be saved locally.
    Next scenario:
          This same excel file can also be uploaded. And the changes done to the file have to overwrite or rather have to changed the details of the same contract and then will appear/reflect in the tcode.
    With this, if we had a new line item created (inserted) on the file (not change), we can not see the changes when we view the same contract in the tcode. (ME33K)
    Do you have any idea how the insertion from the file can be reflected on the tcode using an existing bapi?
    Hope this was clear enough...
    Thanks and hope to hear something from you soon.

  • How to put an address into numbers 3.0?

    is it possible to insert an address from my contacts into a number sheet? if yes, how to proceed?

    Very nice, thanks! Took me a while to find that setting:
    SG

  • Firefox does not know how to open this address, because the protocol (telnet) is not associated

    firefox does not know how to open this address, because the protocol (telnet) is not associated

    Was the message sent from Microsoft Outlook? When you embed an image in a message in Outlook (at least up to version 2003), it creates a hidden attachment for the image and then inserts a "cid" reference to it. If the attachment gets stripped for any reason then the "cid" reference is useless: Outlook does not store the original URL or path to the image.
    Edit: By the way, which webmail site has this problem?

  • How to retrive ip address of connected device in shell script or applescript

    Hi all,
    From Mac PC, how to get ip address of connected device in shell script or applescript.
    there is any way to launch an app on ipad in shell script or applescript.
    thank you in advance for your help
    Mickael

    Hi all,
    From Mac PC, how to get ip address of connected device in shell script or applescript.
    there is any way to launch an app on ipad in shell script or applescript.
    thank you in advance for your help
    Mickael

  • How to Insert Image in a Column of a table

    Hi
    I have read several documentations but still could not find any relevant one that can help me in inserting a image in a BLOB column of a table.I have read about DBMS_LOB but still not clear how to insert an image in the table.
    I followed following steps :
    create table Emp_Identity(Id Number,Photo BLOB);
    Insert Into Emp_Identity(1,'d:\vishal.bmp');
    Please tell me steps to be followed.
    Regards
    Vishal Chaudhry
    null

    I am using Developer 2000 Forms 6i as Front End (Oracle 8.1.6)
    My table structure is:
    SQL> desc test_lob
    Name Data Type
    ID NUMBER
    NAME VARCHAR2(100)
    PHOTO BLOB
    SOUND BINARY FILE LOB
    IS there any way to display the BFILE contents on the frontend.....?
    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by vishal chaudhry ([email protected]):
    Hi,
    I could actually insert an image in a BLOB type column from the backend(Sql plus) not directly but by using BFILE and see that image on the frontend (Forms 6i Developer 2000,Item type is Image as there is nothing like BLOB/BFILE in front end) using the following procedure :
    IS there any way I can insert an image directly in a BLOB column from the backend rather than using BFILE?
    CREATE OR REPLACE PROCEDURE loadLOBFromBFILE_proc IS
    Dest_loc BLOB;
    Src_loc BFILE := BFILENAME('SOUND_DIR', '123w.bmp');
    ** SOUND_DIR is a logical directory created by giving path of the server
    ** Create Directory SOUND_DIR as 'd:\u020\o816\ctx\test'
    ** d:\u020\o816\ctx is the physical path of the server \\pslndb\ctx$
    ** test is the dummy testing directory created on the server
    ** 123w.bmp is lying in the test directory
    Amount INTEGER ;
    BEGIN
    Amount := DBMS_LOB.GETLENGTH(Src_loc);
    SELECT photo INTO Dest_loc FROM test_lob
    WHERE ID = 1
    FOR UPDATE;
    /* Opening the source BFILE is mandatory: */
    DBMS_LOB.OPEN(Src_loc, DBMS_LOB.LOB_READONLY);
    /* Opening the LOB is optional: */
    DBMS_LOB.OPEN(Dest_loc, DBMS_LOB.LOB_READWRITE);
    DBMS_LOB.LOADFROMFILE(Dest_loc, Src_loc, Amount);
    /* Closing the LOB is mandatory if you have opened it: */
    DBMS_LOB.CLOSE(Dest_loc);
    DBMS_LOB.CLOSE(Src_loc);
    COMMIT;
    END;
    <HR></BLOCKQUOTE>
    null

  • I am getting this error message when trying to get to a college webpage Firefox doesn't know how to open this address, because the protocol (html) isn't associated with any program.

    I am trying to get to a college webpage for information and get this error message from firefox Firefox doesn't know how to open this address, because the protocol (html) isn't associated with any program.
    == This happened ==
    Every time Firefox opened
    == whe trying to access webpage

    Is this coming from a link, or from something you are trying to type in the address bar?
    Try replacing the "html" at the start with "http",
    so if you have html://somesite.edu,
    change it to http://somesite.edu.

  • How to insert horizontal lines in alv report?

    hi,
        i have to insert horizontal lines in alv report.( RM07MLBB )
            actually my requirement is:
                               basis list = RM07MLBB.
    first secondary list = another report is called here ( RM07DOCS )
                      i want to insert horizontal lines in the first secondary list, when i execute individually RM07DOCS , i can get horizontal lines, but when i dounle click in the basic list --> in the first secondary list , i am not getting the horizontal lnes.
    functional modules used are REUSE_ALV_HIERSEQ_LIST_DISPLAY & REUSE_ALV_GRID_DISPLAY.
        here in this program,
                        is_layout = alv_layout.
    hence i tried to give     
                  alv_layout-no_hline = ' '. 
    but not effecting.
              can some one please tell me , how to insert lines in the alv report.
    thanks in advance,
    Dastagir.

    hello,
         so i cannot insert horizontal lines in the first secondary list according to my sorting condition, i.e., in a single block there should be :
           if same delivery challan number is repeating they should come in the same block,
    for the corresponding delivery challen number, if have po number, is repeating , they also should come in the same block.
                       in this way i have to seperate the blocks containing EXNUM , EBELN CONDITIONED.

Maybe you are looking for

  • TS2634 My iphone headphones with microphone don't work.  Any suggestions?

    My iphone headphones with microphone have stopped working, and they are under warranty.  I am having difficulty getting an answer about what to do from Apple - just got off the phone with them, and they emailed me an article that was of no help at al

  • DVD wont work - please advise?

    Hi, I am trying to burn a DVD video with AC3 surround sound using DVD Studio Pro 3. I have exported my individual stems from Pro Tools HD, imported into A.Pack and have a AC3 fie. I have a quicktime movie. I have created a new project, imported my vi

  • Best way to add external hard drives

    Hi all! I have a fairly old iMac (2008). It only has 3 USB ports on the back. One is being used by my keyboard/mouse. One is plugged directly into an external hard drive. And the third is everything else... my digital camera cable, my printer, etc. I

  • Risk Analysis for Third party ERP system

    We want to perform offline risk analysis for third party ERP(SRM) system.... We have already GRC system installed with Global rule set for SAP ERP & want to have another ruleset for offline risk analysis. Just would like to have a confirmation for be

  • Multiple Dimension Builds using MAXL

    We currently use ESSCMND to perform multiple dimension builds and data loads. We have been using the "INCBUILDDIM" in Escmnd to update the outline with multiple files without restructuring until the last file. Is there an equivalent command for MAXL