JSP

Is is possible to call opengl&cpp codes from JSP?

Never heard of JNI ?

If you just want OpenGL from Java, try JOGL. Not sure it will work well on the server side though.

What do you want to do really ?

I want to use opengl inside an internet page.
Maybe inside an applet or JSP etc.

For JAVA applets then you will be using JOGL
https://jogl-demos.dev.java.net/applettest.html

Otherwise I am not sure about JSP since as ZbuffeR said JSP is a server side technology that dynamically generate HTML, XML or other types of documents in response to a Web client request. I doubt it would be capable of OpenGL.