aspose file tools*
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
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: is it Correct if we use struts in order to replace writing servlet code ?
 
Similar Threads
which struts could be used to replace request.setAttribute()?
sendRedirect
can we use jstl for struts ?
Servlet/JSP Vs Struts
How to retain the values after page refresh.