Results 1 to 2 of 2
  1. #1
    Arne Bjarne is offline Member
    Join Date
    Mar 2009
    Location
    norway
    Posts
    1
    Rep Power
    0

    Default Entering a space as argument

    Hi

    I'm trying to script a telnet session in Java. As input I would like the IP-address, user and password. This is trivial. However for testing purposes I'm trying to connect to a telnet server having a blank password, i.e. in a shell I would just press enter. How do I go about representing this in the arguments tab in the run dialog of Eclipse? It doesn't seem to recognize a space as an argument.

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,193
    Rep Power
    19

    Default

    Did you surround the space with quotes? That works in NetBeans.

    db

Similar Threads

  1. Entering string in a loop with method
    By Konex in forum New To Java
    Replies: 3
    Last Post: 03-01-2009, 07:33 AM
  2. Command Line Argument
    By right2001 in forum New To Java
    Replies: 6
    Last Post: 02-17-2009, 02:08 PM
  3. Entering a while loop with a not equal to string
    By bri1547 in forum New To Java
    Replies: 9
    Last Post: 07-09-2008, 07:10 AM
  4. Invalid Argument error in IE7
    By Kaviurs in forum JavaServer Pages (JSP) and JSTL
    Replies: 2
    Last Post: 07-01-2008, 09:12 AM
  5. How to stop entering Data
    By adeeb in forum AWT / Swing
    Replies: 1
    Last Post: 06-07-2008, 02:58 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •