• Post Reply Bookmark Topic Watch Topic
  • New Topic

Request Parameter is Null on iFrame  RSS feed

 
Vasha Daniels
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • 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
 
vishal avad
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!