Discussions
Web tier: servlets, JSP, Web frameworks: RequestDispatcher..Can we Pass A Database Connection Object
-
RequestDispatcher..Can we Pass A Database Connection Object (2 messages)
- Posted by: Kumaran Naidu
- Posted on: February 13 2007 05:48 EST
Can We Create a ResultSet Object in one servlet and pass it as SSI including it in a request.setAttribute ...to another JSP..,through RequestDispatcher and Utilise it.. I tried it Was ErroneousThreaded Messages (2)
- Re: RequestDispatcher..Can we Pass A Database Connection Object by Adenilton Soares on February 13 2007 11:05 EST
- Thanks for the clarification by Kumaran Naidu on February 14 2007 05:26 EST
-
Re: RequestDispatcher..Can we Pass A Database Connection Object[ Go to top ]
- Posted by: Adenilton Soares
- Posted on: February 13 2007 11:05 EST
- in response to Kumaran Naidu
Hi, First: You shouldn't pass ResultSet Object between Servlet and JSP. I advise you look for about Patterns! DAO and FrontController being more accurate! But,,,,,,Why do you want this ? -
Thanks for the clarification[ Go to top ]
- Posted by: Kumaran Naidu
- Posted on: February 14 2007 05:26 EST
- in response to Adenilton Soares
I just want to know whether any heavy live reference can be passed to any other JSP's or Servlets..like a database Connection or a resultset Object through programmatically inside servlets.Anyway , Patterns Not Make in my Mind at that Moment,i will surely take care of it next time.Thanks 4 the Reply.