wood burning stoves 2.0*
The moose likes Servlets and the fly likes regarding servlets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "regarding servlets" Watch "regarding servlets" New topic
Author

regarding servlets

payalvks sharmadaya
Greenhorn

Joined: Oct 03, 2008
Posts: 1
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
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.


My Blog
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61092
    
  66

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 .


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61092
    
  66

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: regarding servlets