HI all, How will a controller servlet will deside to which servlet or jsp component it has to forward the request at run time in mvc archi. if possible give me some coding for that
You have to tell the controller where to dispatch to. This can be done via requestDispatcher. It can also be done via the web.xml configuration file.
As for validating the request, you can do it on the client side using javaScript, and also do it on the server side. It's a good idea to do it in both layers.
Bosun (SCJP, SCWCD).
So much trouble in the world -- Bob Marley