This week's giveaway is in the JDBC forum.
We're giving away four copies of Java Database Connections & Transactions (e-book only) and have Marco Behler on-line!
See this thread for details.
Win a copy of Java Database Connections & Transactions (e-book only) this week in the JDBC forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

return an object from servlet  RSS feed

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I have a problem on understanding the MVC Architecture. I want to implement that inmmy application. As a view I am using jsps and as Model I am going to use java beans and as a controller what have I to use ? Suppose If I use Servlets, how can I get the filled object avaialable for jsp. I think, the problem with me is concept understanding.
Please help me regarding this.

Anil S.
[ May 22, 2002: Message edited by: Anil S ]
[ May 22, 2002: Message edited by: Anil S ]
 
Anil Sadi
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
Can I use DAO design pattern by removing servlets as controllers. Insted of servlets can I replace this with DAOs.
Anil S
 
Ranch Hand
Posts: 321
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Anil,
Can u make ur question more clear, I guess it's not very claer as to what u want to do
 
Anil Sadi
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Rishi Singh,
Thank you for the reply
1. In MVC Architecture, can I use DAOs(DAO Design Pattern) as controllers insted of Servlets ? Is it gives any problem in future ?
2. If I use servlets as controllers in MVC Architecture, How can I get the object(filled with data) for JSP Page ?
I think its clear now

Anil S.
[ May 23, 2002: Message edited by: Anil S ]
 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Anil,
you might want to check out the following post: http://www.coderanch.com/t/354533/Servlets/java/servlet-jsp
hope it helps...
 
Anil Sadi
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Vin Man.
 
Hang a left on main. Then read this tiny ad:
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!