This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Controller  RSS feed

 
Venkatesh Manohar
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi i am doing a project in that i need a single servlet to act as controller how to do that.What i want to know is how the servlet can differentiate between different jsp's and html from where the requests
are coming?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65825
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What you seek is the Front Controller pattern.

Perhaps this article will be helpful?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!