The code might help.
However, marking your post as "URGENT" is extremely rude. Suggesting that your problem is more important than anyone elses and more important than anything we, ourselves, might be doing and so we should drop everything we're doing and concentrate on your problem. Well, I'm sorry, but it's not, for us, and marking it as such is only going to cause most people to look away from your problem, rather than help you with it.
masijade
Industrious Poster
4,253 posts since Feb 2006
Reputation Points: 1,471
Solved Threads: 494
Do not use == to compare Strings. Use Strings "equals" method.
if ("2".equals(theparam)) {
The "2" is done first as this will avoid any possible NullPointerException.
masijade
Industrious Poster
4,253 posts since Feb 2006
Reputation Points: 1,471
Solved Threads: 494