Hi.
First i will paste all my code here.
DataPage.jsp
DataServlet.java
This two are dependent on each other, wright? I have other
jsp page which is dependent on other
servlet. Code is below
Insert.jsp
Insert.java
Now. The insert.jsp works fine, when I give data and click add button, the database is also updated. Till here its fine
THE PROBLEM:
In DataPage.jsp I am viewing the list sent by the servlet "DataServlet". So if i run the DataPage.jsp directly I get an error at the itterator. However, I accessed the DataServlet from the browser then i get this error "HTTP method GET is not supported by this URL" which i used to not get in the beginning. This started after I added the Insert.jsp and Insert.java files. I am unable to solve it. Someone please point out the problem.
Thanks and regards
Adeeb