Add these (bold font) into your code

  <FRAMESET framespacing="0" target="mainmenu" cols="190,*"> +
  "<frame src=" + "/servlet/MenuBarServlet" + "
     name=\"sidemenu\">" +
  "<frame src=" + "/servlet/MainPageServlet" + "
    name=\"mainmenu\">" +
   "</frameset>" +
  "</html>";


Albert Pi
Corp IS System Delivery
516-803-3762


>>> [EMAIL PROTECTED] 09/09/02 10:11AM >>>
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.

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to