Hello anoop! Not an expert, but maybe can help.
a> i have a servlet that calls an Applet. You terminology is a bit confusing. I take it that you generate a html page in a servlet and this page contains <applet> tag in it. a> The URL that is used when the servlet calls the Applet is something like a> this.. a> http://localhost:8080/demo.html?tquery=abc a> now the tquery value is necessary for my applet to function properly, can a> anybody tell me how to get this value (abc)..is there any method to do that. a> I have used getDocumentBase and getCodeBase..but both seem to return a> only http://localhost:8080/ They behave according to the docs, don't they ;-) ? a> and not even the url part without the query, and the query part is very a> important for me. a> any solutions to this.. I beleive that you should generate <param> tags inside the <applet> tag and pass any information you need via this params, like this: <applet code="xxx" codebase="yyy" ..> <param name="tquery" value="abc"> </applet> Best regards, Anton Tagunov [EMAIL PROTECTED] ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
