i want to make application using only servlets/jsp and not using struts.i want dat in my each application module supose consider dat i have four modules and in my first module i want to make a single servlet dat has some generic code dat can handle different requests for different servlets in an module so dat i need not create servlets for dat
Vinod K Singh
Ranch Hand
Joined: Sep 30, 2008
Posts: 198
posted
0
Probably I am not able to completely decipher your intention. Though it looks to me that you want to minimize the number of servlets in your application. Based on commands (specific parameters in request) you can delegate the functionality to helper classes that way your servlet will be just a router. Like in Struts ActionServlet does the delegation of tasks to Action classes.
Originally posted by payalvks sharmadaya: i want dat in my each application module supose consider dat i have ...
Also, Please use real words when posting to the forums. Abbreviations such as "dat" in place of "that" only serve to make your posts more difficult to read and less likely to generate useful responses.