Are you deploying to the root context? Can you access the action directly? (Calling an action "controllerServlet" is *really* misleading, since it's neither the controller, nor a servlet, btw.)
Also, there's no reason to validate against the request parameter directly in validate(); that somewhat defeats the purpose of having the ActionForm. I'd also recommend using the Struts HTML tags to implement the form, but that's a separate issue.
Joined: Mar 06, 2009
thanks david.. this was actually my first trial of implementing a struts example so i was more focused on getting it to work .. thanks for the input though.. i figured out the mistake btw .. i made the blunder of spelling the controller servlet action in the action mapping of struts-config.xml with a capital 'C'