This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 246
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: 246
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?
 
 
subject: jstl and pattern
 
Similar Threads
how to improve my program code ?
How to get Arraylist in jsp page to render
Prb in compiling the JSP
RegisterOutParameter Problem in java?
Geting an SQL Exception while passing the resultset to a bean