Results 1 to 2 of 2
  1. #1
    Godsent is offline Member
    Join Date
    Apr 2009
    Posts
    6
    Rep Power
    0

    Default Applet with (label client side)?

    I'm wondering is this possible:

    For example: where is label in my applet called "label1".
    And to add applet into website we are using something like this:

    Java Code:
    <applet code="some applet" width="200" height="50">
    </applet>
    Is where any way to display my label message with text given from client. For example:

    Java Code:
    <applet code="some applet" label1="??? text ???" width="200" height="50">
    </applet>
    If where is any way of doing this please explain to me a little or give some link that might help. Thanks

  2. #2
    RamyaSivakanth's Avatar
    RamyaSivakanth is offline Senior Member
    Join Date
    Apr 2009
    Location
    Chennai
    Posts
    804
    Rep Power
    6

    Default

    Just small suggestion.Is it ok to use like this for ur requirement?
    <applet

    code="some applet"

    width=200

    height=50
    >

    <PARAM NAME=label1 VALUE="some user entered text">
    </applet>

    Then in code u retreive like this

    String labelText = getParameter(label1);

Similar Threads

  1. How to open a file located in server from client side
    By Malathi in forum Web Frameworks
    Replies: 4
    Last Post: 04-20-2009, 09:10 PM
  2. Replies: 1
    Last Post: 03-27-2009, 10:18 AM
  3. Replies: 2
    Last Post: 10-05-2008, 06:13 PM
  4. jsp program for client side printer to print these 2 strings on 3/3
    By for453 in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 08-07-2007, 04:42 PM
  5. Replies: 6
    Last Post: 07-18-2007, 03:15 PM

Posting Permissions

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