Getting form field value in a frame

Discussions

Web tier: servlets, JSP, Web frameworks: Getting form field value in a frame

  1. Getting form field value in a frame (2 messages)

    Hi !
    I have a query page (query.jsp) where I have three select field. On selecting the search criteria, I submit the form to the next page(result.jsp). In this page I have two frames with files(left.jsp in left frame and right.jsp in right frame). How to get the field values in these two frames. By submitting the form from query.jsp, it goes to result.jsp, which has just got the "frameset" code with two frames. I guess getting the values is possible in this page by request.getparameter(fieldname). But how to pass it to the two frames.

    Thanx
    AJP
  2. Getting form field value in a frame[ Go to top ]

    u can get it by request.getparameter(frame.parammter)
  3. Getting form field value in a frame[ Go to top ]

    u could do request.getParameter in the frameset jsp and collect these values. then in the frame tag give the following :

    src= "abc.jsp?name=value"

    thus passing these values to the left and right jsp in the query string...