Results 1 to 3 of 3
  1. #1
    spooky is offline Member
    Join Date
    May 2010
    Posts
    1
    Rep Power
    0

    Default Send login credentials to applet in html

    Hello, Is it possible to send the login credentials in the html code as Param such as this.

    <applet archive="LiveApplet.zip" />
    <param name="url" value="http://xxx.xx.xx.x/" />
    <param name="cabbase" value="LiveApplet.cab" />
    <param name="show_logo" value="yes" />
    <param name="bg_color" value="#FFFFFF" />
    <param name="user_name" value="username" />
    <param name="password" value="mypassword" />
    </applet>

    The applet prompts the user for a username and password i need to by pass the prompt.

  2. #2
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    16,563
    Rep Power
    23

    Default

    Yes the data for the applet could be sent via <param
    The applet would have to be coded to check for the <param and use its value vs using a prompt to get the value.

    Not very secure.

  3. #3
    Webuser is offline Senior Member
    Join Date
    Dec 2008
    Posts
    526
    Rep Power
    0

    Default

    But params are not the way for textfield input

    you can simply use JavaScript to connect to your applet

    I recomment reading this Java and JS

    Report if that helped you
    If my answer helped you. Please click my "REP" button and add a comment
    Have a Good Java Coding :)

Similar Threads

  1. [SOLVED] After login, new applet open
    By neosnokia in forum New To Java
    Replies: 10
    Last Post: 06-02-2009, 10:25 PM
  2. Jlabel in Login Applet
    By nokomis in forum Java Applets
    Replies: 3
    Last Post: 06-05-2008, 10:29 PM
  3. Applet Login System Tutorial
    By Free-JavaTutorials in forum Java Applets
    Replies: 0
    Last Post: 03-15-2008, 02:51 AM
  4. how to send information from applet?
    By christina in forum Java Applets
    Replies: 1
    Last Post: 08-06-2007, 04:11 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
  •