hi,
I am writing a servlet which updates multiple database tables at once...
now I have a HTML front end file and a servlet. and I am printing the output about successful and unsuccessful insertion using out.print() where out is a PrintWriter to Response object of servlet
Total business logic is there in the servlet
My questions are
1. Is it possible for me to adopt MVC pattern for this
2. if not How I should organize my code...How to divide and place....
3.Where to keep the output info....
I am writing a servlet which updates multiple database tables at once...
now I have a HTML front end file and a servlet. and I am printing the output about successful and unsuccessful insertion using out.print() where out is a PrintWriter to Response object of servlet
Total business logic is there in the servlet
My questions are
1. Is it possible for me to adopt MVC pattern for this
2. if not How I should organize my code...How to divide and place....
3.Where to keep the output info....