Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jstl and pattern

 
mark smith
Ranch Hand
Posts: 251
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1934
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
mark smith
Ranch Hand
Posts: 251
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic