This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have a pretty basic question - is struts a part of Tomcat? Or do I have to download it separately? If it is a separate component, why is it so? Almost everybody uses Struts these days, and both are from Apache. Aren't they better off integrated into Tomcat as one piece?
Actually struts becomes the basis of the evolution of MVC II patterns.It is the seperate framework and hence has nothing to do with the MVC I patterns where JSP,Servlets typically followed.
Coming to the Tomcat,yes it will support the struts provided you install the struts.jar file into your \\src\Tomcat 5.0\server\webapps\admin\WEB-INF\lib\struts.jar.Only then the Tomcat will recognise your sruts file.
Bye any other queries are welcome. Thanks With kind Regds Satheesh.K
they are used for different purposes, in the same field of play however.
Tomcat is used for displaying on the web, as being the container (more or less) in which applications can run. The application can be written with struts, which is the framework that uses follows the MVC pattern.
Both are free to use, and more information can be found on the apache website.
swimming certificate (A & B), shoelaces diploma, and some useless java ones.