Hi
I am  a newbie to Servlets.
I have a requirement where I split the browser frame as follows :

String frameStr = "<html><head><title>Template Frame</title></head>" +
                        "<frameset cols=\"20%,80%\">" +
                        "<frame src=""" + "/servlet/MenuBarServlet" + " name=\"sidemenu\">" +
                        "<frame src=""" + "/servlet/MainPageServlet" + " name=\"mainmenu\">" +
                        "</frameset>" +
                        "</html>";


                PrintWriter out = res.getWriter();
                out.println ( frameStr );


I require to fire events from MenuBarServlet to effect MainPageServlet, but the events are effecting the sideMenu only.
Also, I am not able to access "sidemenu"  so that I may target that and attach any other servlet to that as in HTML pages :

<a href=""oranges.htm"" target="mainwindow">Load oranges</a><br>


Any pointers please.
Thanks in advance.
Shantanu.

Reply via email to