Results 1 to 2 of 2
  1. #1
    adammyth is offline Member
    Join Date
    Dec 2009
    Posts
    9
    Rep Power
    0

    Default sendRedirect to a a framed page

    i have a jsp page (page1.jsp) which contains frames (frame1.jsp and frame2.jsp).
    from a servlet when i do response.sendRedirect to the page1.jsp i am also sending some parameters.
    but i am not able to access these parameters in frame jsp pages.

    what can i do to solve this problem?

  2. #2
    serjant's Avatar
    serjant is offline Senior Member
    Join Date
    Jun 2008
    Location
    Ukraine,Zaporozhye
    Posts
    487
    Rep Power
    7

    Default

    each frame should have its own servlet then each of them will have different request attributes
    So if you want to access those attributes from the other frame, better to use session.
    But for better understanding, can you show the sample of the code and better description of the task?

Similar Threads

  1. Replies: 0
    Last Post: 07-21-2009, 10:52 PM
  2. sendredirect not working
    By ranga in forum Java Servlet
    Replies: 0
    Last Post: 02-11-2008, 11:48 AM
  3. response.sendRedirect(url)
    By mutuah in forum Advanced Java
    Replies: 2
    Last Post: 08-07-2007, 02:56 PM
  4. help with response.sendRedirect method
    By katie in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 08-07-2007, 03:22 AM
  5. response.sendRedirect problem
    By christina in forum JavaServer Pages (JSP) and JSTL
    Replies: 2
    Last Post: 08-03-2007, 06:23 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •