display the name

hello everybody,i am undergoing a project on CHAT SERVER project. There the user authentication is being done by using a database but i am unable to display the USER NAME in the CHAT APPLET.can somebody help me out?
[257 byte] By [goub] at [2007-9-26 11:23:14]
# 1

Hi,

You should use the <PARAM> tags nested within the <APPLET> tags on your HTML page returned to pass the parameters (i'm assuming that you're using a JSP/Servlet to return HTML to the client with the APPLET embedded on the page). To use the PARAM tags you just specify a parameter NAME and VALUE.

From your applet you can get access to the parameter values using the java.applet.Applet.getParameter(String) method to retrieve the string VALUE's by NAME.

Hope this will help you.

Anil.

Developer Technical Support

Sun Microsystems Inc,

http://www.sun.com/developers/support

ramanil_indts at 2007-7-2 0:32:08 > top of Java-index,Java HotSpot Virtual Machine,Specifications...