How can I get client IP address in portlet (servlet) ?

How can I get client IP address in portlet (servlet) ?
request.getRemoteAddr() return server IP.
May be I must use Portal API, which extend Servlet classes, but I can't find this.
Can any help me?

Hi,
Following query can help you to get the Client IP Address.
select sys_context('userenv','ip_address') from dual;
Thanks,

Similar Messages

  • How can I get Client IP Address in oracle?senthil

    How can I get Client IP Address in oracle?senthil

    Hi,
    Following query can help you to get the Client IP Address.
    select sys_context('userenv','ip_address') from dual;
    Thanks,

  • Whenever I update my iPhone software, it asks me to sign in to iCloud with an old email address.  My other devices all have the correct address.  How can I get the correct address for my iPhone?  The only Apple ID that works for logging in is my new one.

    Whenever I update my iPhone software, it asks me to sign in to iCloud with an old email address.  My other devices all have the correct address.  How can I get the correct address for my iPhone?  The only Apple ID that works for logging in is my new one.

    To change the iCloud ID you have to go to Settings>iCloud, tap Delete Account, provide the password for the old ID when prompted to turn off Find My iPhone (if you're using iOS 7), then sign back in with the ID you wish to use.  If you don't know the password for your old ID, or if it isn't accepted, go to https//appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Tap edit next to the primary email account, tap Edit, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address.  You can now use your current password to turn off Find My iPhone on your device, even though it prompts you for the password for your old account ID. Then go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https//appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

  • How can I get the MAC address of my Apple TV?

    How can I get the MAC address of my Apple TV? I currently do not have an HDMI device to connect it to, and the MAC is not listed on the box or the Apple TV itself.
    (to answer the obvious, I am trying to pair it with an iPad, and I need to register the Apple TV for the network so the two can see each other)

    As long as I know java doesn't have support to work on link-layer, only internet and transport layers. You may write simple native code. On windows, IP Helper functions, like SendARP allow you to pass an IP address and get the hardware address. You store the hardware address on your database/file and later, when that machine is off, you send a frame to the address you stored previous.
    [http://msdn.microsoft.com/en-us/library/aa366071(VS.85).aspx]
    I haven't seen it on Linux, but if you need help let me know I'll check the Linux API's too.

  • How can I get mail to address addressees by their first name, first?

    I like it that Mail is integrated with Contacts. But when I type a name in the To: section, it is always shown as last name, first name. How can I get Mail to address my friends as Gary Smith, not Smith Gary??

    I don't think whether it's easier or not is really an issue.  The problem is that all of these wonderful technologies are taking away our understanding of how to communicate in writing.  It's not a matter of being lazy and not "wanting" to do it, but rather getting to a point where many people "can't" do it.
    I certainly wasn't pointing any fingers.  I use a calculator (or computer if I happen to be on one at the time) to do the most basic math calculations.  I can be out to lunch with co-workers and we have to pull out a calculator to split a bill 4 ways.  I went through school at a time when calculators were not permitted.  So, at one time, I could have easily done all of that stuff in my head.  So far as math goes, my mind has turned to mush a long time ago.  I doubt I could work my way through a long division problem at this point... even if I sat there and really tried.
    Computers were not generally consumer items when I was growing up.  So I didn't grow up in a world with spell checking.  I have certainly grown to use it though and I'm sure my ability to spell properly has diminished somewhat because of it.  I tend to be less careful when typing something out.  If I'm not sure of the spelling on something, I just let my computer either fix it or give me a suggestion for the corrected spelling.  Fortunately, I grew up having to rely on my own ability to spell, so with that foundation, I tend to do fairly well when it comes to spelling.
    We're at a point now where systems can correct grammar and sentence structure.  I think all of these are great tools to help us out, but they shouldn't be used to take the place of actually knowing how to do things.  Having said that, I'm fairly sure that is exactly what will happen.  Just as today, I rely almost entirely on some form of electronics for everyday math, I'm sure people growing up today with expert systems able to correct everything will rely on those equally.

  • How can i get local MAC address?

    How can i get local MAC address or desk ID?
    thanks a lot;

    How can i get local MAC addressUse the command line command ipconfig or ipconf (depending on o.s.)
    or desk ID?Look at the desk and see if it has a number on it.
    (Untested as my desk doesn't have an id)
    thanks a lot;Your welcome.

  • Vertical line issue - How can we get Apple to address this?

    Hi guys,
    As can be seen in this forum (and a lot of other forums, as well), a lot of people are experiencing this problem on their 17" iMac G5 with iSight. Here are some pertinent details (which may be familiar to a lot of people but can be a primer for those who are just starting to experience the problem):
    1. For most of us, these lines started appearing between 13-15 months after they purchased them. The lucky ones either had these failures occur during the first 12 months, or had APP.
    2. The majority of these units can be traced to the Shanghai factory W8 (enter your S/N in this website to get the manufacturing information of your unit: http://www.chipmunk.nl/klantenservice/applemodel.html).
    3. A similar issue occurred (or is occurring) with 17" PBs. From what I have read on the Apple PB forums, it seems that this has been a long standing issue and Apple has SUPPOSEDLY attempted to censor some of the posts discussing this. Note that these units can also be traced back to the same Shanghai factory.
    4. The "iMac G5 Repair Extension Program for Video and Power Issues" which certain people have always been referring users to on posts discussing this type of problem obviously refers to a totally different issue (http://www.apple.com/support/imac/repairextensionprogram/) and is applicable only to first gen iMac G5s. I'm sure that everyone appreciates it but, at this point, it is quite clear that it is not the solution to our problem.
    5. Based on the number of posts discussing this very same problem in the Apple forums, it is pretty obvious that these are not isolated issues. There are too many similarities (time of failure, how the numbers of line increase over time, manufacturing source, etc.)
    6. Some people have suggested that unstable power sources may be the primary cause of the problem. However, based on the locations of the people with these problems who have posted in this forum, it seems unlikely. From what I can see, the problem happens whether you are from a highly industrialized country (where a stable power source can be expected) or a developing country (where power sources MAY be more unstable).
    7. Apple has typically responded (to anyone who has taken the time to write or have their iMacs inspected) that this is not a known manufacturing defect issue. As such, the cost to repair this problem, which can go up to USD 500, will have to be borne by the owner.
    8. Based on posts of some people who have had their units repaired, it is the LCD that has to be replaced. This is also supported by posts from people who have resorted to purchase a separate display as a workaround.
    Now, the question is, *how do we get Apple to address this issue*? Do we all start writing Steve Jobs about it? Do we go to the press? Should we put up a website and Digg it to death? A spoof video on YouTube? MySpace? Or will we just suffer in silence? Suggestions anyone?
    P.S. Suggestions that involve any sort of violence or industrial sabotage are not acceptable, please.
    Note that Ale_Tog has put up a Flickr page where we can post photos of our poor iMacs. Just send the photo to [email protected] with the subject "Dead pixels on iMac". No text, just the photo attachment. (+Ale_Tog, if you read this, I hope you don't mind me posting this here. Also, I suggest that we at least put the first 5 chars of the serial number, the factory information which can be retrieved on the link in #2 above, and which country the unit is based.+). I highly recommend that everyone send a photo to show that these are not isolated issues.
    To get an idea on how many people are experiencing this problem, here are a list of posts in these forums, as well as others, discussing this issue (feel free to add to this):
    http://i7.ebayimg.com/05/i/000/b2/75/2e8d_1.JPG
    http://i16.ebayimg.com/06/i/000/b2/75/2ee5_1.JPG
    http://i12.ebayimg.com/07/i/000/b2/75/2faf_1.JPG
    http://discussions.apple.com/thread.jspa?threadID=974094
    http://discussions.apple.com/thread.jspa?messageID=5146382&tstart=0
    http://www.macusersg.org/forums/index.php?topic=40998.0
    http://discussions.apple.com/thread.jspa?threadID=607522&tstart=180
    http://discussions.apple.com/thread.jspa?threadID=463075&tstart=270
    http://discussions.apple.com/thread.jspa?threadID=197560&tstart=360 (this is about dead pixels, but one person reported a whole line)
    http://discussions.apple.com/thread.jspa?threadID=292889&tstart=390
    http://discussions.apple.com/thread.jspa?threadID=293895&tstart=390
    http://discussions.apple.com/thread.jspa?threadID=279138&tstart=420
    http://discussions.apple.com/thread.jspa?threadID=197630&tstart=465
    http://discussions.apple.com/thread.jspa?threadID=197745&tstart=510
    http://discussions.apple.com/thread.jspa?threadID=197741&tstart=510
    http://discussions.apple.com/thread.jspa?threadID=197641&tstart=585
    http://discussions.apple.com/thread.jspa?messageID=4227335&#4227335
    http://discussions.apple.com/thread.jspa?messageID=976574&#976574
    http://discussions.apple.com/messageview.jspa?messageID=4369582&stqc=true
    http://discussions.apple.com/thread.jspa?threadID=778470&tstart=0
    Please start sending your suggestions. The more the many-ier!

    Yep. I feel Apple's 1 year manufacturer warranty for the iMac is not adequate, especially for an all-in-one unit with a relatively high price.
    My iMac G5 started displaying a vertical cyan line about 4 weeks ago, only about 19-20 months after I bought it for Christmas in 2005.
    I called up Apple to enquire what could be done and was told by their customer service that a rather long period had elasped since the warranty expired in 2006. So I was told to take the iMac to an authorised repair centre and Apple will not contribute to the cost of the repair.
    I expect respectable service life from my computer and anything less than 5 years is totally unacceptable. Thus I seriously question the value proposition for the iMac in this respect. Does it mean that I have to replace my iMac every 2 years? The computer still feel reasonably zippy, I still have plenty of space left on my hard drive, but the screen is failing ...
    Today another line (green) appeared on the screen ...
    It is my understanding that a number of LCD monitor manufacturers are now providing 3 year warranties for their products. Now why should Apple only provide a 1 year warranty? Especially when the replacement option will cost more than buying an entire new LCD monitor with even better specifications?
    Based on the number of responeses I have seen here, this is not a rare occurance and I seriously question their quality control in their manufacturing process. I think Apple should be responsible for these repairs, and also provide a 3-year warranty for their LCD screens.
    My iMac's serial number is W8548Zxxxxx.
    Sincerely yours, an unhappy Apple customer.

  • Stolen black mac book how can i get my mac address

    had my black 13 inch mac book stolen while visiting inlaws. we know who took it but need proof. filed a police report and gave serial number but need some way or tracking the computer..dont know what if any tracking capabilities the system had on it. and how can I find the Mac address for the laptop...any help would be great ....thanks
    Derek..
    <Edited By Host>

    Yea the serial number will help if it ever gets pawned or found..but thats if she pawns it...what I need I someway of seeing the computer pop up in her town as she the main suspect and the only one who lives in that town..I do have the original box (never throw anything away drives my wife nuts) what does the number look like? and where would it be located on the box..??thanks for the help so far....

  • How can i get my previous address book into my current email?

    I use to use road runner as my email but always so slow so I started using Hotmail, had lots of problems with Hotmail so I went back to using rr but I can't get my old address book, I access rr via Mozilla and I didn't before. I can open my previous rr and all the addresses are there but can't figure out how to get them into my new account.
    Thanks

    Export them from where ever they are, either as CSV or LDIF format.
    Import them to Thunderbirds address book. Tools (Alt_T) > import > address books

  • How to i get client IP address of a system on Oracle E-biz

    We are trying to extend our audit to getting the client IP address of a system on Oracle E-biz. This is to track down some users trying to perform a fraudulent act. Anybody has an idea. Maybe there are some scripts i need to run.

    Hi user;
    Please check:
    How to get Client IP address in oracle apps. Are there any API's.
    Re: How to get Client IP address in oracle apps. Are there any API's.
    Hope it helps
    Regard
    Helios

  • How can I get the MAC address

    My machine has two NIC's. I need to add another network interface, however when I do so it gets assigned to the same MAC address as the interface in use. Why is that and how can I determine the MAC address of the other card to be able to assign it to the new interface?
    thanks

    If necessary, change the value of local-mac-address? as follows:
    eeprom local-mac-address?=true
    When you reboot the system, the interfaces with factory-installed MAC addresses now use these factory settings, rather than the system-wide MAC address. Interfaces without factory-set MAC addresses continue to use the system-wide MAC address.
    [http://docs.sun.com/app/docs/doc/816-4554/eyprp?a=view]

  • How can I get my thunderbird address book to show up in alphabetical order by surname?

    When entering my email addresses in the address book they do not show up in alphabetical order by surname. What do I do to get it to do so?

    I have this same problem, but my Address Book doesn't stay sorted. I have to sort it on "Email" address first, then sort it on "Email". Then, and only then, can I find an email address. I have to do this EVERY time I send an email. After I return to Thunderbird, the email addresses are jumbled again.

  • How can I get a parameter back into a servlet invoked from an IMG tag ?

    I'm using a servlet to create several graphical plots per JSP i.e. per HTML page. Each graph is supposed to be different, according to a parameter which I want to pass back from my JSP. I'm getting several plots but they're all the same!
    I've tried setting an attribute in the session object before each IMG SRC= , but all I get is each plot the same! In fact, my debugging efforts show that the servlet is only called once despite 3 calls, each with a different session parameter value. I'm not sure the session parameter values are getting used properly.
    I just can't find a way of getting a parameter back into my servlet which is invoked from the IMG tag (i.e. SRC= "servlet name").
    Can anyone tell me the best way to pass a parameter back into a servlet which is invoked from an IMG tag? Can the request object be used? I can't, at the moment, see how it could be used?
    I'll certainly be very grateful if anyone can help with this - could even be useful for others as well!

    You said that, "by moving a copy of Mobile Docs back to the Library, from which I had moved it, my documents reapperared in Cloud." That says that you actually moved it. Obviously, I can't tell exactly what you did, but it sounds like you may have thought you were just putting it in the sidebar, but you actually put it somewhere else. The sidebar is not a location to put things, just a way to create a quick shortcut to access a file or folder, so you can't put things "back" from there.

  • How can I get my email address off of iMessage?

    Yesterday I decided to try Messages Beta but it obviously required that I use an email for sending messages.
    I wanted to see it working between my iPhone and MacBook, so also entered my email on my iPhone.
    Now though I want to revert it. I don't want my email address used for iMessages.
    How do I remove it? I go to Messages and it says there are two places to recieve at, so I click on my email, but the "Remove" button is faded.
    I thought that some messages were lagging to arrive, so I thought I'd turn iMessage off until I get rid of my email. Now if I turn iMessage back on, it doesn't do anything, it sits there saying "Waiting for activation".
    The kind of things Apple are forcing us to do...I can't wait to see how little I can do in Mountain Lion...

    you can try this https://discussions.apple.com/thread/3735390 I posted that thread with no feedback so far. So what happens is that if you want iMessage with no email associated, strangely, if iMessage has been turned off for a while, when attempting to turn it back on, if you're prompted to enter your Apple ID password and you don't (cancel), iMessage will still activate with just your phone number as reachable contact. That's a bug I think, but well here's the trick for now

  • How can I get one email address in an address group to sort first in mail?

    I have a group with about 100 contacts.  Mail sorts these contacts in a way I can not fathom.  I would like one of the contacts to appear "first" in the list of Mail addressees.  I've tried starting the contact name an "A" and a "1".  I've tried starting the email name and isp name the same way.  Each time, the contact appears in a different place in the Mail address list but never first.  Thanks

    Sorry, I just found a similar question which was answered by VK as:
    "I'm not sure what Mail uses to determine the order the emails are listed when you do this. It may be related to the internal UIDs address book assigns to all contacts. those are assigned in the order the contacts were added to Address Book. this is not terribly useful."
    VK proceeded to offer a software technique for resorting addressees which I could not understand.
    It looks like I'm stuck.
    There's another question I ask every time I'm in an Apple store, "why not list the groups associated with each contact in the lower right box of each contact; next to the latest revision date.  So easy and so useful.  I never get a good answer.
    Generally, I find Apple programmers the best in the world for making things intuitive.  Not so with Mail... :-(

Maybe you are looking for