Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

regarding servlets

 
payalvks sharmadaya
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 198
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64683
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please be sure to take the time to compose descriptive subjects for your posts; read this for more information.

Using a title of "regarding servlets" in a forum completely dedicated to questions on Servlets isn't very helpful.

Please go back and change your post to add a more meaningful subject by clicking the .
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64683
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Please read this for more information.

Please go back and change your post to use only real words by clicking the .

thanks,
bear
JavaRanch sheriff
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic