Jsp:to know the address-ip of the server

with
<%
out.println(request.getRemoteHost());
%>
i get:
127.0.0.1
with
<%
out.println(request.getServerName());
%>
i get:
localhost
how can i know the address-ip of the server??(that in this case is my pc)
(sorry for my bad english)

see if this help
serverIp=InetAddress.getLocalHost().getHostAddress

Similar Messages

  • Trace to know the server name or server's IP

    Hi,
    Given one domain name like
    NTNET11
    how can I trace which server name or IP, is inside having all the AD details?
    Many Thanks & Best Regards, Hua Min

    I assume you want to know the domain controller holding the AD for the particular domain
    From any system in the domain run this:
    nltest /dclist:NTNET11
    If i've understood your question wrong please clarify.
    Reg,
    Darshan

  • Outgoing Email Setup for Knology - Does anyone know the server setting?

    A friend cannot find the Knology server settings for outgoing mail...Knology company was no help.
    Does anyone know the proper settings?
    Thanks

    DBunch07,
    I was able to find this site in their support pages:
    http://support.knology.net/content/email.setup.cfm
    If the suggested setting from there smtp.knology.net, does not work, they may require different settings for when you aren't connected directly to them. For example when using EDGE or a WiFi Hotspot.
    I have found that asking email provider's tech support for what mail server settings to use while you are travelling and using a laptop will often get the correct settings to use for the iPhone. However, if they say they only offer webmail for when you are travelling, you will not be able to use their outgoing server on EDGE or at WiFi Hotspots, because they have chosen to block outgoing access when you are not on their network.
    While connected to EDGE, you can use cwmx.com to send email out. It only works while on EDGE, and does not require a username or password, since it goes off of the authentication for using EDGE with AT&T.
    AT&T's knowledge base article about cwmx.com is here:
    http://www.wireless.att.com/support/knowledgeBase.do?content=KB72769.html
    You will have to turn off WiFi when you want to send email though.
    This article discusses the issues in more depth:
    http://docs.info.apple.com/article.html?artnum=305634
    Hope this helps,
    Nathan C.

  • How to locate JSP Page in the server

    Hi,
    I have the following requirement in OA Framework .
    There is a existing Customized OA page in the PO Module.My requirement is to add a text field in the existing page and based on a input to the text field ,i have to retrive the data in the page.
    I found the source file. Its in .class file.How to open this file and add my code.
    Please help me out in this.
    Thanks & Regards
    Chandramohan.,R

    Duplicate post of How to open a .Class file and work further

  • How to store a JSP file in the SAP Application server ?

    Hello All,
    My reqt. is as follows :
    1. I need to store a JSP File on the SAP Application server .
    How can I do this ?
    2. I want to call the uploaded jsp file from the server and call this jsp from abap to view the result of it .
    How can I achieve this ?
    First of all is this possible ?
    Regards,
    Deepu.K

    Hello Mike,
    Thanks for ur reply.
    I've imported the JSP as a mime object into the BSP.
    Now I've created the page to show that Mime Object as an image.
    But nothing is coming as an output.
    But then,there is an option for that mime object. i.e when I right click on the mime object there is an option called " convert to BSP".
    I selected that option and it created a view in my BSP .( My BSP is a page with flow logic application )
    Now how should i make this view to be an output ?
    I guess this shud be posted in the BSP Forum ...but still taking a chance here :)-
    Regards,
    Deepu.K

  • In accounts  what should I put as the Server Name?  smtp. ?  thanks, Jon

    In accounts  what should I put as the Server Name?  smtp.  ?  thanks,  Jon

    If you are talking about iCloud email you shouldn't need to put anything in. Sign in in System Preferences>iCloud and check 'Mail' in the checklist there and it should set it up automatically.
    If you really want to know the server details they are listed here:
    http://support.apple.com/kb/HT4864

  • How to determine if the server is in debug mode or Running in Java Code

    Hi ,
    I have a WebDynpro Applcation in which i have to display foll things in Table:
    Engine Name; Engine Version: Debug Mode; Reserved by;
    Now i could display list of servers but i have hardcoded the Debug Mode as "Disabled"
    My Question is:
    If i know the Server, can we find if the server is in debugmode in application code???
    I have OS access to my Engine. Pls let me in which property file can i find Debug Status??
    Also i am not sure if i have posted the Query in RIght Component. DO let e know if this Q is posted in wrong Forum
    Kindly help me solve this problem
    Thanks n Regards,
    Archana

    Hi Archana,
    If u can't start the server in debugging mode thru NWDS then u can try this
    Config Tool:
    U can enable the debuggine mode from the Config Tool as well. Just browse to following
    C:usrsap<SID>JC<SYS_NO>j2eeconfigtoolconfigtool.bat
    Click on the your instance. Then under the tab VM Environment, Set the DebugMode = true.
    Restart the engine now. This will open the J2EE server again in the Debug Mode.
    Please check the [Debugging Portal Applications or WebDynpro Applciation|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/907751e5-f717-2a10-f3b4-de4431d4722d?quicklink=index&overridelayout=true] and search for SDN
    Just hope this helps you!
    Regards
    Vijay

  • My icloud and Apple ID aren't the same email address. My phone wont let me change my icloud email. I don't know the password to my icloud account, and every time I try to email myself the password, it doesn't go through.

    My icloud and Apple ID aren't the same email address. My phone wont let me change my icloud email. I don't know the password to my icloud account, and every time I try to email myself the password, it doesn't go through.

    Welcome to the Apple Community.
    Your Apple ID and iCloud email address don't need to be the same, you can't change an iCloud email address.
    Also check your Mail rules and filtering, the verification mail may be going to a junk folder or even being deleted altogether. You may also wish to contact your mail provider to see if their spam filters are removing the email before it gets to you.

  • How do I change my icloud email when don't know the old password after I have changed my apple ID email address and the password? icloud is still online with my old email address!!!

    I got a new phone but backed it up through my itunes, and when I tried to use icloud it kept telling me I have forgotten my password, when I really really didn't. So I went to settings > itunes&appstore and changed my password, but also changed the email address too while I was at it, since I've always wanted to change it. But now here's the problem. My iphone's icloud is currently logged in with my old apple ID email address, which seems to not work with the new password, so I can't log it or even delete the account off my iphone. And ovbiously, I don't know the old password that I have "forgotten", as my phone tells me. There seems to be no way of changing the icloud account now.... What should I do?!

    So what was the solution. I have a similar problem on all of my devices now

  • HT5312 how can i add a secure email address to my account if i don't know the answers to my security questions?

    how can i add a secure email address to my account if i don't know the answers to my security questions?

    I don't know either! I NEED HELP CAUSE I PUT MONEY INTO IT and they ask for my SECURITY QUESTION ANSWERS! When I try to change my security questions, which i forgot, they askk me for the ANSWERS TO MY SECURITY QUESTIONS!!!!!!!!!! I CAN"T DO IT IF I DON"T KNOW IT!

  • HT204053 how do I change email address on icloud for my phone?  somehow I have another email address on my laptop and want them to be the same plus I don't know the old/phone password

    How do I change the email associated with Icloud on my phone.  It's not my mail apple id, its and old one and I don't know the password anymore.  I have another apple ID associated with my ipad and laptop and the icloud works great with that.  I just did the new iphone update and now its constantly asking for the icloud/apple id - the one I don't even know the password for anymore and it keeps popping up all the time. 

    If you mean that Find My Phone is asking for a password to a different Apple ID to your current Apple IDand that ID is a previous version of your current ID, not an entirely different one.
    This feature has been introduced to make stolen phones useless to those that have stolen them.
    However it can also arise when the user has changed their Apple ID details with Apple and not made the same changes to their iCloud account/Find My Phone on their device before upgrading to iOS 7, or if you restore from a previous back up made before you changed your details.
    The only solution is to change your Apple ID back to its previous state with Apple at My Apple ID using your current password, you don’t need access to this address if it’s previously been used with your Apple ID, once you have saved these details enter the password as requested on your device and then turn off "find my phone" and delete the account from your device.
    You should then change your Apple ID back to its current state, save it once again and then log back in using your current Apple ID. Finally, turn "find my phone" back on once again.
    This article provides more information about Activation Lock.

  • How can I delete my Icloud account when I don't know the password and no longer have the email address associated with it?

    How can I delete my Icloud account when I don't know the password and no longer have the email address associated with it?
    You need your password to delete it and I need the email address to reset the password.  I feel like I'm going in circles!!!  Please help!!!

    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 shouldn't need to verify the old account).  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.

  • I have attempted to upgrade os4 to os7. icloud has taken an old expiered email address for which i do not know the password. It will not recognise my current email and password with itunes.  Any help appreciated

    I have attempted to upgrade os4 to os7. At the end, it threw an error that i had to turn off "Find my iphone" on my phone, which seems to be impossible at that stage as i could not access beyond the upgrade screen.
    I thin chose to set up as new iphone, but icloud has taken an old expired email address for which i do not know the password. icloud will not recognise my current itunes email and password, so i now have os7 but am unable to restore from my itunes back up. 
    Desperately need help please... Any help appreciated
    Thankyou

    If you don't know your password, don't know your security questions and don't have a rescue address or don't receive a reset email, you should contact AppleCare who will initially try to assist you with a reset email or if unsuccessful will pass you to the security team to reset your security questions for you.
    If you are in a region that doesn't have international telephone support try contacting Apple through iTunes Store Support.

  • Do you know to how update my iCloud ID to match my Apple ID if I don't know the password and I don't have access to the old e-mail address?

    Hi Guys,
    Do you know to how update my iCloud ID to match my Apple ID if I don't know the password  for the old ID and I don't have access to the old e-mail address?

    Hi Guys,
    I've sorted it  
    All I needed to do was add my old e-mail address - not as the primary but as an alias. This allowed me to delete the account on my iPhone 4S and re-sign in with the correct e-mail address.
    Happy now  

  • My old iphone was stolen. Can I wipe it remotely if I know the IP address from which someone is trying access my accounts?

    I was in Europe last week and was pick pocketed and my iphone 3GS.  Now someone is trying to access my gmail account from Romania.  I was notified by google and given an IP address from where the attempt is coming from.  I have since upgraded my phone, and was only using it as an ipod.  For that reason, I didn't have any security settings (no password).  But, there's quite a bit of personal things on there (text, tons of pictures, etc)  Is there any possible way it could be wiped remotely since I know the IP address where it is located?  I also remember setting up a locate my iphone thing some years back, but have never needed to use it (so it seems some of the information needed may not be up to date).  Seems like I'm SOL if I don't have icloud or whatever.

    Here is a link that explain you the steps http://support.apple.com/kb/ph2701

Maybe you are looking for

  • How to activate Image, Pdf, Hyperlink and Scale Prices in SRM-MDM

    Hi Experts, I have requirement to activate the following features: 1. Image 2. PDF 3. Hyperlink 4. Scale Prices These should be activated and should be available in the current business' internal catalogs so that users could be able to easily identif

  • Starting iSight kills my internet connection- why?

    Every time I start using iSight on my Macbook it kills my internet connection. I've tried with Skype, Yahoo IM, and even Chat Roulette but I always lose internet connection as soon as I start using it. My Macbook is almost 5 years old but have never

  • Business View Connector Error When Developing from Client PC

    We upgraded from CE10 to BOXI 3.1 using Crystal Reports 2008 with Business Views.  Now when developing a report using a BV working in Crystal Reports 2008 on the server on which the BV resides all works fine; when we use Crystal from a client PC and

  • Consignment return showing on billing due list

    Hello, We are having an issue where a very old sales order/delivery is showing up on our billing-due list.  This was a consignment return for zero dollars so there are no credits or billing involved.  How do we remove this from the billing due list?

  • Sending mail without attachment file

    Hi Sapfans: I would like to send mail without attachment file, just a notice, needing multiple receiver, can change the mail title, Which function shoud I use? I just found out sending mail with attachment file there, Thanks a lot!