Monday, October 24, 2011

How to deploy Web project using apache tomcat


1) Install tomcat, which requires the pre-installation of jdk.
2) Set variables,
                JAVA_HOME=c:\programfiles\java\jdk(path of installation of jdk)

                PATH     ="c:\programfiles\java\jdk\bin";%PATH%

3)During installation of tomcat,give the jre path as "c:\programfiles\java\jre"

4)During installation of tomcat,the port number would be '8080'.


We can change it later by going to 'server.xml' file in tomcat folder and change the port number at the code as highlighted in the below image and replace the file.
5) Now paste the WebRoot  folder of the web project into the webapps folder  of tomcat\webapps.
Note: The WebRoot is the folder with .jsp,servlets,meta-inf and other files.
a)copy webroot folder

b))pasting in

8)now start the tomcat server by going to tomcat.exe in tomcat\bin folder.
 http://localhost:port_num_in_server.xml/foldername_copied _into_webapps. It will be executed.

Sunday, March 6, 2011

Sometimes a boon and someTimes a curse,"LOVE"

"I wrote your name in the sky,
but the wind blew it away.
I wrote your name in the sand,
but the waves washed it away.
I wrote your name in my heart,
and forever it will stay."..

Everything around us even the bits of air is filled with the breeze of LOVE.It's one and only one thing that goes in minds of people at anytime.In our entire life we aspire for love and become greedy for more of it.We're ready to do anything for it,even if it drive to wildest situations of our life.LOve id the one feeling which for true cannot be explained in words but can be seen by the actions done.If anyone asks a question "What's the best feeling we can ever feel???"
and for sure we can answer without reluctance....."The feel of 'feeling love' is the best one".One can categorise it into 3 parts......(i think so).. we even get love love from friends,pets and many.

1.From birth to 16/17 years.


2.From 16 to marriage<--->marriage to till children are born.


3.From 32 to till the end of our life.

In the beginning of our journey in his world we experience love which cannot be priced,cannot be ccompared to anyother thing.Its supreme and priceless.Its by our parents. Once if we mull over it then i hope everyone will be filled with an intense feeling of happiness,with a smile on your face and tears in your eyes,tears filled with love(often termed as 'ananda bhasbalu' in telugu).We get startled that how one can love us soo much as if we are their life and bring up through their entire life giving us "chance to ride car even they have only moped"........."wah!!! kya filmy dialouge bathaya tha tune..." u can hink so but even though the above might be a filmy dialouge its really the real.Its the one which cannot be defined in one paragraph or one post or one book or so.They undergo what not to make us happy??


The other to discuus in this span is the love by our "siblings",their affection drags us to heaven.we play,fight,hurt each other but we are one all the time.without them our chilood would probably be dull and jaded.We should thank god for giving us someone who will always be with us to play,guide and share our chocolates and toys.... :-@ Ok...whatever it may be we r really thankful for all that.

                             The second is started with teenage love and ends with marriage.In this age we want something more personal to us otherthan our family...its like we want a burger even if our mother cooks at home.We want someone who is dedicated to only us.We want to show everyone such 'one'.Usually teenagers with feeling that having a girlfriend/boy friend makes you the the "talk of the town" get attracted to opposite gender and risk their future.Often said TEENAGE attractions are possible here.None will know whether they really lead life with other or not but they still want to have other.Moreover some films adulterate youngsters and mislead them.E age lo prathi okkadu
                 Na Premanu Kopam Gano, Na Premanu Dwesham Gano

                 Na Premanu Sapam Gano, Cheliya Feel My Love
                 Na Premanu Bharam Gano, Na Premanu Duram Gano
                 Na Premanu Neram Gano, Sakhiya Feel My Love
                 Na Premanu Mounam Gano, Na Premanu Heenam Gano
                 Na Premanu Sunyam Gano, Kado Ledo Edo antu
                Feel My Love....Feel My Love.....Feel My Love....... antu padevade.

Teliyani number nundi phone vaste  excitement;Teliyani ammayi/abbayi social n/w site lo request pampisthe   prapamchanni gelicham annanta feeling.If it breaks then become "Liquor das",like sad songs and hate women/men.Asalu appudu ala anukovadam deniki ippudu feel avadam deniki???I hav seen some live examples of this.
Such would become a curse to your life.Think b4 u act..
          The best suitable age to love,keep it up and go with it i hope is 23-24 by the tym one get setled or have the capability to decide over.Some waits to settle in life but loose the feel of love.As every one says,this is the crucial period where one should be careful.A wrong step leads u to have a leap into pit of endless depth..So have too be careful.But if we are aware are of what we are doing and have perfect future plans to support us then we would be the most successful.Don't get carried away by movies or bad company.
                     If we are once married,we would have great love to our life partner which makes us to do anything for her/him.We can't live even a second not seeing ,not talking to or not even thinking about her/him.We feel that we are only for them and doesn't care how and where the world goes..Life's dedicated to our life partners.However we feel all this silly in course of time...thats a matter of open,live secret.


                          The third is actually the one in which u give more and reception is less.Here we'l play the roles as son,husband and parent..We feel the satisfaction in giving love to our children.Love is the nly thing in the world which please everyone.It boosts us ,one with immense feel of love can achieve high in life.In fact its good to love but its great to be "LOVED".be lovable but not leftable.I don't have the odea to take additional sheets so I only say "Enjoy this feeling for ever until u r there for never..."  

Wednesday, February 9, 2011

Car Pooling

 Suresh An employee who can't afford a car or moped  rushing in a hurry to catch the bus with the intention of not being late to office or not to catch his boss' tantrum.One of his colleague ravi, who has his own car goes to office all alone,better to say boring journey.Ravi go through "cost of the travel is all his whatever the prices of fuel be".At present there has been a hike of prices of fuel ...petrol raised by 15rs in span of 6 months and diesel by 6-8rs.But whatever it be ravi has to pay his travel.And moreover there are many ravis in this world bearing all the cost and leading their travel jadedly.Besides they are emitting toxic content into environment on a whole which accounts and creating TRAFFIC PROBLEMS.





                              Even there are many Suresh who choose autos or buses to reach destination.these Share autos are Good that they carry mass instead of one or two and be helpful in less use of vehicles.But they don't count when it comes to your SAFETY.We can see a number of accidents in news in which a major proportion include autos.They transport a number which violates the laws and not legitimate.and more they dispatch near to destination but not truely ur destination.Affording a private auto has become a dream which can be dreamt only in colleges while lecturers try to explain or during office times.zzzzzzzzzzzzzzzzzz!!!!!!!!!!!!!!!!!!!!!!!!!
CLING**ok back,....
                            Buses.Oh!God we cant imagine a single bus not being crowded in cities.Rather we can say thar there is no single bus without a stampede.If you wanna go by bus then hope for a seat if its origin depot or check that they are the earliest and late moments of the day.If not, then u have to go by the most familiar, ritual,and the loyal way....FOOT BOARDING.The second to meet more mishaps is buses.They drop u at more long distances probably and  have to go by walk,auto or lifts.D process becomes irritating phew..there is nothing other we could do...
                            Hmmmmm.............If you are going to think like that, you stepped into dig o Dung.There is a   pragmatic solution to these.Its CAR POOLING.Car pooling is the way of going a group o people working for the same organisation in one vehicle not violating rules,saving money,time,energy,life and boss tantrum.Besides many advantages are present by ollowing this.One can save his money.Get to your colleagues in ur route to office and explain them about this so that they will share u r travel expenses and get benefited.No more u'l have moody travel.U can share gossips and have fun all the way to office and back home.I any one of ur pooling mates have vehicle then u can have turns to use so that ur car efficiency increases and gets less dusty.
        By this we can also prevent pollution and obtain cleaner environment.Traffic JAmS are not at all a problem further as the vehicle number decrease if we really and really adopt this one.We can have clear traffics with a lot of additional time as bonus.So its best idea to be implemented.
                         We see this one being adopted by people now a days with or without the knowledge of it.A few o them are COLLEGE students coming in vehicle are escorted by friends.Many top MNC's, are fueling this by creating means or this.T.C.S supports Car pooling and INFOSYS is supporting by hiring special and exclusive buses and also these MNC's have cabs for those working night shi'f'ts,all these monetising them as good coordination is being incorporated  and their mental abilities developing.
                             what i want to say atlast is do CAR POOLING and save ourselves from pollution, hectic traffic JaMs.Save money and make a bright and happy travel..

Thursday, January 27, 2011

Time ADjuster

today lets go something related to entertainment.Think that u are watching an english or any movie with subtitles ..commonly u'l find problems with these subtitles may be faster than the original video or may be delayed.Now here I am goin to tell how to solve this problem without need to searching for exact file.What we need to do is download the software "TIME ADJUSTER" .follow the below steps...
1.after downloading open the software and the subtitles file.
2.now choose 'synchronise' option from the file option in menu bar.
3.choose "hh:mm:ss" in the box that will appear by selecting synchronise option.


4.Enter the exact start and end time of the video.
5.click ok and your file will be adjusted completely.
6. close the old one on left side.
7.save the file  and now you can enjoy your video.


to watch the video tutorial please click the link...http://www.youtube.com/watch?v=nMUJxk7-6lY 


Currently i hope VLC is the most popular media player being used.So here are some shortcuts that come in hand while using this player.

to enable/disable subtitles track-----v
to mute                                    -----m
to increase volume                   -----ctrl+up arrow
to decrease volume                  -----ctrl+down arrow
to see playlist                           -----ctrl+p
to quit                                      -----ctrl+q
for full screen                           -----f
change screen size                   -----a
zoom                                       -----z
to play next track/videp            -----n

Sunday, January 23, 2011

Go green becoming "go AWAY green"

"You and I,in this beautiful world.....GREEN grass blue skies....in this beautiful world....".This is the song of one of the famous mobile service provider,as u all know.But do u realise that this song is only a song but not 'reality'? Yes,its true.As every one are rushing towards DEVELOPMENT which means "urbanization" now a days,the world is getting deteriorated .Our Environment has no more new greenery.Everyone is cutting down the trees for their own needs but not realising the consequences of the act.
                              In the process of construction of new projects trees are being sacked off as they are in the midst of the project irritatingly.Mercilessly being cut daily by the educated,un-educated and by calamities.With huge increase in the population growth there is steepest decline in the no.of trees.
                    no..of tress--t
                    pollution-p then we can say that,
                                                
                                                 [p]~1/t and if t =0,then [p]=infinite


For me what actually made to write on this is cutting of trees in our college"CBIT".Trees, in large number are cut down yesterday in morning and the reason behind that when asked was that due lack of "sufficient GROUND WATER".I dont think its good to a college as such for doing such an act."UPROOTING" would be the better solution instead destroying the trees which have grown over years.Uproot an d plant somewhere else.
                 Even govt of AP is over the METRO rail project and it has this Idea of uprooting and to plant in some other places without destroying them.However the best remedy for our environment to be safe is"PLANT MORE AND MORE SAPLINGS.let them grow.Don't encourage cutting of trees".

Sunday, January 9, 2011

IpL Auctionsssss.....

The current hot topic in the media,papers is neither about the STATE division issue nor the huge scams nor about inflation,but it is "WHICH PLAYER IS  OWNED BY OUR FAVORITE FRANCHISE",and for hw much is he owned?evry1 with me not an exception has got chairs positioned infront of the T.V's  to watch the auction.
the SHARKS in the auction are :
1.Gauti                    ---   Rs11.04Cr(kkr)
2.Uthappa               ---   Rs9.66Cr(pune)
3.Rohit Sharma        ---  Rs9.2Cr(mi)
4.UV                       ---  Rs8.28Cr(pune)
5.Pathan brothers.....
        a)Irfan----Rs8.74Cr(dd)
        b)Yusuf---Rs9.66Cr(kkr)
      and with some bewildering bids for players lyk jadeja,K.Peterson,bravo,collingwood,G.smith and Dravid the 1st auction for the ipl4has come to an end.
                              But sumtyms I feel that the bigshots,owning the franchises for a huge amount to provide entertainment for us and in return are fed with the surplus collections from ourselves. 
 Once if we think over this,is there really a necessity of such entertainment spending lot while on other hand struggling wid inflation,hike in prices and life being miserable.Proper usage of that money can be used to bring down the prices.And if we think over this,dat "Wer the tax payed by IPL to Govt.. is going to?" we are finally being directed to corruption which has no pragmatic solution till now.not evry1 are corrupted but most are.....
                          However i'm not going to highlight corruption and blame others now but wat I can say for ths moment is....."EnJOy iPL AND ur LIFE".KUDOS to franchises and also to  BCCI,ICC for paving the way to IPL that has been entertaining us since 3LONG YEARS./*Waiting for the "WORLD CUP" */ :-D

pics source:
rainbowskill.com
eenadupaper..