Thursday, November 8, 2012

How to send any size of files through gmail


   How to send any size of files through gmail?

 

 Steps to follow :

1. Upload the file to Google Drive.
2. After Uploaded, Right click on the uploaded file and goto share and click "Email as attachment" option.
3. one new window will come, there you can specify the recipient email id.


Its very simple and very useful one to all.

 

 



Wednesday, November 7, 2012

SVN Repository Plugin for eclipse


SVN Repository Plugin for eclipse
Hi guys,
yesterday i tried with project locker(online SVN repository). i created one free account and created one project also. i tried to synchronize with my eclipse and online svn. for that i need SVN repository plugin in eclipse. so i tried to install in my eclipse. it tooks too much time and its not installed also. so i downloaded direct plugin from one site and pasted those files in corresponding folders(plugins, features) in eclipse folder. click here to download svn plugin for eclipse http://www.mediafire.com/?ndg89i3csj9xund

java parse error web.xml in tomcat



Java parse error web.xml in tomcat


Hi Guys,

Here i want to share some experience about basic error which we will get frequently.....
I have created one web application using servlet and jsp. And i exported that project into war file and i deployed in tomcat 6.0. the application is not deploying and when i try to run from browser its showing "requested resource not found".... i dont know what thats the problem. i cant figure it out.... after trial and error method, i just came to know i created that project in Servlet3.0 version. so Tomcat 6.0 is not supporting that... thats why i got that error. after i changed into servlet 2.3 version its worked fine.

Saturday, November 3, 2012

How to convert mail to document and store in google drive


How to convert mail to document and store in google drive

Goto Settings --> Labs --> Enable the feature as shown in the below image.

This features will enable one button in each and every mail. So from now you can convert your mail to document and share to anyone. its a great feature.


How to get preview pane in Gmail


How to get preview pane in Gmail :

Goto Setting --> Labs --> Enable feature as shown in the below image.

this feature is very simple and very useful and handy.


Healer Basker Anatomy Therapy (Curing Disease only through speech)






    Healer Basker Anatomy Therapy :

                      New Dimension of Explanation about our body working and Diseases in the world.very simple logic to cure all the diseases in the world without spending 1 rupee money and no need to restrict your food items and its very simple to follow and do. Just see the below video this video now available in tamil only, if you want to english please click here to go that site.








Oracle Usefull Commands


ORACLE COMMANDS :

Backup Directory Creation
---------------------------------
Login  as sysdba

CREATE OR REPLACE DIRECTORY BACKUP_DIR AS 'D:\DB_Backup';
GRANT READ, WRITE ON DIRECTORY BACKUP_DIR TO database_name;


CREATE OR REPLACE DIRECTORY BACKUP_DIR AS 'D:/DB_Backup';



Export
--------
expdp username/password DIRECTORY=BACKUP_DIR DUMPFILE=backupfilename.dmp


Import
--------
impdp mi3ubs/mi3ubs directory=BACKUP_DIR dumpfile=mi3ubs.dmp logfile=mi3ubs.log


To make the username and password case insensitive : 
------------------------------------------------------------------------
ALTER SYSTEM SET SEC_CASE_SENSITIVE_LOGON = FALSE;


 To Know the version of oracle 
---------------------------------------
select * from v$version where banner like 'Oracle%'; 

Decode function
----------------------
select decode(sex, 'M','Male','F','Female','Unknown') from employees;


HOW TO SELECT ALL THE USERS AND STATUS IN ALL DATABASE:
1. select username,account_status from dba_users;

HOW TO CREATE NEW USER:
1. CREATE USER username IDENTIFIED BY apassword;
2. GRANT CONNECT TO username;

HOW TO CHANGE PASSWORD FOR LOGGEDIN USER :
1. password

HOW TO CHANGE PASSWORD FOR DIFFERENT USER:
1. ALTER USER username IDENTIFIED BY password;
2. ALTER USER username IDENTIFIED BY password ACCOUNT UNLOCK;


HOW TO CREATE NEW SID :
1. set ORACLE_SID=ORA10

HOW TO CREATE NEW SERVICE FOR AN SID :
1. oradim -new -sid %ORACLE_SID% -intpwd MYSECRETPASSWORD -startmode M

HOW TO LOGIN INTO ORACLE DATABASE WITHOUT USERNAME AND PASSWORD:
1. sqlplus /nolog


HOW TO GET ROLE FOR AN CURRENT USER :
1. select * from user_role_privs;

HOW TO CHANGE PRIVILEGES FOR AN TABLE TO USER :
1. GRANT ALL ON salary TO jfee;



When opening SqlDeveloper its asking for java.exe fullpath. If you are give java full path also sometime it will not work. follow below steps to resolve this issue.

1. Create JDK_HOME environmental variable path "ORACLE_HOME/jdk/bin"
2. create shortcut for sqldeveloper.exe.
3. right click on sqldeveloper shortcut and goto shortcut tab
4 click Advanced button and check "Run as Adiministrator" and click ok
5. double click sqldeveloper shortcut and give jdk/bin path as setted in environmental variable path.
6. thats it................... 



KEY INFORMATION'S ABOUT ORACLE :
1. Each SID's creation one password file will create in "ORACLE_HOME/database/PWDsidname.ORA" and new service will create.



Tuesday, February 7, 2012

Jquery Tutorial 2


In this post we are going to see how to eliminate particular tag lies under parent tag.

for example  if you are having below exmaple :

<ul>
    <li>
    <li>
    <li>
    < id='eliminate li>
<ul>




$("#lis").not("#eliminate").css("background-color","blue");

If you run above code, background color will change all li tags other than eliminate id li tag... so this is very useful for creating tabs in any application mouse over offect of menus....





Saturday, February 4, 2012

hibernate operation ERROR schema does not exist

i did one example in spring,hibernate,postgresql. i created one database and 
schema name is "test". this is the first time i am working with different schema name.
i created hbm.xml and java class file for that database tables. i run the application
everything works fine but when i try to save data to a table is shows an error 
"schema does not exist".
 
 
still now i didnt see these type error and i search more about this.i found one
solution for this. you have to check following  steps are done in your application or
not.
 
 
 
1. check hbm.xml file for correspoding table involved in save transaction whether
the schema name is specified in their or not.
 
eg. 
    
    
 
 
2. check whether below two lines added in your hibernate.cfg.xml file
 
test
create    
 
 
maximum this will work surely.... if anyone found any other solution... post ur comments....

Thursday, January 5, 2012

JQuery Tutorial 1

In this section we are going to see some selector in jquery...

selector means, if you want to access group of elements together (like list of checkbox,radio buttons,etc) you can use selector in jquey. with very minimum code you can access all the elements using ids , names or without anything.

For example :
i am having more than 10 or 100 checkboxs in my form.i have to access all the checkbox value which are checked with minimum code and without any id or name...

code :

$('input[type=checkbox]').each(function () {               
        if(this.checked){
            alert(this.val());
        }
});

like this if you having two group of checboxs. for example 10 checkbox with one name and another 10 checkbox with another name. so if you want to access checkbox checked in the first 10 checkbox value. in the above example you can access all the checkbox in form. but u cant access particular checkbox with same name. so for that you have to use below code...

code :
$('input:checkbox[name=checkbox_name]').each(function () {               
        if(this.checked){
           alert(this.val());                
        }
    });

we will discuss this in next section with more intresting things... thanks for reading....