Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

return an object from servlet  RSS feed

 
Anil Sadi
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
 
Rishi Singh
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 ]
 
Vin Man
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!