deadlock Message Board
[ July Full List | Reply ]

how to pass data to a page containing more than one frames using servlets
From harsha on 19 July '01
dear sir,
i have a servlet which take some inputs like login name and password and this servlet calls servlet which calls two servlets which are frames of the calling servlet. now the data entered in the first as to be passed to the third stage servlet.
the servlet called at first stage after entering the data is as below.

pw.println("<FRAMESET framespacing=\"0\" border=\"false\" frameborder=\"0\" rows=\"5%,95%\">");
pw.println("<frame src=\"http://localhost:8080/servlet/top\" scrolling=\"auto\" name=index marginwidth=\"3\" marginheight=\"3\" scrolling=\"auto\" noresize >");
pw.println("<FRAMESET framespacing=\"0\" border=\"false\" frameborder=\"0\" cols=\"25%,75%\">");
pw.println("<frame src=\"http://localhost:8080/servlet/userutil?name=\""+mail_id+"\" password= \""+password+"\" scrolling=\"auto\" name=index marginwidth=\"3\" marginheight=\"3\" scrolling=\"auto\" noresize >");
pw.println("</frameset></frameset>");


i have to pass the entered data to the servlets which are called for the ftames.

please give me an example.

harsha,
iit kanpur.




Reply to this message

Required Details
Your name:
Subject:

Optional Details
Home page title:
Home page URL:
Email:
(if you'd like to receive automatic replies by email)

Your Message