This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes OO, Patterns, UML and Refactoring and the fly likes Showing Jsp in a sequence diagram Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "Showing Jsp in a sequence diagram" Watch "Showing Jsp in a sequence diagram" New topic
Author

Showing Jsp in a sequence diagram

jeremy bensly
Greenhorn

Joined: Jan 10, 2013
Posts: 1
hi i am doing a sequence diagram for my system and was wondering how to show a JSP page on it.

my system does all the work in the servlets but then return the results on a jsp page and uses google charts to format it.
am a little bit stuck on how to draw the sequence diagram for it, i did the whole system but for that jsp output page.

i mean i cant instantiate it, nor can i put it in a return message since it has to access the google api . Any ideas?
Junilu Lacar
Bartender

Joined: Feb 26, 2001
Posts: 4456
    
    6

A JSP is simply a servlet that should only be concerned with generating a response, usual an HTML response. So depict it in the UML just like you would depict a servlet that returns a String.


Junilu - [How to Ask Questions] [How to Answer Questions]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Showing Jsp in a sequence diagram