In JSP/Servlet
response.setHeader("Content-Disposition", "attachment;filename=myfile.txt");
response.setContentType("application/download");
Blog on things around me - Applications, Java Platform, Free & Open Source Software, Gadgets, Utilities...
Thursday, June 30, 2005
How to force browsers to pop open a file save dialog?
Why Employees Leave Organisations?
Early this year, Arun, an old friend who is a senior software designer, Got an offer from a prestigious international firm to work in its India operations developing specialized software. He was thrilled by the offer. He had heard a lot about the CEO of this company, charismatic man often quoted in the business press for his visionary attitude. The salary was great. The company had all the right systems in place employee-friendly human resources (HR) policies, a spanking new office, and the very best technology, even a canteen that served superb food. Twice Arun was sent abroad for training. "My learning curve is the sharpest it's ever been," he said soon after he joined. "It's a real high working with such cutting edge technology." Last week, less than eight months after he joined, Arun walked out of the job.
He has no other offer in hand but he said he couldn't take it anymore. Nor,apparently, could several other people in his department who have also quit recently. The CEO is distressed about the high employee turnover. He's distressed about the money he's spent in training them. He's distressed because he can't figure out what happened.
Why did this talented employee leave despite a top salary? Arun quit for the same reason that drives many good people away. The answer lies in one of the largest studies undertaken by the Gallup Organization. The study surveyed over a million employees and 80,000 managers and was published in a book called First Break All The Rules.
It came up with this surprising finding: If you're losing good people, Look to their immediate supervisor. More than any other single reason, he is the reason people stay and thrive in an organization. And he's the reason why they quit, taking their knowledge, experience and contacts with them, Often,straight to the competition.
"People leave managers not companies," write the authors Marcus Buckingham and Curt Coffman. "So much money has been thrown at the challenge of Keeping good people - in the form of better pay, better perks and better training - when, in the end, turnover is mostly manager issue." If you have a turnover problem, look first to your managers. Are they driving people away?
Beyond a point, an employee's primary need has less to do with money, And more to do with how he's treated and how valued he feels. Much of this depends directly on the immediate manager. And yet, bad bosses seem to happen to good people everywhere. A Fortune magazine survey some years ago found that nearly 75 per cent of employees have suffered at the hands of difficult superiors. You can leave one job to find - you guessed it, another wolf in a pin-stripe suit in the next one.
Of all the workplace stressors, a bad boss is possibly the worst, directly impacting the emotional health and productivity of employees.
HR experts say that of all the abuses, employees find public humiliation the most intolerable. The first time, an employee may not leave, but a thought has been planted. The second time, that thought gets strengthened. The third time, he starts looking for another job. When people cannot retort openly in anger, they do so by passive aggression. By digging their heels in and slowing down. By doing only what they are told to do and no more. By omitting to give the boss crucial information.
Dev says: "If you work for a jerk, you basically want to get him into trouble. You don't have your heart and soul in the job." Different managers can stress out employees in different ways - by being too controlling, too suspicious, too pushy, too critical, but they forget that workers are not fixed assets, they are free agents. When this goes on too long, an employee will quit - often over seemingly trivial issue.
It isn't the 100th blow that knocks a good man down. It's the 99 that Went before. And while it's true that people leave jobs for all kinds of reasons- for better opportunities or for circumstantial reasons, many who leave would have stayed - had it not been for one man constantly telling them, as Arun's boss did: "You are dispensable. I can find dozens like you."
While it seems like there are plenty of other fish especially in today's waters, consider for a moment the cost of losing a talented employee.
There's the cost of finding a replacement. The cost of training the replacement. The cost of not having someone to do the job in the meantime.
The loss of clients and contacts the person had with the industry. The Loss of morale in co-workers. The loss of trade secrets this person may now share with others.
Plus, of course, the loss of the company's reputation. Every person who leaves a corporation then becomes its ambassador, for better or for worse.
We all know of large IT companies that people would love to join and Large television companies few want to go near. In both cases, former employees have left to tell their tales. "Any company trying to compete must figure out a way to engage the mind of every employee," Jack Welch of GE once said.
Much of a company's value lies "between the ears of its employees". If it's bleeding talent, it's bleeding value. Unfortunately, many senior executives busy traveling the world, signing New deals and developing a vision for the company, have little idea of what May be going on at home. That deep within an organization that otherwise does all the right things, one man could be driving its best people away.
Wednesday, June 29, 2005
Tuesday, June 28, 2005
Do u own a Nokia?
Imagine your cell battery is very low, u r expecting an important call and u don't have a charger. Nokia instrument comes with a reserve battery. To activate, key is "*3370#".
Ur cell will restart with this reserve and ur instrument will show a 50% increase in battery. This reserve will get charged when u charge ur cell next time.
- *3370# Activate Enhanced Full Rate Codec (EFR)-Your phone uses the best sound quality but talk time is reduced by approx 5%
- #3370# Deactivate Enhanced Full Rate Codec (EFR)
- *#4720# Activate Half Rate Codec - Your phone uses a lower quality sound but you should gain approx 30% more Talk Time
- *#4720# Deactivate Half Rate Codec
- *#0000# Displays your phones software version,
2nd Line: Software Release Date,
3rd Line: Compression Type
- *#9999# Phones software version if *#0000# does not work
- *#06# For checking the International Mobile Equipment Identity (IMEI Number)
- #pw+1234567890+1# Provider Lock Status. (use the "*" button to obtain the "p,w" and "+" symbols)
- #pw+1234567890+2# Network Lock Status. (use the "*" button to obtain the "p,w" and "+" symbols)
1. Serial Number,
2. Date Made
3. Purchase Date,
4. Date of last repair (0000 for no repairs),
5. Transfer User Data.
To exit this mode you need to switch your phone off then on again \
Tuesday, June 21, 2005
Friday, June 17, 2005
Thursday, June 16, 2005
Aspect Vs. Object-Oriented Programming
http://www.devx.com/Java/Article/28422/1954?pf=true
Thursday, June 9, 2005
Wednesday, June 8, 2005
Google AdSense is active
Tuesday, June 7, 2005
Yahoo! 360
Yahoo has released a beta version of Yahoo! 360. BTW, if you haven't had a chance to check out Yahoo! 360, I still have about 50 invites to give out, so leave your name and email id in the comments and I will send one your way.
About Yahoo! 360 – It is more of a social networking tool, allowing you to connect with other people who have 360 accounts, receiving messages from them, seeing their lists of favorites and stuff like that. There is a mailbox, but, currently, it pulls messages from your 360 friends only.
In addition to providing a blog, Yahoo!360 also allows you to share photos and music, as well as local reviews and lists of favorites :)
Total Pageviews
Diving into the Controversial World of IPL with Lalit Modi
Lalit Modi, the mastermind behind the Indian Premier League (IPL), recently had a candid interview with Raj Shamani. The interview delved d...
-
Bugzilla is the Bugs/Issues Tracking Tool from The Mozilla Organization. Version 2.18 is the latest stable release. There are couple of res...
-
Two MIT math graduates bump into each other at Fairway on the upper west side. They hadn't seen each other in over 20 years. The first g...