This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes is it Correct if we use struts in order to replace writing servlet code ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "is it Correct if we use struts in order to replace writing servlet code ?" Watch "is it Correct if we use struts in order to replace writing servlet code ?" New topic
Author

is it Correct if we use struts in order to replace writing servlet code ?

Alvin chew
Ranch Hand

Joined: Jan 08, 2004
Posts: 834
hi, good day, the main purpose of using struts framework is it to avoid write servlets code , meaning we use struts to replace servlets, can we say that ? thank you
Jason Menard
Sheriff

Joined: Nov 09, 2000
Posts: 6450
No, the main purpose of Struts is not to avoid writing servlets. The main purpose of Struts is to provide an MVC framework for writing web-based Java applications. So no, we cannot factually say that we use Struts to replace servlets.
 
jQuery in Action, 2nd edition
 
subject: is it Correct if we use struts in order to replace writing servlet code ?
 
Similar Threads
can we use jstl for struts ?
which struts could be used to replace request.setAttribute()?
Servlet/JSP Vs Struts
How to retain the values after page refresh.
sendRedirect