Hello,
I am developing a small application using
JSP and
Servlets, in which I am trying to implement MVC architecture.
1) In the database(oracle), I have a small table ,
2) In the model class I am trying to retrieve that table using Connection object, and storing the result in a ResultSet.
3) I am using a bean class(which has private variables, that reflect the columns in the database table), to set the values from ResultSet and get that values using setter methods.
4) I am storing the objects of that bean class in an ArrayList and setting that ArrayList object as an attribute on the request object and then "RequestDispatch"ing to a JSP page.
5) In the JSP page, I am trying to print the details from that ArrayList.
All the above mentioned process in working correctly, but what problem I am facing is,
My Home page has part of HTML like this
<html>
<head><title>home page</title></head>
<frameset rows="20%,80%>
<frame src="heading.jsp" name="heading"/>
<frameset cols="20%,80%>
<frame src="mainmenu.jsp" name="mainmenu"/>
<frame src="body.jsp" name="body"/>
</body
</html>