Hi anoop,
  Try with the follpwing.
public String getParameter(String name)
Returns the value of the named parameter in the HTML tag. For example, if this applet is specified as
 <applet code="Clock" width=50 height=50>
 <param name=Color value="blue">
 </applet>
 

then a call to getParameter("Color") returns the value "blue".

Rgds.,

C.Raja

----- Original Message -----
From: anoop
Sent: Friday, December 21, 2001 2:35 PM
Subject: Access of URL in Applet

hi all,
 
i have a servlet that calls an Applet.
The URL that is used when the servlet calls the Applet is something like this..
 
now the tquery value is necessary for my applet to function properly, can
anybody tell me how to get this value (abc)..is there any method to do that.
 
I have used getDocumentBase and getCodeBase..but both seem to return
and not even the url part without the query, and the query part is also very
important for me.
any solutions to this..
 
 
thanx,
anoop

Reply via email to