How can i access web when i am connected through a proxy?

HI,
I am rakesh from bangalore. I want to know how can i access web when i am connected to internet throug a proxy. are there any classes to handle this in java.net package?
Thanking you
Rakesh

the URL class can also handle a proxyserver.
URL urlobj = new URL("http", proxyhost, proxyport, url);

Similar Messages

  • How can i access web sites configured for internet explorer?

    I try to access web sites thatwork with internet explorer from my mac and cannot load the home page.  How can i access these pages?

    Not sure if you're using a different browser than Safari. If not try Firefox or Chrome.

  • How can I access WEB-INF/lib

    Hello all,
    I deployed JClient application using Java Web Start.
    I have the following lines in jnlp file
    <resource>
    <jar href="WEB-INF/lib/share.jar" />
    </resource>
    There's actually share.jar under WEB-INF/lib directory,
    but I got error message when execute the application.
    It seems that I can't access files under WEB-INF via http.
    Does anybody know why?
    Thanks in advance.

    Sorry for being picky on this. Oracle is not doing it, it is the software you're using, ie JDeveloper in your case.
    AFAIK, the Servlet spec states that every library that is needed by the Servlet application should be put under WEB-INF/lib. These libraries are not accessible for any other usage.
    JDev is doing this because your web application needs it.
    If your JNLP application needs it too, JDev should be smart enough to include it twice in your WAR file, once for your web application and once for your JNLP application.
    On the other hand I really hate software that is too smart and causes more problem by being smart than everything else.
    Having said that, please file an enhancement request on Metalink for JDev for better library management for JNLP applications.
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How can I access Preferences when monitor setting doesn't allow it?

    I hooked up, via HDMI, my MiniMac to my 42" TV. All the menus & icons are so far out on the periferies, that I can't access them to go to Preferences>Display to change the monitor settings. Is there some way to gain access to Preferences>Display so I can change the monitor setting, even though the choice is not on the screen?

    Don't know if this will work with your keyboard, but it's worth a try -
    With Finder active (click a bare patch of desktop to make it so) press Command-Shift-/ (that's the slash key to the right of the period key). This is the standard keyboard shortcut to engage (open) the Help menu. In the search box in that screen (assuming it is visible) type "change brightness" (without quotes) and then press Return.
    If this works, near the top of the items returned will be one named "Adjusting your display's brightness" - click it. In the new screen near the bottom center will be a link named "Open the Display pane of Displays preferences" - click it, and the Displays preference pane should open.
    Sounds convoluted, but it gets you there.

  • How can JSP access web.xml

    I have a JSP application that requires properties that are kept in a text file, which I am currently reading from. I would like to move these properties in the web.xml file and read them from there.
    I know how to read properties for a servlet from web.xml, however I do not know how to do this for a JSP. Can someone advise me?
    Thanks
    Matthew

    I'm not exactly sure what you are looking for, but if it's something you can do from a servlet, then you can do it from a JSP the same way. Remember, JSPs are compiled into servlets anyway. Just use the implicit objects (HttpServletRequest request, ServletContext application, etc)

  • How can I access my iCloud account on the web from my phone

    how can I access my iCloud account on the web from my phone
    iPhone 5 iOS 8.3
    I have iCloud turned on, location services on, find my phone works but when I try to access iCloud via Safari on the phone it takes me to a page Apple.com,
    iCloud then three options
    set up iCloud on my phone (i have)
    Install Find my phone, it is installed and it works from my MBP
    or install find my friends, I don't need that I have no friends.
    my calendars and contacts and bookmarks and all are all sync'd and working on the phone, but i thought if I typed in iCloud.com on the phone in Safari I would go to my iCloud web page that looks like this on my Mac.
    Is that NOT how iCloud should/would look on my phone via Safari?
    This is maybe a dumb question after 3+ year of iPhone'ing
    thank you for clarifying or helping me to understand
    jojoguitar_mmn_usa

    I've been playing with a Galaxy here at work and here's what I've found so far - please feel free to jump in and suggest alternative methods to configure or access the various icloud components.
    So the original Q: Can you access your icloud account on Android?
    Not entirely: the website can't be used from an android browser (not properly - even with Dolphin HD and posing as different browsers it won't load correctly.  So Find my iphone is out, so is the address book or looking at your e-mail or calendar just in a browser window
    I was able to setup my e-mail using the IMAP settings published here:
    http://support.apple.com/kb/HT4864
    Be sure to setup the account manually - and note if you have trouble using SSL try TLS (that worked for me)
    Address book is a no go so you'll have to use iTunes to sync all your contacts over to Gmail - if you still have an iPad it means managing contacts in two places though .  Same goes for your calendar - transfer it to Gmail and forget about iCloud's calendar.  Nice instructions here: http://howto.cnet.com/8301-11310_39-20064060-285/how-to-switch-from-iphone-to-an droid/
    iWork is an Apple proprietary bit so don't expect much there.
    So in my case, if I'm really going to make the switch to a Galaxy from my iPhone it really means I'm going to have to switch to using google as the backend.  The timing to swap over to a galaxy/android phone is not the greatest - given that I'd have to give up my Apple addiction (syncing photos and itunes and losing access to my device tracking).  Plus I still have an iPad and a mac and like living in the Apple ecosystem.  I think I'll wait and see what the new iPhone looks like before I commit

  • How can I access files from a flash drive that were previously saved using a Windows computer? When I attempt to open the file on MacBook Pro, it is asking to "convert file to"; I also have Microsoft Word installed on the Mac as well.

    How can I access files from a flash drive that were previously saved using a Windows computer? When I attempt to open the file on MacBook Pro, it is asking to "convert file to"; none of the options I choose work. I also have Microsoft Office (with Word) installed on the Mac as well.

    Format the external drive as FAT32 or ExFAT. Both computers will then be able to read and write to it.

  • "The file 'iTunes Library.itl' cannot be read because it was created by a newer version of iTunes." Updates were only offered by Apple when I'd open iTunes. Now I can't open iTunes. How can I access the newest iTunes as an update, not a new program?

    "The file 'iTunes Library.itl' cannot be read because it was created by a newer version of iTunes." Updates were only offered by Apple when I'd open iTunes. Now I can't open iTunes. How can I access the newest iTunes as an update, not a new program?

    this just started w/ me yesterday.  I was running 10.5.3, and nothing changed - the message just appeard out of nowhere.  I update to the latest iTunes 10.6 but the message is the same.
    Sounds like probably some sort of Library file corruption.
    The two options available in the message box are "Download" and "Quit".  Download is useless because I'm already running the latest.  Quit is pretty useless.
    I was going to just create a new Library and re-import all my music.  Of course, all my iPhone sync settings are going go have to be recreated.

  • Help! When i connect my "iomega" External hard drive to my mac it does not show in devices or on the desktop, how can i access my hard drive?

    Help! When i connect my "iomega" External hard drive to my mac it does not show in devices or on the desktop, how can i access my hard drive?

    what format your iomega HD is it NTFS , if NTFS try download   http://www.apple.com/downloads/macosx/system_disk_utilities/ntfs3g.html

  • How can i Store web links in my iPad for easy access?

    How can i store web links in iPad for easy access?

    Add them as a bookmark in the Safari web browser. You can sync bookmarks between your computer and iPad too using iTunes or iCloud.

  • When I run an Utilities check on the HD. I always get a prompt-SUID System/Library/CoreS has been modified and will not be repaired. how can i access this to be repaired. Most files are corrupted by messages that they are one thing but should be another

    When I  run a system utilities check and select HD. i always get a prompt the the SUID System/Library/CoreS has been modified and will not be repaired. How can I access this file so that I may repair it? Left unrepaired . There are a lot of files that do not have the correct code. They are one thing but should be another

    Hello there, toestothenose.
    It seems that you may not have gotten the entire message into your thread here, but the following Knowledge Base article offers a good resource on which messages from Disk Utility's Repair Disk Permissions can be safely ignored:
    Mac OS X: Disk Utility's Repair Disk Permissions messages that you can safely ignore
    http://support.apple.com/kb/ts1448
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • I upgraded to the new IOS, but lost data and apps. When I try and restore the only backup I see is the one made AFTER the lost data. How can I access an older backup from the cloud?

    I upgraded to the new IOS, but lost data and apps. When I try and restore the only backup I see is the one it made AFTER the lost data. How can I access an older backup from the cloud?

    Why don't you talk to apple and find out if backup exists? That conversation with apple will stop your guessing.

  • How come I can't access itunes when I could  yesterday?

    How come I can't access itunes when i could yesterday?  When I hooked up my iphone to sync it asked me to reset phone to factory settings!  I don't think so!  Then when I tried to download update it won't do it.

    On my iPod touch I don't have a spotlight search icon or option available. Also under my settings and general there is no "restriction" options or settings. I reset the iPod several times and that doesn't work.
    The thing is the music that is on my iPod is not all in my iTunes library so I can never sync automatically. Also if i restore to factory settings then it will erase what i have on my iPod and not in my library. I always manually add songs. When I plug in my iPod and i go under Summary...the only other tabs are music, tv shows, photos and info. There is no Apps tab. When i plug in my iPhone i do get the apps tab.
    I got my iTouch awhile ago....is it possible that this is why i can't get apps?? I got the iTouch back in 2008.
    Ughhh this is so frustrating. I just want to get this one app on my iPod Touch. Please help!!

  • How can I access an iPhone when I receive a message saying iPhone disabled connect to iTunes?

    How can I access an iPhone when I receive a message saying iPhone disabled connect to iTunes?
    Tried connecting to itunes and hitting restore and get a error message 3194.
    Any help would be greatly appreciated.

    odds are entering password too many times

  • How can you access the printer settings in CS5 when using Epson 4900?

    How can you access the printer settings when using Epson 4900 with CS5 12.1 x 64

    Open the print dialog box, click "print settings".

Maybe you are looking for

  • Why can I not open a you tube item on Firefox

    I've been sent 4 different music videos on email but cannot open them in order to hear them. I'm advised that the 'plugin' is vulnerable. What is a plugin?

  • Not able to print anything on ATG Rest webservices

    Hi..I am new to ATG Rest.. Just for the heads up, i followed following steps :- 1 ) Added rest module to MANIFEST.MF 2) Created a custom class which looks like this - package com.sgs.utils; import atg.nucleus.GenericService; public class SGSdummy ext

  • LSMW read data problem

    hi,i m upoladed the data lsmw through. i already Assign the files in lsmw,but when i import the data through Execut- import data for z92.fi, vendor. and when i execut the import data The " Errors, Unable to write to file 'd:\Z92_FI_VENDORS.lsmw.read'

  • Tables and text

    I'm sure the anwers to these questions are obvious but I can't seem to get it right: 1. I have two tables on a page, one with 2 columns, the second one below with 3 columns. I have the same size paragraph text and font in each table, but when I view

  • How to close only one frame

    Hi! How do i close only one frame? I know this close everything: private void exitActionPerformed(java.awt.event.ActionEvent evt) {                                        Component panel = null; System.exit(0); But i tried this: but dos'nt work ....