Hi Shaji,
If you want to assign the parameters to the query directly from applet/servlet tag, you can use
<Param name="Param.1" value={SomeValue}>
For js you can give, document.appletName.getQueryObject().serParam(index,value);
Hope this helps.
Best Regards,
Swaroop