to put OpenGL application in a html page?

Java can do that,but must i use java? I code in c++.

Well, if you use netscape you could make a netscape plugin. The plugins are written is c. Netscape has an api for the plugin. So, you could take one of the examples and put the opengl in it…maybe draw to an offscreen buffer then blit.
http://home.netscape.com/comprod/development_partners/plugin_api/

Or for windows an active x control. (?) I’ve never made one before but I think thats another possibility. Might be more compatable with explorer.