IP address from HttpSession

Hi,
Can anybody tell me how to obtain the IP address of a HttpSession. I would like to know who is connecting to my server.
Thanks!
Greetings,
Leon

Are you developing servlets? If so, is possible to get the original IP address from the ServletRequest object using the getRemoteAddr() method:
String IPaddress = req.getRemoteAddr();where req is the HttpServletRequest (or ServletRequest).
bye
Michele

Similar Messages

  • How can I remove an e-mail address from iphoto 9.5.1

    I have one bad e-mail address in Iphoto and it wont let me correct it or enter an alternat e-mail address for that person.
    I have erased the offending address from gmail and any other place I could find it but could do it in iphoto.

    Where in iPhoto are you seeing an offending email address for a person? Has it been assigned to a face?
    Then you need to edit the address in Faces view.  Select the Faces stack on the cork board in Faces view, open the Info panel,  and click into the textfield for the email and edit it. Does that work?

  • Move Verizon E-mail address from one account to another

    I am wondering if it is possible to move an email address from one account to another. I am the primary account holder for a couple of email addresses - one of which is my mother-in-law. I am discontinuing my Verizon account but she has since started a Verizon FIOS account at her house. I'd like to move her email address to her account so the switch for her is painless (or as painless as possible). Thanks, in advance, for your help.

    Yes and No. As of right now they will not move email address unless the name on both accounts match exactly.

  • How do you remove a web address from compatibility view option using a script?

    How do you remove a web address from compatibility view option in IE using a script or a GPO? 
    Not seeing any options.
    Casey
    This topic first appeared in the Spiceworks Community

    luckyfromhialeah wrote:
    How do you remove a web site from popular list?
    If you mean from the Safari menubar item "Popular"
    Choose "Show All Bookmarks" from the Bookmark menu in the main menubar, or click the icon for that in Safari's menubar -
    The page that opens should show a list of Bookmarks. In the Left column, click the item under Collections named Bookmarks Bar.
    In the new view, locate the folder named Popular and click the reveal triagle to the left of its name - it will open and reveal all the items listed in Popular.
    Find the one you want to remove, click it once to select it, then press the Delete key on the keyboard.

  • How do you delete an email address from your iPhone that's not in your contacts?

    How do you delete an email address from your iPhone that's not in your contacts?

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration 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

  • How can I remove a mailbox address from the "From" drop down box in a new e-mail my old e-mail address continue to populate as the sender address

    How can I remove a mailbox address from the "From" drop down box in a new e-mail my old e-mail address continue to populate as the sender address

    Hello,
    Try Mail>Preferences>Accounts icon>Account Information tab>Click on the Outgoing SMTP server drop down, choose edit Server list, highlight the old one & click Remove.
    (Such convolution is worthy of Windows® in my estimation)

  • How to select multiple addresses from the contacts list to send an email?

    How do I select multiple addresses from the contacts list at one time to send an email. Each time I select one, the address book closes and I have to touch the "+" key to open it back to select another address. Is there a way to select all of them at one time instead of making a group? Thanks.

    Yes, once you select a person from your Contacts app, you either need to select more from the '+' button or you can tap in the 'to:' field and type in the first few letters of a contact and select from the list. Kinda bummer but gotta make do.

  • Cisco ASA 5505 - problem with negotiating IP address from PPPoE

    Hi all,
    I have problem with negotiating IP address from PPPoE. There is following design: ISP providing vDSL ending on VDSL modem in bridge mode. Behind brigde modem is ASA 5505 terminting PPPoE on OUTSIDE. Everything works fine except  negotiating IP address from PPPoE server.
    I have configured ASA 5505 with (ASA Version 9.2(2)4) for PPPoE like this [1.]. But If i try to "show" IP address on OUTSIDE interface a get this [2.], ok strange but let's continue. If list "show vpdn pppinterface id 1"  i get this [3.]. Seems that I got public IP addres what was right, but this IP address was not associated with interface OUTSIDE?
    Well, if I set IP address manually like this [4.] and also set a default route everything works fine but what will happen when ISP change reservation for my IP address or default gateway. 
    I have tried different version of ASA OS like 8.4, 9.1 but without luck. 
    Can anybody help me. Thanks a lot.
    Regards
    Karel
    [1.]
    interface Vlan100
    description >>VLAN pro pripojeni do internetu<<
    nameif OUTSIDE
    security-level 0
    pppoe client vpdn group O2
    ip address pppoe setroute
    vpdn group O2 request dialout pppoe
    vpdn group O2 localname O2
    vpdn group O2 ppp authentication chap
    vpdn username O2 password *****
    interface Ethernet0/0
    description >>uplink O2 vDSL<<
    switchport access vlan 100
    [2.]
    ciscoasa(config-if)# show ip address vlan 100 pppoe
    ciscoasa(config-if)#  0.0.0.0 255.255.255.255 on Interface: OUTSIDE
    ciscoasa(config-if)# show interface vlan 100 detail
    Interface Vlan2 "OUTSIDE", is up, line protocol is up
     Hardware is EtherSVI, BW 100 Mbps, DLY 100 usec
            Description: >>VLAN pro pripojeni do internetu<<
            MAC address f44e.05d0.6c17, MTU 1492
            IP address unassigned
      Traffic Statistics for "OUTSIDE":
            28 packets input, 1307 bytes
            31 packets output, 721 bytes
            0 packets dropped
          1 minute input rate 0 pkts/sec,  3 bytes/sec
          1 minute output rate 0 pkts/sec,  1 bytes/sec
          1 minute drop rate, 0 pkts/sec
          5 minute input rate 0 pkts/sec,  0 bytes/sec
          5 minute output rate 0 pkts/sec,  0 bytes/sec
          5 minute drop rate, 0 pkts/sec
      Control Point Interface States:
            Interface number is 15
            Interface config status is active
            Interface state is active
    [3.]
    ciscoasa(config-if)# show vpdn pppinterface id 1
    PPP virtual interface id = 1
    PPP authentication protocol is CHAP
    Server ip address is 88.103.200.41
    Our ip address is 85.71.188.158
    Transmitted Pkts: 20, Received Pkts: 16, Error Pkts: 0
    MPPE key strength is None
      MPPE_Encrypt_Pkts: 0,  MPPE_Encrypt_Bytes: 0
      MPPE_Decrypt_Pkts: 0,  MPPE_Decrypt_Bytes: 0
      Rcvd_Out_Of_Seq_MPPE_Pkts: 0
    ciscoasa(config-if)# show vpdn session state
    %No active L2TP tunnels
    %No active PPTP tunnels
    PPPoE Session Information (Total tunnels=1 sessions=1)
    SessID TunID Intf     State       Last Chg
    22298      2 OUTSIDE  SESSION_UP  561 secs
    [4.]
    interface Vlan100
     description >>VLAN pro pripojeni do internetu<<
     nameif OUTSIDE
     security-level 0
     pppoe client vpdn group O2
     ip address 85.71.188.158 255.255.255.255 pppoe setroute
     route OUTSIDE 0.0.0.0 0.0.0.0 88.103.200.41 1

    You're right that the ACL should not affect otherwise allowed communications to the interface address.
    Try disabling the ip audit feature on your outside interface.
    no ip audit interface OUTSIDE AP_OUTSIDE_INFO
    no ip audit interface OUTSIDE AP_OUTSIDE_ATTACK

  • Safari is not working on the Mac. Internet is fine, mail, App Store etc all working and connecting to Internet fine. Done the latest software update, still not working. When selecting a web address from bookmarks or typing in search bar, partial blue bar.

    Safari is not working on the Mac. Internet is fine. mail, App Store etc all working and connecting to Internet fine. Done the latest software update, still not working. When selecting a web address from bookmarks or typing in search bar, partial blue bar only and coloured wheel appears.

    From the Safari menu bar, select
    Safari ▹ Preferences ▹ Extensions
    Turn all extensions OFF and test. If the problem is resolved, turn extensions back ON and then disable them one or a few at a time until you find the culprit.
    If you wish, you may be able to salvage the malfunctioning extension by uninstalling and reinstalling it. That will revert its settings to the defaults.
    If extensions aren't causing the problem, see below.
    Safari 5.0.1 or later: Slow or partial webpage loading, or webpage cannot be found

  • How to get Plant address from SAP R/3 to SRM

    Hi Gurus,
    We need to retrieve the plant address from SAP R/3 to SRM and display it in the output list of the report (SRM).
    Suggest any standard FM or should we need to create a Custom Remote enabled FM and put the select query to get the address.
    Regards
    Paul

    Hi Paul,
    Try using the RFC_READ_TABLE function module...
    Pass the table name as t001w which contains the plant details.
    Hope this helps.
    Thanks,
    Pradeep

  • How do I display, copy, and paste a web address from an open Safari window please?

    I'm new to Mac and Safari. 
    I'm used to being able to just cut and paste a web address from a page I'm on into a discussion, but I don't see an address bar to copy from.
    I'm sure it is there somewhere, which toolbar or keyboard shortcut am I missing, please?
    Gordon_M

    Hello:
    While Safari is open, go to the menu bar>view.  Select "customize toolbar."  You may use the default, or customize it to yoru liking.
    Then when you wish to copy an address, you simply click on the favicon and go to edit>copy.
    Barry

  • TS3276 Can't open web addresses from an email-get an ERROR message saying-no application could be found

    Can't open web addresses from an email-get an ERROR message saying-no application could be found

    Hi, I had the same problem. I finally figured it out. Plug in the USB cord to your ipad, but beofre plugging it into your computer make sure your ipad is not in the locked or sleep mode. Once I did this, my photos showed up and started downloading. Hope that helps you!

  • How can I copy an email address from the form results while online?

    Our form contains a field where the users submitted their email address.  But I am not able to mouse over this data in the "View Responses" tab, and copy the email address by selecting the email address and Ctrl C, and neither can I right-click this data field and copy it.
    Our organization just switched to Microsoft Office 365, and "mailto" links on web pages can no longer be clicked to launch a native desktop email client program.  So the users tasked with responding to forms submitted via Formscentral now have a much harder workflow.  They are compelled to download the data as a spreadsheet, just to be able to cut and paste an email address into their reply email.
    I suggest and request that the Flash-based "View Responses" tab be modified to allow email addresses to be selectable and able to be  copied to the "clip board".  This would allow users who can't execute a clickable mailto link to copy and paste the email address from Formscentral into a new email.  Many organizations like mine are moving away from native client-based email programs like Outlook to save money,  in favor of cloud based SAS web-based email like Office 365.
    Is there some other way to enable mailto links where no client email program is installed on the users PC?
    Thanks,
    -Dave Bartholomew

    While I am still looking for a better answer, I've discovered a way to cut and paste email addresses from the FormsCentral "View Responses" dashboard.  I wrote up the instructions to help our users and thought I'd share them in this forum as well.
    But it would be nice if there was a simpler solution...  Can anyone offer a better way?
    -Dave B
    ) Right-click on the email address
    ) Select “Filter by: …”  Doing this will change the view to show only entries that were sent from the selected email address.
    ) And it will display the Filter in the header of the form.
    ) Left-click on the email address displayed in the filtered results, in the header of the form.
    ) A new sub-form will appear, and the email address can be cut and pasted from this new sub-form.  Highlight the email address and hit “Ctrl C”, or right-click and select copy.
    ) Now you can paste the email address into a new email in Office 365. (Ctrl V) or right-click and select “Paste”
    ) Click the “Clear” button and then “OK” to exit the filtered view of the data.

  • In Mail, how do I make it so that email replies to me are sent to the email address from which I sent my original message?

    I have two IMAP accounts set up in Mail, one work and one personal. The personal account also receives emails from a third account (but I have that set up through gmail's forwarding, not Mail). I am sending emails from my work account and replies are coming to this third account, which I don't want to happen.
    How do I make it so that replies to me are sent to the email address from which I sent my original message?
    Thanks for your help!

    Send Apple feedback. They won't answer, but at least will know there is a problem. If enough people send feedback, it may get the problem solved sooner.
    Feedback
    Or you can use your Apple ID to register with this site and go the Apple BugReporter. Supposedly you will get an answer if you submit feedback.
    Feedback via Apple Developer

  • Using multiple e-mail addresses from cards in group listings

    I have set up a group to send an e-mail to a bunch of people. Many of the recipients have multiple e-mail addresses. I know how to choose which of the contacts addresses to use, in the "edit distribution list", however I can not figure out how to use multiple addresses from a contacts card. This seems like it would be a pretty importannt function
    Anybody know how to do this.
      Mac OS X (10.3.9)  

    If a Group member has multiple email addresses and when addressing a message to the Group you want to send the message to all email addresses for that member, that member must be available in the Group for each email address that you want to include.
    If a member has 3 email addresses and you want to include all 3 addresses when addressing a message to the Group, that member must be available 3 times in the Group and this can be done via copy and past for the member within the Group.
    After doing so, use the Edit Distribution list selecting a different email address for each copy of that member.

Maybe you are looking for

  • How can I keep only the photos i like in my hard drive ?

    lets say i download 10 pictures from my camera to my library. i dont like five and send them to my trash bin. then i modify them all five and everything looks allright in my iphoto library. And then i go to my hard drive and i have 20 photos! but i o

  • How can i print a testplan?

    Hello, i created a testplan in TS3.5 with teststep and sequences. Is there a way to create a list of which parts are called with all paramateres? The sequence is running on a customers-testsystem and he wants to know what we are doing in the sequence

  • Monitor hooked up to G3 powerbook is extension not mirrored

    My screen went on my G3 powerbook black model. I hooked up a monitior but it is acting as an extension. There is no key on my key pad to change it to mirror plus my apple key does not work. Anyone know how to switch this? Thanks,

  • How do you avoid filling in details for checkout in loggedin

    hi, hope someone can help me here... if a user is logged in, how do you have them checkout without filling in the checkout form?

  • Progress Bars in Flash

    Hi, I'm pretty much a novice at this- so am completely baffled by what to do... Basically, I have a seies of pictures and captions that I want to make a flash progress loading bar to go before. I've looked at the demo and online files- and, have mana