[Web] Call different Servlets within a single form


नमस्ते While working on Net-Centric Project I came across an obstacle of creating multiple buttons and calling different servlets within the same form. This was in the login page, where we can either login or register by making use of the same form fields 'username' and 'password'. To do so you can create a button … Continue reading [Web] Call different Servlets within a single form

[OpenGL] Running OpenGL program on Mac OS X


नमस्ते Today I am going to show how you can run OpenGL programs on your Mac OS X through command line (Terminal.App). 1. Use the header file "GLUT/glut.h" and not "GL/glut.h" 2. main function should return an integer type value. E.g. 3. Run the program by using the following command: We are passing -Wno-deprecated flag … Continue reading [OpenGL] Running OpenGL program on Mac OS X

[Android] Fix Rendering Issues in Android Studio


नमस्ते While creating a new android project using Android Studio I came across a Rendering error when I try to open the 'Design tab' on any layout xml file. Solution: Open up the styles.xml file. It would be under res/values/ folder in your app directory. Change the following line to Here, we have added Base … Continue reading [Android] Fix Rendering Issues in Android Studio

[Fedora] Add self signed certificate to list of trusted certificates


नमस्ते Today I am going to show you how to add a self signed certificate to the list of trusted certificates in fedora. I was trying to install some packages on fedora and was getting SSL errors while I was connected to my university WiFi (which makes use of self signed certificate). In order to … Continue reading [Fedora] Add self signed certificate to list of trusted certificates