Posts

Showing posts from March, 2015

Starting with MySql [A Brief Tutorial]

Image
1:Download>                        Download From here : MySQL Download Link . 2:Install>            Install your downloaded MySQL Server.     1-For Linux User in Ubuntu ,$  sudo apt-get install mysql-server     2-For Windows just double click on you downloaded msi package, and follow the steps. 3:Accessing MySQL Shell>           Go to bin directory of installed MySQL server directory. and then follow the commands                              mysql -u root -p After entering the root MySQL password into the prompt (not to be confused with t...

NETWORK CONNECTION IN LINUX OPEN SUSE [WIRELESS]

Link: https://en.opensuse.org/SDB:WiFi Download all media codecs: http://opensuse-guide.org/codecs.php

Getting Error [javax.servlet.*; package does not exist.] [Solved]

There is two way to fix it.   1-With command line   // Assume that Tomcat is installed in  D:\apache-tomcat-8.0.xx   > D : // switch to D dive   > cd apache-tomcat-8.0.xx \webapps\hello\WEB-INF\classes //change directory   > javac -cp .; D:\apache-tomcat-8.0.xx \lib\servlet-api.jar ServletCode.java // Compile     2- Make Environment Variable for > CLASSPATH=D:\apache-tomcat-8.0.xx\lib\servlet-api.jar And > Copy the D:\apache-tomcat-8.0.xx \lib\servlet-api.jar To C :\Program Files \Java\Jre 1.x.x\lib\ext\

Installing Tomcat and Configuring as Server in NetBeans

Image
1- Download Apache from here:    http://tomcat.apache.org/download-70.cgi 2- Follow the step: After downloading the zip-file, I extracted it to c:\java (the location is of your own choosing though). Next I turn to NetBeans to configure Tomcat 7 as a new server. Open the Tools menu and select the option Servers: The list of currently configured servers appears. Underneath is the big Add Server button. Press that button. Select the type of Server to add and provide a name for it – just for reference within NetBeans. Press Next. Provide the location where this server instance is installed – the target directory for the extraction of Tomcat 7. Also provide credentials for a Tomcat Administrator account ( in my case I used admin/admin). Press Finish. The newly configured Server is presented: Press Close. Now the Tomcat 7 Server can be started (and stopped, deployed to etc.) from within NetBeans. Open the Services Window (from the Window m...