• Post Reply Bookmark Topic Watch Topic
  • New Topic

Sequence Diagram : JSP, Controller

 
Ashish Sarin
author
Ranch Hand
Posts: 444
10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone,

In the Cade's book the Client is shown to be invoking the controller directly but ideally the JSPs should be shown to invoke the controller ?

Any thoughts on this ?

thanks
Ashish
 
Juan Pablo Crossley
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually the user is clicking in a submit button, and usually this is referred to the servlet Controller, so technically the user is calling the controller directly, isn't he?
 
Ashish Sarin
author
Ranch Hand
Posts: 444
10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I agree. But is this the approach we need to follow in the assignment ? I have sequence diagrams which show that JSPs invoke the controller.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!