A developer needs to implement complex business logic with minimal HTML. Should they choose Servlet or JSP?

  • Both
  • JSP
  • None of the above
  • Servlet
When implementing complex business logic with minimal HTML, Servlets are more suitable as they provide better control over the business logic, separating it from the presentation layer. JSP is better for the view layer and is commonly used for creating dynamic web pages with embedded Java code.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *