i want to develope a web page with applet & servlet communication.in this page i have one part for getting file from the user(i write for this part one applet) and at the another part of this page i must retreive data from the DB and at the another part i have some links for another pages. i must sending html for this work from servlet to client side:
out.println("<body>");
out.println("<center>");
out.println("<applet code='applet.class' codebase ='.' width ='300' height ='300'/>");out.println("</center>");
out.println("< a href = .....");
.......
out.println("</body>");
or create an html file and embed my applet on this page and write for DB part and Link part two applet and in the webpage open my html file(or servlet must create my page. and if this is correct where must palce my applet class)?