Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Best Practice - To use Servlet or go directly to JSP  RSS feed

 
Danny Baquilod
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

If you're coming from JSP with data to edit in a table, which is the best practice to do :

1. Use a servlet to "Set"(using bean) data and open another JSP to display data (using Bean) for editing
2. From JSP send parameter to another JSP and display data for editing.

The reason I ask this question is to know the best practive for MVC.

Thanks in advance for your help.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66142
141
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Submitting to a JSP is a very poor practice.

You might find this article helpful.
 
Danny Baquilod
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear Bibeault wrote:Submitting to a JSP is a very poor practice.

You might find this article helpful.


Thanks. That's the kind if confirmation I want to know from the expert.

Regards,
Danny
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!