This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript 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: 66142
141
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!