I realize that I could just use 1 servlet, and have some logic to read the name of the button that was hit. But I'd rather avoid having that extra if...else logic. I don't know the disadv's of this, but I personally prefer
this approach. Not that there is anything wrong with the
javascript approach or anything, I am ignorant on that topic.
After all Servlets are used as Controllers in one of the
famous (MVC)
patterns, right!
Just to throw another spin to the problem can we link the
buttons to different
JSP's maybe. I should think abt it...
regds.
- satya
Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81