Category Archives: Technical

How to close a window without prompt using java script?

How to close a window without prompt using java script? For servlet: out.println (“<script>”); out.println (“window.opener = top;”); out.println (“window.close()”); out.println (“</script>”); For html or jsp: <script> window.opener = top; window.close(); </script>

Tagged , , Leave a comment

How To Export and Import data from csv into Mysql

How To Export and Import of csv data out of and into MySQL This method works for the MySQL 5  and not sure about other versions. Exporting the MySQL data into a comma delimited (.csv) file SELECT * INTO OUTFILE ‘ /data.csv’ FIELDS TERMINATED BY ‘,’ OPTIONALLY ENCLOSED BY ‘”‘ LINES TERMINATED BY ‘\n’ FROM table1; This will dump your table into a file with each row from the database being on it’s own line, columns separated by commas, and … More ->

Tagged , , , , , , , , , Leave a comment

Ping not recognized as internal or external command

How to fix the error “Ping not recognized as internal or external command”? Solution : Right click on My computer Go to Properties Click on the advance tab. click on Environment Variables Scroll to Path but if there is none please just create a new one and write Path under variable name and paste this: %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem under variable value and click on ok. Otherwise Select Path and click on Edit and paste the same. It should fix the issue.

Tagged , Leave a comment

MS SQL Server 2000 authentication modes

With Microsoft SQL Database Server 2000 you can choose either of the two security (authentication) modes, namely: NT security mode (Windows NT Authentication only), Mixed mode (Windows NT Authentication and SQL Server Authentication). NT security mode (Windows NT Authentication only): It is related to windows domain. Access will be given to existing domain user account.Using those credentials, user can access the database.Separate account is not created as in other databases. Mixed mode (Windows NT Authentication and SQL Server Authentication) In … More ->

Tagged , , , , Leave a comment

How to open multiple tabs in firefox using a batch file

We can open multiple tabs in same window using the following batch file. Step 1: Create a batch file Step 2: Copy the following in the file and save it “C:\Program Files\Mozilla Firefox\firefox.exe” -url “www.google.com” “www.yahoo.com” Step 3: Run the file

Tagged , Leave a comment