This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Struts and the fly likes please help? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "please help?" Watch "please help?" New topic
Author

please help?

samdeep aarzoo
Ranch Hand

Joined: Jun 09, 2005
Posts: 160

Struts provides the controller that will serve as the entry point for all requests into our application


i m a newbie please explain this line
[ September 03, 2005: Message edited by: sandeep mittal ]
David Ulicny
Ranch Hand

Joined: Aug 04, 2004
Posts: 724
Struts defined only one servlet for handling incomming requests, you have to use struts-config.xml file to define the rest of the logic and flow.

You have not to think about forwarding in your code, everything is declaratively done in struts-config.xml.


SCJP<br />SCWCD <br />ICSD(286)<br />MCP 70-216
samdeep aarzoo
Ranch Hand

Joined: Jun 09, 2005
Posts: 160
Originally posted by David Ulicny:
Struts defined only one servlet for handling incomming requests, you have to use struts-config.xml file to define the rest of the logic and flow.

You have not to think about forwarding in your code, everything is declaratively done in struts-config.xml.


so how struts is useful .
in mvc we can have many servlets
and u are saying
Struts defined only one servlet for handling incomming requests
so please tell me how it is useful
i m a newbie
please tell something more
how it is useful
David Ulicny
Ranch Hand

Joined: Aug 04, 2004
Posts: 724
Read about Front Controller pattern, this should help you to understand

http://java.sun.com/j2ee/patterns/FrontController.html
samdeep aarzoo
Ranch Hand

Joined: Jun 09, 2005
Posts: 160
hi david
thanks
u are great
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: please help?