Entering info on a website

basically, i would like to know how to enter specific information such as name and password into the appropiate fields on a website from my java program. sorry if this is in the wrong section, but any help is appreciated.

if(buttonObj == searchButton)
     try
          String name = nameField.getText();
          URL url = new URL("http://www.kingsofchaos.com/battlefield.php?jump=&search_type=s&search=" + name);
          URLConnection connection = url.openConnection();
          BufferedReader in = new BufferedReader(new InputStreamReader(url.openStream()));
          // this isnt in my actual program but is just to show the output.
                line = in.readLine();               
          for(int i = 0; i < 20; i++)
               System.out.println(line);
     catch(Exception e)
          System.out.print(e);
}ok well thats the code the gets the urls information.
so when i keep the url the way it is i just get null, null, null, ect
however when i change the url to:
URL url = new URL("http://www.yahoo.com");i actually get some output besides null. any help is appreciated.

Similar Messages

  • Trying to load flash file in iWeb and when I enter info in the "html snippet" box a "missing plug-in" message comes up (although i have adobe flash player in, if that's the plug-in they're looking for). Anyone have any similar problems or solution. Thanks

    I'm trying to load flash file in iWeb and when i enter info in the "html snippet" box a "missing plug-in" message comes up (although i have Adobe Flash player installed, if that's the plug-in they're looking for). Anyone have any similar problems or solutions. Thanks

    when i publish my site and vew it the page on the web it just comes up with the file name w/ the ,swf and the "mising plug-in" message below. if i click on the file name it displays the flash file but gigantic (the entire height of the page).totally perplexed!
    anyway, here is the code.
    <object classid=”clsid:D27CDB6E-AE6D-11cf-96B8-444553540000”codebase=”http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0, 40,0”width=”244” height=”221” id=”ETrade_banner_Gumby_replay”><paramname=movie value=”ETrade_banner_Gumby_replay.swf”><param name=qualityvalue=high><param name=base value=”.”><embed src=”ETrade_banner_Gumby_replay.swf”quality=high width=”244” height=”221” name=”ETrade_banner_Gumby_replay”align=”” type=”application/x-shockwave-flash” pluginspage=”http://www.macromedia.com/go/getflashplayer”base=”.”></embed></object>

  • How to track Entered info at ADF UI page in ApplicationModuleImp.java

    Hi All,
    I am working on one ADF Requirement ,where i ll be configuring DB multiple table(there ll be FK-relationship between all these tables) through ADF UI page.
    requirement is:
    I will be having ADF UI Page (I have my VO based on multiple EO's)
    At runtime if i provide Details in UI page ,those data should go respective tables through single control. UI wont be having all the Columns, I will be tracking related columns through java method then i am updating the same to Other table.
    I can track these values in managed Bean class by using Below Code
    ViewObject vo = ADFUtils.findIterator("OeAttrMappingVO1Iterator").getViewObject();
    vo.getCurrentRow().getAttribute("DeletedFlag");
    But, I want to do same Logic In AMIml.Java
    Can anyone suggest me, how i can track entered info in UI in my AMImpl.java ??? Because I hav some other logic which i can implement in AMImpl.java
    thanks
    Santosh

    Hi,
    look you directly have a control of UI entered data in your managed bean. then you just create a custom method in am impl with parameters. expose the same in client interface, then call the impl method from managed bean and paas the entered values as parameters.
    see if this helps http://xmlandmore.blogspot.com/2011/05/invoking-application-module-custom.html
    ~Abhijit

  • In the case of a fixed vendor, please enter info record

    Hello Experts
    When I make a Purchase Requisition allocated to a fixed asset and I also indicate the fixed vendor, the following error appears:
    "In the case of a fixed vendor, please enter info record"
    We are not maintaining info records. For material and service purchases, if I type the fixed vendor, the info records are generated automatically by the system and we do not care about them. But for fixed assets it does not allow me to save if I enter the fixed vendor. How can I make to be created automatically also for the fixed assets?
    Thanks in advance
    Best regards

    sure, SAP creates info records itself when you do a purchase order.
    but SAP does not create info records when you create a purchase requisition.
    if you want a fixed vendor in a purchase requisition, then you have to have an info record first.
    so you either enter a desired vendor for this first time and can use fixed vendor with the second ocurance, or the requisitioner asks purchasing to create the info record manually. or you create the PO without requisition for the first time.
    see OSS Note 63600 - Required vendor - fixed vendor for IW32
    it explains the reason for the error message and a workaround.

  • I bought iPhone 6 Plus few days ago and I have the following problems: 1) When entering through Safary to Google Images and tap on each on of them they do not enlarged nor I am able by click on them to enter into the connected website

    I bought iPhone 6 Plus few days ago and I have the following problems:
    1) When entering through Safary to Google Images and tap on each one of them they do not enlarge nor I am able by click on them to enter into their connected website
    2) When I receive an e-mail with images I cannot easily save them in my gallery. It needs more than 10 tabs to the window "save this image" or "save all 3 images" and if I am lucky it saves one image. This is very frustrating, I loose a lot of time trying and affects my job.
    I would highly apreciate any help
    Kind Regards

    I bought iPhone 6 Plus few days ago and I have the following problems:
    1) When entering through Safary to Google Images and tap on each one of them they do not enlarge nor I am able by click on them to enter into their connected website
    2) When I receive an e-mail with images I cannot easily save them in my gallery. It needs more than 10 tabs to the window "save this image" or "save all 3 images" and if I am lucky it saves one image. This is very frustrating, I loose a lot of time trying and affects my job.
    I would highly apreciate any help
    Kind Regards

  • Entering info into "category"

    Anyone know how to enter info into the "category" heading for an iTunes selection? When I "get info" for an iTunes selection, I do not see the "Category" heading that is offerd in "view options".
    Many thanks.

    Richard,
    I'm so glad you posted this question. I just discovered the mysterious "category" field today. The following post discusses it a bit, but I'm hoping to find out more.
    Bensch, "How do I use the new fields "category" or "description"?", 06:10pm Sep 7, 2005 CDT

  • 'In the case of a fixed vendor, please enter info record'  error message

    Hello All,
    We are on SRM 5.5. User created SC and selected a vendor as a source of supply. After ordering, Pr should be created in ERP. Instead of that we receive an error - "In the case of a fixed vendor, please enter info record". Any idea what can be causing this problem? I was trying to replicate that problem by creating PR manually and putting a fixed vendor there but the field is cleared out autimatically upon 'check'. Please advise.
    kind regards,
    Robert

    Hi,
    Have a look at these threads:
    Re: PR instead of PO created
    Re: How to create PO in Backend by refering only vendor
    BR,
    Disha.
    DO reward points for useful answers.

  • Firefox freezes on sites into which I enter info, like survey site and especially facebook.

    Firefox freezes on sites into which I enter info, like survey sites and especially facebook. On a particular survey site, I filled in the dots for how much I like or disliked their product. After I was done, my firefox screen went grey and my computer became unresponive. I had to shut it down via task manager. The biggest problem is with face book. If I write long messages then I am okay... most of the time. It's inconsistent. But the result is usually a grey screen and I must follow the procedure above. I tried the same thing on myspace and oddly I didn't have this problem. Also, on facebook, while typing a message it will not scroll down when I get to the end of the page, such as this page just did now. Therefore I can't see what I'm writing at certain points. I recently reinstalled Vista Premium Home edition and then installed the newest version of firefox. Everything was fine til yesterday. So I reinstalled firefox and change my lag time to -1, but that didn't help either. Had a problem with adobe earlier too, so I don't know if that has anything to do with it. That's all I can think to tell you. Thanks for the help!
    == URL of affected sites ==
    http://http://www.facebook.com/
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; .NET4.0C; .NET CLR 3.0.30618; Creative AutoUpdate v1.10.10)

    Hello Kelly.
    It's possible that you are having a problem with some Firefox add-on that is hindering your Firefox's normal behavior. Have you tried disabling all add-ons (just to check), to see if Firefox goes back to normal?
    Whenever you have a problem with Firefox, whatever it is, you should make sure it's not caused by one (or more than one) of your installed add-ons, be it an extension, a theme or a plugin. To do that easily and cleanly, run Firefox in [http://support.mozilla.com/en-US/kb/Safe+Mode safe mode] (don't forget to select ''Disable all add-ons'' when you start safe mode). If the problem disappears, you know it's from an add-on. Disable them all in normal mode, and enable them one at a time until you find the source of the problem. See [http://support.mozilla.com/en-US/kb/Troubleshooting+extensions+and+themes this article] for information about troubleshooting extensions and theme and [https://support.mozilla.com/en-US/kb/Troubleshooting+plugins this one] for plugins.
    If you need support for one of your add-ons, you'll have to contact its author.

  • When I go to a Pages document, I can't get a cursor to enter info.

    Why no cursor to enter info in Pages?

    Pages creates two types of document: Word processing documents and Page layout documents.
    Word processing documents include a default Text layer into which text can be entered directly.
    Page layout documents do not contain a Text layer. Those created with either of the Blank Canvas templates contain nothing except an empty canvas onto which objects, including Text boxes, may be placed. To enter text on a Page layout document, you will first need to insert a Text box (or a Shape) using the Text button or the Shapes button in the Toolbar. Click inside the Text box, and you will see the insertion point and be able to enter txt from the keyboard or from the Clipboard.
    Regards,
    Barry

  • Adobe ID screen grays out with swirl in right hand corner when asked to enter info. Stays that way. I am locked out

    Trying to launch elements. Adobe ID required. Enter info. Then I get a grayed out screen with swirl in bottom right corner. Never lets me into program.

    Hi lospesca,
    Thanks for posting on the Adobe forums.
    Please follow these steps :
    Go to following location:
    for Win
    C:\Program Files (x86)\Common Files\Adobe
    C:\Users\username\AppData\Local\Adobe
    for MAC
    Finder> Go > Go to Folder
    \Library\Applicaiton Support\Adobe
    ~\Library\Applicaiton Support\Adobe
    Locate folder OOBE and rename it OOBE.old
    Download and install
    Adobe - Adobe Application Manager : For Windows : Adobe Application Manager
    Adobe - Adobe Application Manager : For Macintosh : Adobe Application Manager
    After the installation
    Try to Open Adobe Application Manager / Creative Cloud App.
    Log in that with Adobe ID and Password.
    If it does not work first try couple of times more.
    Let me know if this resolves the issue.
    Regards,
    Sandeep

  • HT4991 Although I entered info in several Numbers spreadsheets within the last hour, now I can't input info in another.  Nor can I go to any others.  I'm locked up in one spreadsheet and can't move out of it.  Any ideas?

    Altho I entered info into several Numbers spreadsheets, I have locked up in another one.  Any ideas?

    Altho I entered info into several Numbers spreadsheets, I have locked up in another one.  Any ideas?

  • Using windows 7 and FF4, randomly when I open FF all of my username and password info for my websites has been removed and i have to re enter my login info. I did not have this problem with 3.6.

    None of my security settings are being changed and this is not being caused by any anti spyware program. if I go back to 3.6 i do not have the problem. I have reinstalled FF4 and now, 4.0.1, thinking it might be corrected but still the problem persists and I get tired of having to reenter login information for 20 or more websites every couple of days.

    I also had terrible issues with 2 Wire Gateway and my mid-2010 MacBook Pro.  We changed to WPA2 and that seems to have fixed the problem.  The AT&T tech support person, Phillipines, was extremely helpful.  She went through network settings with me.  One interesting step was going into my DNS tab (Network Preferences and then Advanced Button) and replacing my entries with these:
    68.94.156.1
    68.94.157.1
    It's been several days and I've only seen a few random packet drops.  Still charging along at full signal strength.

  • What happened to the padlock showing my ordering info on a website is secure?

    I used to see a padlock in the bottom right-hand corner of my screen whenever I was on a secured website, i.e. amazon.com, placing an order. The padlock would appear when it was time to enter credit card info, etc. I recently installed the latest version of Firefox, and today I ordered something from a website I visit occasionally but I didn't see the padlock indicating that I was on a secure page. I went to amazon.com to check it out there, and encountered the same thing. Is there another indicator showing the info I'm entering is secure, and I am just missing it? My husband is already nervous about ordering stuff online. I need to know my info is secure when I order online. Thanks for the help.

    The padlock has been replaced by the site identity button, for details on using it see https://support.mozilla.com/kb/Site+Identity+Button
    If you want to add a padlock icon to the location bar, you can use the Padlock add-on - https://addons.mozilla.org/firefox/addon/padlock-icon/

  • If I am on Website A, where/how can I simply enter the address for Website B and hit Enter to get there?

    Firefox appears to have made some changes in the last couple of weeks. In the past, if I were on, say, the Bank of America website, bankofamerica.com would appear in one of the lines at the top left portion of the screen. When I finished my business with B of A, I could erase or overtype that address, type in the address of the website I wanted to visit next-- americanexpress.com, ubs.com, etc.,--hit Enter, and I would be connected to the new website. It appears to me that this capability no longer exists; if it does, I don't know how to use it. I also cannot find any back or forward arrows allowing one to move between screens. If the features I've mentioned are, in fact, still available, please tell me how to use them.

    Make sure that toolbars like the "Navigation Toolbar" and the "Bookmarks Toolbar" are visible:
    *Firefox > Options
    *"View > Toolbars"
    Open the Customize window to set which toolbar items to display:
    *View > Toolbars > Customize
    *Firefox > Options > Toolbar Layout
    *Check that the "Bookmarks Toolbar items" is on the Bookmarks Toolbar
    *If the "Bookmarks Toolbar items" is not on the Bookmarks Toolbar then drag it back from the toolbar palette in the customize window to the Bookmarks Toolbar
    *If missing items are in the toolbar palette then drag them back from the Customize window on the toolbar
    *If you do not see an item on a toolbar and in the toolbar palette then click the "Restore Default Set" button to restore the default toolbar set up
    *https://support.mozilla.org/kb/How+to+customize+the+toolbar
    *https://support.mozilla.org/kb/Back+and+forward+or+other+toolbar+items+are+missing

  • Only able to view entered info. on PDF form when I preview it?

    I was almost finished completing a 127 page form and when I went to open it today I was unable to view all of the information I have entered.  The info. is no doubt there because I can view everything I've entered when I preview it but once I open the document completely I can't view anything, even if I click on the box.  Any help would be greatly appreciated!

    I don't think that's the problem because I just reloaded the original form and typed in a few entries and was able to view my info.  I just submitted another question as I think the problem may be that the file has a lock icon but I have no idea how I locked it.  Below is my entry.  Any help would be appreciated!
    PDF form has lock icon and I'm unable to view my information entered
    This question is Not Answered.(Mark as assumed answered)
    Nov 10, 2013 5:21 AM
           Tags (edit): none (add)  
    I've been working on a 127 page pdf form for a couple of weeks and have saved all of my information multiple times.  I recently opened the document to complete the form(I literally had 2 entries left) and I am unable to view any of the information I've entered.  The information is no doubt still there because the original form is 7mb, and my saved form is 7.26mb.  I am also able to see all of my information when I preview the document by opening the my documents window and clicking once to preview the form in the same window, however can not see any of my information when I attempt to edit it and open the form completely.  I am using a PC, windows 7.  I'm assuming I can't view my info. because I somehow locked it but I am not asked for a password when I open it.  I recently downloaded the original form again and typed in info. and there is no lock icon when I save it under a different name and I'm able to view the info. entered.  I have no idea how I locked the form or if this is the reason I can't view the info. when I open the documetn completely.  Any help would be greatly appreciated.  Thanks.

Maybe you are looking for

  • Is there a link between GL Budget and HR Budget?

    Dear All, Is there a link between GL Budget and HR Budget? is there concept of HR Budget in HR module or it is handle it in GL If there how I can link it by accounting wise or there is another way to link? Please advice? Thanks for helping

  • Date Comparision in Bex

    Hi All, I need to calculate Avg Age. Avg = (X+Y)/2. X= 0           [For (current date-basic start date) <0]    = current date-basic start date        [For (current date-basic start date) >0] Y= 0           [For (current date-basic finish date) <0]   

  • No trusted certificate found (91);Cannot connect to the LDAP server

    HI All, I am trying to connect to LDAP server with the following code. JSSESocketFactory fact = null; private LDAPConnection conn = null; String keystore = "C:\\j2sdk1.4.2_15\\jre\\lib\\security\\cacerts"; System.setProperty("javax.net.ssl.trustStore

  • Powerpoint 2011 fails to launch on mac pro

    Office 2011 Powerpoint continues to fail launch! I've followed every indication present here: http://support.microsoft.com/kb/2026202 no the Step 6: Use the "Repair Disk Permissions" option nothing helped ... help?

  • Working with Raw files from newer camera in CS or CS2

    I have a Canon 40d camera. I'm still using CS at home and CS2 at work. In order to work with these files in these earlier versions of PS, I have to first convert them to DNG files. Though not a complete drag, it is a bit time-consuming. Am I sort of