Thursday, June 30, 2005

How to force browsers to pop open a file save dialog?

Use the code below to force browsers to pop open a file save dialog when they access your page.

In JSP/Servlet

response.setHeader("Content-Disposition", "attachment;filename=myfile.txt");
response.setContentType("application/download");

Why Employees Leave Organisations?

Every company normally faces one common problem of high employee turnout ratio. People are leaving the company for better pay, better profile or simply for just one reason' pak gaya' ('have enough'). This article might just throw some light on the matter...

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

Why J2EE Projects Fail

An interesting article on Why J2EE projects Fail 
 

Tuesday, June 28, 2005

Do u own a Nokia?

Some info in case u have a Nokia...(This information is collected thro' various sources and may vary from handset model to model. This is not an official communication from Nokia. Use at your own risk).
  
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, 
    1st Line: 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) 
  • #pw+1234567890+3# Country Lock Status. (use the "*" button to obtain the "p,w" and "+" symbols) 
  • #pw+1234567890+4# SIM Card Lock Status.(use the "*" button to obtain the "p,w" and "+" symbols) 
  • *#147# (vodafone) this lets you know who called you last *#1471# Last call (Only vodofone) 
  • *#21# Allows you to check the number that "All Calls" are diverted To
  • *#2640# Displays security code in use. 
  • *#30# Lets you see the private number 
  • *#43# Allows you to check the "Call Waiting" status of your phone. 
  • *#61# Allows you to check the number that "On No Reply" calls are diverted to 
  • *#62# Allows you to check the number that "Divert If Unreachable (no service)" calls are diverted to 
  • *#67# Allows you to check the number that "On Busy Calls" are diverted to 
  • *#67705646# Removes operator logo on 3310 & 3330 
  • *#73# Reset phone timers and game scores 
  • *#746025625# Displays the SIM Clock status, if your phone supports this power saving feature "SIM Clock Stop Allowed", it means you will get the best standby time possible 
  • *#7760# Manufactures code 
  • *#7780# Restore factory settings 
  • *#8110# Software version for the nokia 8110 
  • *#92702689# (to remember *#WAR0ANTY#)    Displays -
     
         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 
    \
  • *#94870345123456789# Deactivate the PWM-Mem 
  • **21*number# Turn on "All Calls" diverting to the phone number entered 
  • **61*number# Turn on "No Reply" diverting to the phone number entered 
  • **67*number# Turn on "On Busy" diverting to the phone number entered 
  • 12345 This is the default security code press and hold # Lets you switch between lines
What do u think of it? Ever used any of these? Or do u know something else?

Tuesday, June 21, 2005

Thursday, June 16, 2005

Aspect Vs. Object-Oriented Programming

Aspect-oriented programming claims to address problems that traditional object-oriented programming doesn't completely or directly solve. http://www.devx.com/Java/Article/28422/1954?pf=true' target='_blank'>Find out how true that claim is with a line-by-line comparison of the two techniques.
http://www.devx.com/Java/Article/28422/1954?pf=true

Wednesday, June 8, 2005

Google AdSense is active

I have just activated Google AdSense on this blog. What u think of the quality of ads being served?

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 :)

A

Popular Posts (Last 30 days)

This is a personal blog and I do not speak for my employer.