Then in that .cgi file ,i am calling one java file(/usr/bin/java cgisvr) from where i have to launch one applet with some parameters to be displayed.
As I said, you can't launch an applet from a server-side CGI program. Applets are launched from within a web page displayed in a browser.
You could read whatever parameters the CGI outputs, and then pass those to another
JSP page, which in turn uses them to write an applet tag. This other JSP page could either replace the current page, or be opened in a new browser window. Does that sound OK?
Please change you display name as I asked you to above. This is not optional, and accounts with an invalid display name are generally closed.