aspose file tools*
The moose likes OO, Patterns, UML and Refactoring and the fly likes jstl and pattern Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "jstl and pattern" Watch "jstl and pattern" New topic
Author

jstl and pattern

mark smith
Ranch Hand

Joined: Apr 05, 2005
Posts: 250
hi

i have some jsp page
a front controler receive request
i have a doa with many function who access db and return list of object....

example CourseDOAHelper.java


i search the good way to acess lstCourse (i want to display every items...)

does i need to create a link directely

jsp ----> CourseDOAHelper.java....

what is the best standard way to do that?

thanks
Kishore Dandu
Ranch Hand

Joined: Jul 10, 2001
Posts: 1934
You would want a intermediary(may be a command or controller as you are thinking) so that you can plug and play with your DAO as needed.


Kishore
SCJP, blog
mark smith
Ranch Hand

Joined: Apr 05, 2005
Posts: 250
Originally posted by Kishore Dandu:
You would want a intermediary(may be a command or controller as you are thinking) so that you can plug and play with your DAO as needed.


i have already a controler...... you said i need to create a controler... this controler will use the DAO and my jsp will use the controler?

have you any example?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jstl and pattern