• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Request Parameter is Null on iFrame

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have yet another iFrame question. I have a jsp (main.jsp) which contains an iFrame with another jsp (display.jsp). In display.jsp I get null when I try to retrieve a parameter sent by main.jsp. Any ideas?
MAIN.JSP

DISPLAY.JSP
 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Vasha
It has to be like that only. Request.getParameter() only works for the page which is written in action of the form.As u r using IFrame that page is a different page u can store the value into session or bean and get it retrieve in the IFrame.
HIH
vishal
 
reply
    Bookmark Topic Watch Topic
  • New Topic